Quantcast
Channel: firefoxbug - 2013年1月
Browsing latest articles
Browse All 6 View Live

crontable shell脚本

crontable 在 shell 脚本中实现echo "*/1 * * * *  /home/test.sh" | crontab -crontable -l就能查看

View Article



Nginx+CI出现404错误

转载请注明住处:http://www.firefoxbug.com/?p=1508对于/index.php/abc这种url,Apache和Lighttpd会按"index.php?abc"来解释,而nginx会认为是请求名 字是“index.php”的目录下的abc文件的内容。所以CI在nginx下不配置rewrite是无法运行的,而在Apache 和Lighttpd则正常。[...]

View Article

Image may be NSFW.
Clik here to view.

OpenCDN安装说明

OpenCDN管控中心安装# wget http://ocdn.me/wp-content/down/ocdn_console_last.tar.gz # tar -zxvf ocdn_console_last.tar.gz # cd ocdn_console # ./install.sh OpenCDN节点端安装# wget...

View Article

puppet推送到客户端

iptables puppet客户端iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 8319 -j ACCEPTpuppet服务端iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 8140 -j ACCEPTpuppet服务端推送 puppet...

View Article

puppet安装和使用

...

View Article


phpmyadmin error #2002 cannot login to the mysql server

将 phpmyadmin 下的 config.inc.php$cfg['Servers'][$i]['host'] = 'localhost';改成$cfg['Servers'][$i]['host'] = '127.0.0.1';修改之后会出现连接数据库密码错误修改 wp-config.php/** MySQL 主机 */ define('DB_HOST','localhost');改成/**...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images