摘要:
server: 环境:rhel7.2 软件包:targetcli-2.1.fb41-3.el7.noarch,selinux-policy-targeted-3.13.1-60.el7.noarch 1.yum install -y targetd tagetcli 2.systemctl enab 阅读全文
摘要:
在/root/.bashrc 中插入一条: stty erase ^H 阅读全文
摘要:
iptables 1.iptables 表 (1)介绍常用表 filtert(过滤器) 链 ↓ INPUT chain:控制进入主机的数据包 OUTPUT chain:控制向外发出的数据包 FORWARD chain :转发数据包 NAT(地址转换) 链 ↓ PREROUTING链 :数据包到达防火 阅读全文
摘要:
实验环境:RHEL7 安装方式:yum 配置lnmp 1.安装lnmp yum install -y php-mysql mariadb mariadb-server php-fpm php* 2.配置防火墙:firewall-cmd --permanent --add-service=http & 阅读全文
摘要:
环境: ↗ atl.example.com (192.168.1.101) ↗ www.example.com (192.168.1.101) ↗system1.example.com (192.168.1.101) centos7 (192.168.1.109) dns 服务器 →system2. 阅读全文
摘要:
1.安装mariadb ①yum install -y mariadb mariadb-server 或者 yum groupinstall -y mariadb 2.备份和还原数据库 ①备份:mysqldump --user=root --password --result-file=/备份的路径 阅读全文
摘要:
1.:安装与初始化 1)安装 yum install -y mariadb\* 2)初始化 systemctl restart mariadb systemctl enable mariadb mysql_secure_installation 查看数据库版本:select 'version' ; 阅读全文
摘要:
请把系统上拥有者为ira用户的所有文件,并将其拷贝到/root/findfiles目录中 find /home/ira/ -user ira -exec cp -a {} /root/findfiles/ \; 阅读全文
摘要:
这里只演示使用keytab,也就是客户端与服务端进行keberos进行安全验证连接(注意时间服务器要同步!如果不同步,Kerberos无法通过验证) server端:192.168.1.109 1.yum install -y nfs-utils 2.systemctl enable nfs-ser 阅读全文
摘要:
将本地邮件服务器配置充当为控客户端,已将所有邮件都转发到中央服务器以进行发送 1.postconf -e "relayhost=[mail.example.com]" 邮件被路由到的服务器。2.postconf -e "inet_interfaces=loopback-omly" 邮件服务器只侦听回 阅读全文
摘要:
server端 1.安装samba:yum install -y samba\* 增加samba用户: useradd smb用户名 smbpasswd -a smb用户名 2.配置文件:vim /etc/samba/smb.com workgroup = 工作组名 server string = 阅读全文