摘要: 一、安装vsftpd 1、安装vsftpd: yum install vsftpd -y 2、启动vsftpd: systemctl start vsftpd 3、设置开机启动:systemctl enable vsftpd 4、创建ftp根目录: mkdir -p /ftpserver 二、设置配 阅读全文
posted @ 2017-03-18 17:32 jefflee168 阅读(33050) 评论(0) 推荐(1) 编辑
摘要: 1、输入en,然后输入密码确认后按conf t2、Router(config)# vpdn enable interface dialer 1 // 进入拨号器13、Router(config-if)# encapsulation ppp // 封装ppp协议 ip add negotiated / 阅读全文
posted @ 2017-03-12 02:10 jefflee168 阅读(1966) 评论(0) 推荐(0) 编辑
摘要: 一、安装VNC : yum install tigervnc tigervnc-server -y 二、启动vnc并设置密码: vncserver :1 三、将服务添加到防火墙: firewall-cmd --permanent --add-service=vnc-server ,重新加载防火墙: 阅读全文
posted @ 2017-02-17 23:12 jefflee168 阅读(806) 评论(0) 推荐(0) 编辑
摘要: 一、安装 GNOME 桌面 1、安装命令: yum groupinstall "GNOME Desktop" -y // CentOS6 的安装命令为 :yum groupinstall "X Window System" "Desktop Platform" Desktop 2、安装后,重启系统会 阅读全文
posted @ 2017-02-17 21:13 jefflee168 阅读(13094) 评论(0) 推荐(0) 编辑
摘要: 一、安装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 阅读(7142) 评论(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 阅读(8658) 评论(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 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 一、正常连接方法:ssh root@10.0.0.20 二、无密码连接方法(有两台机器:此处我把被连接的称为服务器,另一台则称为客户端): 1、先在服务器添加目录 .ssh: mkdir .ssh 2、分配.ssh目录权限: chmod 777 .ssh 3、在客户端创建公钥与私钥: ssh-key 阅读全文
posted @ 2017-02-13 18:33 jefflee168 阅读(3131) 评论(0) 推荐(0) 编辑
摘要: 1、停止mariadb服务: systemctl stop mariadb 2、进入单用户模式: mysqld_safe --skip-grant-tables & 3、切换到另外一个工作组并用root登录,切换快捷键组合 : Ctrl+Alt+F2 // 以下所有操作均在此环境上进行 4、登录ma 阅读全文
posted @ 2017-01-13 17:26 jefflee168 阅读(439) 评论(0) 推荐(0) 编辑