摘要: tomcat localhost_access_log.2018-09-19.txt日志文件 访问IP统计 172.16.8.11 - - [19/Sep/2018:12:35:21 +0800] "GET /console/stat/onlineVisitorRefresh HTTP/1.1" 2 阅读全文
posted @ 2018-11-08 19:32 henrylinux 阅读(1765) 评论(0) 推荐(0) 编辑
摘要: 查看数据库列表:SHOW DATABASES;创建数据库:CREATE DATEBASE 库名;切换到数据库:USE 库名; 查看表列表:SHOW TABLES;创建表:CREATE TABLE 表名(列1 属性,列2 属性, 列3 属性);查看表:DESC 表名;重命名表:ALTER TABLE 阅读全文
posted @ 2018-11-08 19:24 henrylinux 阅读(230) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh echo " start install nginx " yum install -y gcc-c++ zlib zlib-devel openssl openssl--devel pcre pcre-devel if [ 'grep "nginx" /etc/passwd | 阅读全文
posted @ 2018-11-08 19:17 henrylinux 阅读(722) 评论(0) 推荐(0) 编辑
摘要: #!/bin/shif [ -s /etc/my.cnf ];thenrm -rf /etc/my.cnffi echo " start install mysql "yum install -y ncurses gcc gcc-c++ ncurses ncurses-devel openssl o 阅读全文
posted @ 2018-11-08 19:17 henrylinux 阅读(1965) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh echo " start install nginx " yum install -y gcc-c++ zlib zlib-devel openssl openssl--devel pcre pcre-devel if [ 'grep "nginx" /etc/passwd | 阅读全文
posted @ 2018-11-08 19:15 henrylinux 阅读(3905) 评论(0) 推荐(0) 编辑