上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: scott用户下:SQL> select * from tab;TNAME TABTYPE CLUSTERID------------------------------ ------- ----------BONUS ... 阅读全文
posted @ 2017-03-25 11:51 aallennty 阅读(161) 评论(0) 推荐(0)
摘要: mysql二进制 包 安装[root@tyrr src]# useradd -s /sbin/nologin -M mysql[root@tyrr src]# id mysqluid=500(mysql) gid=500(mysql) 组=500(mysql)[root@tyr... 阅读全文
posted @ 2017-03-25 11:51 aallennty 阅读(116) 评论(0) 推荐(0)
摘要: 配置虚拟主机安装discuz[root@tyrr www]# cd[root@tyrr ~]# mkdir -p /data/www[root@tyrr ~]# cd /data/www/[root@tyrr www]# unzip Discuz_X3.2_SC_GBK.zip... 阅读全文
posted @ 2017-03-25 11:51 aallennty 阅读(315) 评论(0) 推荐(0)
摘要: apache日志切割apache日志格式配置文件中的设置vim /usr/local/apache2/conf/httpd.conf # # The following directives define some format nicknames for use... 阅读全文
posted @ 2017-03-25 11:51 aallennty 阅读(104) 评论(0) 推荐(0)
摘要: 访问控制[root@tyrr apache2]# vim conf/extra/httpd-vhosts.conf ... AllowOverride None Options None Order allow,deny ... 阅读全文
posted @ 2017-03-25 11:51 aallennty 阅读(252) 评论(0) 推荐(0)
摘要: 要求:将该文件中的域名截取出来,统计重复域名出现的次数,然后按次数进行降序排列[root@tyzZ SHELL]# cat file http://www.linuxidc.com/index.htmlhttp://www.google.com/index.htmlhttp:/... 阅读全文
posted @ 2017-03-25 11:50 aallennty 阅读(108) 评论(0) 推荐(0)
摘要: psutil 模块常用函数学习返回当前CPU利用率的百分比In [4]: import psutilIn [5]: psutil.cpu_percent()Out[5]: 0.9 #返回当前CPU利用率的百分比-------获得逻辑(物理)CPU的个数In [6]: psuti... 阅读全文
posted @ 2017-03-25 11:50 aallennty 阅读(105) 评论(0) 推荐(0)
摘要: 启动级别0 关机1 单用户2 多用户模式但带网络但不能远程登录3 不受限多用户模式 TUI4 保留5 图形模式6 重新启动查看启动级别 [root@tyzz ~]# runlevel N 5N是上次的级别,3是当前级别 也就是说机器开机就是3级别切换级别init 3 ... 阅读全文
posted @ 2017-03-25 11:50 aallennty 阅读(106) 评论(0) 推荐(0)
摘要: 单用户模式1 reboot机器clipboard1.png2 按e 编辑 进入下图clipboard2.png3 选择 第二个 按e 再编辑 再最后 加一个 1 或者 s 重新返回 初始界面clipboard3.pngclipboard2.png按 b 启动 即可进入单用户模式... 阅读全文
posted @ 2017-03-25 11:50 aallennty 阅读(188) 评论(0) 推荐(0)
摘要: [root@tyzz ~]# whoami #查看当前用户root[root@tyzz ~]# id #查看当前用户 uid gif groupsuid=0(root) gid=0(root) groups=0(root)[root@tyzz ~]# echo $HOME... 阅读全文
posted @ 2017-03-25 11:50 aallennty 阅读(148) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 9 下一页