常用操作

来源:互联网 发布:第三方软件 日语 编辑:程序博客网 时间:2024/05/13 10:01


      ubuntu中的apache2已经装配置文件分散到了多个文件内。

      例如:主目录定义在etc/apache2/sites-enabled/000-default文件内,一般是/var/www/

            虚拟别名定义在/etc/apache2/mods-enabled/alias.conf文件内

            端口定义在文件/etc/apache2/ports.conf

 

停止apache2服务:         sudo /etc/init.d/apache2 stop

启动apache2服务:         sudo /etc/init.d/apache2 start

重新启动apache2服务:   sudo /etc/init.d/apache2 restart

 

zip -r gamexxxx.zip game

unzip game.zip -d game

 

原创粉丝点击