摘要: 这里说明,Ubuntu中系统没有了RH系统中的chkconfig命令 !功能较全的工具:sysv-rc-conf#sudo apt-get update#sudo apt-get install sysv-rc-conf运行(只能在终端运行,不能在运程):#sudo sysv-rc-conf也可以直接加入启动程序,例如把 /etc/init.d/red5 加入到系统自动启动列表中:#sudo sysv-rc-conf red5 on其他使用方法见: google::Ubuntu::sysv-rc-conf 命令用法也可以直接修改直接改 /etc/rc0.d ~ /etc/rc6.d 和 /et 阅读全文
posted @ 2013-03-30 21:02 不负韶华668 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 1.查找进程信息:netstat -tap | grep mysqlps -le或-aux|grep mysql(可以知道父进程id跟子进程id)ps -l或-u:表示隶属自己的进程的详细信息ps -uU zrp:查看指定用户zrp执行的进程信息杀死进程:kill -9 进程号(强制关闭) kill -1 进程号(重启)根据进程名关闭进程:killall httpd pkill 进程名(如ssh)查找进程号:pgrep 进程名2.让进程在后台执行&:如:find / -name mysql > /test/find.txt &(前提是要有这个文件);3.nohup:使.. 阅读全文
posted @ 2013-03-30 14:27 不负韶华668 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 一、安装 1. 首先安装SSH sudo apt-get install openssh-server 2.安装MySQL sudo apt-get install mysql-server-5.5 3.安装Apache sudo apt-get install apache2 4.安装PHP sudo apt-get install php5 libapache2-mod-php5 5.重启Apache sudo /etc/init.d/apache2 restart 6.安装phpMyAdmin sudo apt-get install phpmyadmin 另一种方法:安装LAMP 在. 阅读全文
posted @ 2013-03-30 14:25 不负韶华668 阅读(220) 评论(0) 推荐(0) 编辑