zoukankan      html  css  js  c++  java
  • linux服务器命令

    清除屏幕数据:ctrl + l  ;快速查找某个文件: find / -name 'httpd.conf'   (或php.ini)

    重启Apache :   service httpd restart 

          或   /usr/sbin/apachectl restart

          或  /etc/init.d/apache2 restart

          或  /etc/rc.d/init.d/httpd restart

          或  httpd -k restart 

    启动|重启Mysql : service mysqld start | restart

    项目错误时在apache端的日志目录:/etc/httpd/logs 

    Apache 配置文件:

    #微信测试项目
    <VirtualHost *:80>
            DocumentRoot /projects/php/WeiXin/www/
            ServerName wx.hbape.com
            <Directory /projects/php/WeiXin/www/>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride All
                    Order allow,deny
                    allow from all
            </Directory>
            ErrorLog logs/wx.hbape.com.error.log
            TransferLog logs/wx.hbape.com.access.log
    </VirtualHost>

  • 相关阅读:
    鼠标拖动DIV移动
    JS中事件&对象
    响应式与弹性布局
    JS中的变量和输入输出
    JS中的运算符&JS中的分支结构
    HTML基本标签
    CSS基础语法
    JS中循环结构&函数
    String 二
    StringBuffer
  • 原文地址:https://www.cnblogs.com/andydao/p/3341079.html
Copyright © 2011-2022 走看看