代理服务器概述:基本概念?proxy:代理人、经纪人、中介??? 代替用户处理事务?--能提供正常情况下不便或无法访问的资源?应用场景:? ? ? --web访问加速(正/反向)? ? ? --IP伪装、“×××”?Squid服务器???&n
分类:
其他好文 时间:
2018-01-14 15:15:24
阅读次数:
161
01 NIS-server 1.准备工作vim /etc/hosts172.25.0.101 storage-1.example.com172.25.0.100 storage-2.example.com useradd nis-user1useradd nis-user2passwd nis-us ...
分类:
其他好文 时间:
2018-01-13 18:43:14
阅读次数:
172
centos 7 下裸奔mysql # vim /etc/my.cnf在[mysqld]的段中加上一句:skip-grant-tables例如:[mysqld]datadir=/var/lib/mysqlsocket=/var/lib/mysql/mysql.sockskip-grant-table ...
分类:
数据库 时间:
2018-01-13 15:37:55
阅读次数:
191
环境:两台Linux服务器主服务器IP地址:192.168.80.10从服务器IP地址:192.168.80.20第一步:主服务器配置[root@localhost~]#yuminstallbind//安装DNS服务[root@localhost~]#systemctlstopfirewalld//关闭防火墙[root@localhost~]#setenforce0//关闭selinux-----
分类:
系统相关 时间:
2018-01-12 17:00:25
阅读次数:
233
Centos升级到7之后,内置的防火墙已经从iptables变成了firewalld。所以,端口的开启还是要从两种情况来说明的,即iptables和firewalld。更多关于CentOs防火墙的最新内容,请参考Redhat官网。 一、iptables 1.打开/关闭/重启防火墙 2.查看打开的端口 ...
分类:
其他好文 时间:
2018-01-10 21:39:40
阅读次数:
197
1、都使用systemctl stop firewalld 关闭防火墙2、使用 yum install iptables-services 安装或更新服务3、使用systemctl enable iptables 启动iptables 4、systemctl start iptables 打开ipt ...
分类:
其他好文 时间:
2018-01-07 16:03:42
阅读次数:
170
在Linux登录到MySQL数据:mysql -uroot -p 输入密码 切换到mysql数据库 mysql>use mysql 输入grant all privileges on *.* to root@"%" identified by "密码"; mysql> grant all privi ...
分类:
数据库 时间:
2018-01-06 14:31:17
阅读次数:
166
安装apache 1.安装yum -y install httpd 2.设置apache服务开机启动systemctl enable httpd.service 3.开启apache服务systemctl start httpd.service 使用公网访问能看到apache就说明安装成功;如果未成 ...
分类:
其他好文 时间:
2018-01-03 20:59:40
阅读次数:
142