linux常用命令,在此汇总一下,免得每次都要满世界找

linux常用命令,在此汇总一下,免得每次都要满世界找。不得不说,上学的时候没有养成做笔记的习惯,导致现在是学习个什么东西各种不适应。废话不说,上命令:

nginx:

/etc/init.d/nginx start/stop/restart/reload)

apache:

/etc/init.d/httpd start/stop/restart/...

mysql:

/etc/init.d/mysqld  start/stop/restart/...

php-fpm:

/etc/init.d/php-fpm  start/stop/restart/...

ftp:

/etc/init.d/vsftpd  start/stop/restart/...

比如启动nginx:

/etc/init.d/nginx start

给一个目录以及目录下所有文件777权限:

chmod –R 777 目录路径

这里就不贴图了。麻烦。

标签: 
分类: 
posted @ 2014-06-14 23:08  eternityspring  阅读(105)  评论(0编辑  收藏  举报