摘要:
引言:Apache默认的网站目录是在/var/www/html,我们现在要把网站目录更改到/home/wwwroot/web,操作如下准备工作:创建目录:cd /homemkdir wwwrootcd wwwrootmkdir webtouch index.php操作步骤:1、vi /etc/htt... 阅读全文
摘要:
默认网站根目录为/usr/local/nginx/html,要将它改成/homw/wwwvi /usr/local/nginx/conf/nginx.conf将其中的location / {root html;index index.php index.html index.htm;}改为locat... 阅读全文
摘要:
有时候为了方便管理,我们常常喜欢在Linux中将之安装为服务,然后就可以使用服务来管理。但是当我们运行安装服务的命令时候,假设服务名为myservice#chkconfig --add myservice常常会出现service myservice does not support chkconfi... 阅读全文