nginx访问ci框架出现Access denied. nginx访问ci框架出现Access denied. Lepus(天兔)web管理台nginx重写 server { listen 80; server_name lepus.example.com; ...
yii2控制器中跳转带提示语 程序积累
控制器中 <?php use yii\helpers\Url; public function actionDelete($id) { $model = new LiveUser; $params = array(); $params ...
linux ip命令详解 服务器笔记
ip命令详解 1.关于接口设备的相关设置 ip link ,与OSI七层协议的第二层数据链路层有关 ip link show //单纯的查看该设备的相关信息 ip link set 选项与参数 show:仅显示出这个设备的相关属性,-s会显示更多统计数据 set:可以设置项目,device指的是eth0、eth1...
linux route命令详解 服务器笔记
route命令详解 route route add netmask route del netmask 查看的参数 -n:不要使用通信协议或主机名,直接使用IP或port number -ee:显示更详细的信息 增加add与删除del路由的相关参数 -net:表示后面接的路由为一个网络 -host:表...
私房菜服务器架设篇之连接internet读书笔记 服务器笔记
1.观察内核所捕捉到的网卡信息 dmesg |grep -in eth 查看相关的设备芯片数据 lspci |grep -i ethernet 2.观察网卡的模块 lsmod |grep 1000 modinfo e1000 3.编译网卡驱动程序 a.下载驱动程序 b.解压与编译 tar -zxvf e1000.tar...
今天在用yii2发送邮件的时候提示 Connection could not be established with host smtp.exmail.qq.com openssl没啥问题,函数权限也有打开了 折腾半天后终于找到解决办法 出问题之前的代码 /common/config/main-local.php中m...
composer安装 服务器笔记
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('SHA384', 'composer-setup.php') === 'e115a8dc7871...
brew link openssl 服务器笔记
brew unlink openssl --force && brew link openssl --force
mac环境下,我使用brew安装mysql,过程中,我终止安装,当在安装的时候出现Error: Operation already in progress for mysql 解决办法 执行jobs命令,查看后台运行的任务,执行kill %你的任务序号,如果 kill %2
phpize版本问题 服务器笔记
我的php环境是5.5,升级5.6之后,编译扩展的时候 最后执行make install 后,扩展安装到了5.5下面 最后解决办法 /usr/local/bin/phpize --clean //我的phpize的路径,最好在执行./configure --with-php-config=/usr/local/bin...