Goodspeed

导航

03 2010 档案

远程链接mysql
摘要:1、创建一个新用户GRANT ALL on *.* to 'username' identified by "xuys1234";2 修改配置sudo vim /etc/mysql/my.cnfbind-address = 127.0.0.1 这一行要注释3 重启mysqlsudo /etc/init.d/mysql restart如果需要改密码,通过下面的语句UPDATE user SET pa... 阅读全文

posted @ 2010-03-29 13:26 Goodspeed 阅读(196) 评论(0) 推荐(0) 编辑

ubuntu9.10下配置需要用户名及密码的上网代理(squid)
摘要:1 安装squidsudo apt-get install squid2 安装 htpasswd (如果装了apache就省掉这一步)(这个是用来产生密码的) sudo apt-get install apache2-utils也可以sudo apt-get install mini-httpd3 生成密码文件htpasswd -c /etc/squid/passwd user1会让你输入user... 阅读全文

posted @ 2010-03-28 19:16 Goodspeed 阅读(1855) 评论(0) 推荐(0) 编辑

Ubuntu9.10下Nginx+PHP(Fastcgi) 安装过程
摘要:1 安装Nginxsudo apt-get install nginx2 安装phpsudo apt-get install php5-cgi3 安装spawn-fcgi(网上很多文章说要装lighttpd,然后在启动中关闭掉。其实是不需要的) sudo apt-get install spawn-fcgi4启动fastcgi进程/usr/bin/spawn-fcgi.standalone -a... 阅读全文

posted @ 2010-03-27 22:12 Goodspeed 阅读(1354) 评论(0) 推荐(0) 编辑