摘要:
1.首先确认服务器出于安全的状态,也就是没有人能够任意地连接MySQL数据库。因为在重新设置MySQL的root密码的期间,MySQL数据库完全出于没有密码保护的状态下,其他的用户也可以任意地登录和修改MySQL的信息。可以采用将MySQL对外的端口封闭,并且停止Apache以及所有的用户进程的方法 阅读全文
posted @ 2017-03-25 11:51
aallennty
阅读(109)
评论(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
阅读(255)
评论(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)
摘要:
配置虚拟主机安装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
阅读(316)
评论(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
阅读(117)
评论(0)
推荐(0)
摘要:
rsync远程下拉:[root@tyzz ~]# rsync -avPz -e "ssh -p 22" 192.168.74.129:/tmp/111 /mnt/111/The authenticity of host '192.168.74.129 (192.168.74.1... 阅读全文
posted @ 2017-03-25 11:51
aallennty
阅读(103)
评论(0)
推荐(0)
摘要:
查看定时任务[root@tyzz ~]# crontab -l#secu-tcs-agent monitor, install at Tue Feb 14 11:57:11 CST 2017* * * * * /usr/local/sa/agent/secu-tcs-agent... 阅读全文
posted @ 2017-03-25 11:51
aallennty
阅读(161)
评论(0)
推荐(0)
摘要:
iptables的三张表[root@tyzz ~]# iptables -t filter mangle nat导入导出配置文件[root@tyzz ~]# iptables-save >1.ipt[root@tyzz ~]# cat 1.ipt # Gene... 阅读全文
posted @ 2017-03-25 11:51
aallennty
阅读(82)
评论(0)
推荐(0)
摘要:
[root@tyzz ~]# w 23:13:58 up 11 days, 9:15, 1 user, load average: 0.00, 0.01, 0.05USER TTY LOGIN@ IDLE JCPU PCPU WHATro... 阅读全文
posted @ 2017-03-25 11:51
aallennty
阅读(313)
评论(0)
推荐(0)
摘要:
[root@tyzz ~]# w 23:13:58 up 11 days, 9:15, 1 user, load average: 0.00, 0.01, 0.05USER TTY LOGIN@ IDLE JCPU PCPU WHATro... 阅读全文
posted @ 2017-03-25 11:51
aallennty
阅读(208)
评论(0)
推荐(0)

浙公网安备 33010602011771号