摘要: 一、安装mariadb : yum groupinstall mariadb mariadb-client -y 二、启动(设置开机启动)服务 : systemctl start (enable) mariadb 三、设置只允许本地访问, 在 /etc/my.cnf 里添加内容: skip-netw 阅读全文
posted @ 2017-02-15 23:41 jefflee168 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 一、服务器配置 1、安装配置软件: yum install targetcli -y 2、进入配置界面: targetcli ,并进行如下配置: 1) /backstores/block create disk1 /dev/sdb1 2) /iscsi create iqn.2017-02.com. 阅读全文
posted @ 2017-02-15 23:22 jefflee168 阅读(7146) 评论(1) 推荐(0) 编辑
摘要: 一、http单域名访问 1、安装软件: yum -y install httpd 2、启动服务:systemctl start httpd 3、设置开机启动: systemctl enable httpd 4、创建index.html : touch /var/www/html/index.html 阅读全文
posted @ 2017-02-15 21:49 jefflee168 阅读(8672) 评论(0) 推荐(0) 编辑
摘要: 一、在服务器端上安装软件并进行相关配置(以下操作需用用户root进行): 1、安装samba: yum -y install samba samba-client 2、启动服务并设置开机启动: systemctl start smb , systemctl enable smb 3、创建共享文件 : 阅读全文
posted @ 2017-02-15 11:46 jefflee168 阅读(329) 评论(0) 推荐(0) 编辑