其实之前配过一个squid,只是由于太懒,网上随便搜了一个教程,用了默认端口并且没有添加用户认证。某天不幸的被爬虫扫到,被用来发了半个月的垃圾邮件。。直到有一天登录邮箱,看到了一大坨警告邮件,才意识到问题的严重。惊了个呆之后,赶紧重配一遍-.-我这里是用squid配置了一个带用户认证的普通代理。安装...
分类:
其他好文 时间:
2015-08-10 19:55:04
阅读次数:
202
LNMP编译安装
# 需先配置IP
# 软件包的路径 /usr/local/src
yum install -y libjpeg-devel libpng-devel freetype-devel curl-devel python-devel curl-devel gcc gcc-c++ bison-devel ncurses-devel lrzsz openssl-devel ...
分类:
数据库 时间:
2015-08-10 12:08:18
阅读次数:
294
实验环境:centos7.1vmwareworksation11实验设备:kick.test.com服务端(kickstart+dhcp+dns+vsftp+tftp)client客户端(1G内存)注意内存最小1G,否则回报outofmemory的错误。所需服务:1.DHCP2.tftp-server2.VSFTP3.DNS所需文件:1.vmlinuz2.initrd3.ks.cfgkickstart应答文件4..
分类:
系统相关 时间:
2015-08-10 02:07:15
阅读次数:
206
linux系统CentOS7到http://mirrors.sohu.com/mysql/下载想要的mysql版本这里用到的是mysql-5.6.26-linux-glibc2.5-x86_64.tar.gz用 WinSCP上传到指定的目录下,这里是/usr/local/src/usr/local/...
分类:
数据库 时间:
2015-08-09 22:16:33
阅读次数:
295
本人原有一win7的系统,出于学习linux的需要所以在现有的win7系统上安装 centos7.看了许多的教程,尝试了好几次都没有成功,但是得到了很多启发和帮助。
在CentOS7 ip命令代替ifconfig命令Linux配置网络,mac一定要和本机是对的,一定不能少yum install nginx php55u php55u-fpm mysql56u mysql56u-server这是mysql community社区版的repo源sudo yum -y...
分类:
其他好文 时间:
2015-08-07 18:57:07
阅读次数:
231
直接命令:service firewalld stop ? 1. Disable Firewalld Service. [root-centos7-tejas-barot-linux?~] 2. Stop Firewalld Service. [root-centos7-tejas-barot-linux?~] 3. Install iptables service rela...
分类:
其他好文 时间:
2015-08-07 16:42:49
阅读次数:
337
一、配置防火墙,开启80端口、3306端口CentOS7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。1、关闭firewall:
systemctlstopfirewalld.service#停止firewall
systemctldisablefirewalld.service#禁止firewall开机启动
2、安装iptables防火墙
yuminstalliptabl..
分类:
数据库 时间:
2015-08-07 16:26:57
阅读次数:
413
一、先查看当前版本[root@localhost~]#uname-r3.10.0-229.el7.x86_64二、导入KEY[root@localhost~]#keyrpm--importhttps://www.elrepo.org/RPM-GPG-KEY-elrepo.org三、安装elrepo的yum源[root@localhost~]#rpm-Uvhhttp://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarc..
分类:
其他好文 时间:
2015-08-07 16:19:43
阅读次数:
174
systemctl命令是系统服务管理器指令,它实际上将service和chkconfig这两个命令组合到一起。任务旧指令新指令使某服务自动启动chkconfig--level3httpdonsystemctlenablehttpd.service使某服务不自动启动chkconfig--level3httpdoffsystemctldisablehttpd.service检查服务状态serv..
分类:
其他好文 时间:
2015-08-07 11:29:58
阅读次数:
146