centos linux FTP Apache 操作命令

来源:互联网 发布:网络爬虫有什么用 编辑:程序博客网 时间:2024/06/05 02:18

ftp 创建用户及目录

useradd -G ftp -d / 目录名  -M 用户名

passwd 用户名

 

开启ftp

service vsftp start

service vsftp stop

 

开启apache

 

/etc/init.d/httpd start

/etc/init.d/httpd restart

 

查找php.ini

 

find|grep php.ini

 

php.ini 位置 /etc/php.ini 



grant select,update on mall.* to 'dai'@'192.168.1.158'  identified by 'root'

原创粉丝点击