随笔分类 -  Linux

摘要:MySQL 的“root”用户默认状态是没有密码的,所以在 PHP 中您可以使用 mysql_connect("localhost","root","") 来连接MySQL 服务器;如果您想为 MySQL 中的“root”用户设置密码,请在控制台中使用“mysqladmin”命令。例如:在windows版本的xampp下:...\xampp\mysql\bin\mysqladmin -u root -p password运行后会提示输入旧密码,如果正确,则会立即修改新输入的密码linux版本的xampp是如下命令:/opt/lampp 阅读全文
posted @ 2014-02-24 14:03 静静地守护那美好 阅读(294) 评论(0) 推荐(0)
摘要:#/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT#/sbin/iptables -I INPUT -p tcp --dport 22 -j ACCEPT#/etc/rc.d/init.d/iptables sav#/etc/init.d/iptables restart#/etc/init.d/iptables status#/etc/init.d/iptables stop 阅读全文
posted @ 2013-12-13 13:03 静静地守护那美好 阅读(131) 评论(0) 推荐(0)
摘要:Ubuntu 安装XAMPP集成环境软件包 与 运行WordPress 的简单方法 阅读全文
posted @ 2012-05-20 01:04 静静地守护那美好 阅读(2500) 评论(1) 推荐(1)
摘要:Linux 流量监控软件 NetHogs 阅读全文
posted @ 2012-05-20 00:30 静静地守护那美好 阅读(220) 评论(0) 推荐(0)
摘要:Ubuntu 12.04 lts / Win7双系统安装方法 阅读全文
posted @ 2012-05-17 19:55 静静地守护那美好 阅读(3987) 评论(0) 推荐(0)
摘要:Lamp环境搭建 阅读全文
posted @ 2012-05-16 15:02 静静地守护那美好 阅读(428) 评论(0) 推荐(0)
摘要:Windows与Linux文件传输软件 SSHSecureShellClient 阅读全文
posted @ 2012-05-15 11:40 静静地守护那美好 阅读(6995) 评论(1) 推荐(0)