随笔分类 -  LINUX WEB 管理

摘要:add-apt-repository ppa:ondrej/php5-5.6 apt-get update apt-get install php5 为了使用 add-apt-repsitory 需要 安装 python-software-properties apt-get install pyt 阅读全文
posted @ 2016-07-03 17:44 lanhuan 阅读(4203) 评论(0) 推荐(0)
摘要:安装cmd提示不支持GD模块,不能使用缩略图功能,需要安装php-gd1.安装 php-gd yum list php-gd yum install php-gd2.重启 httpd service httpd restart 阅读全文
posted @ 2015-06-11 13:05 lanhuan 阅读(458) 评论(0) 推荐(0)
摘要:1.yum安装 vsftp yum list vsftpd yum install vsftpd2.配置 vsftp 将root注释掉 vi /etc/vsftpd/ftpusers 将root注释掉 vi /etc/vsftpd/user_list3.添加防火墙端口 vi /etc/... 阅读全文
posted @ 2015-06-10 18:14 lanhuan 阅读(159) 评论(0) 推荐(0)
摘要:setenforce 0 ##设置SELinux 成为permissive模式 ##setenforce 1 设置SELinux 成为enforcing模式 阅读全文
posted @ 2015-06-09 11:30 lanhuan 阅读(299) 评论(0) 推荐(0)
摘要:1.查找 httpd.conf 文件 find / -name "httpd.conf"2.编辑 httpd.conf 文件 vi /etc/httpd/conf/httpd.conf3.section 3 增加虚拟机配置模块 #--beginbylanhuan-- NameVirtualH... 阅读全文
posted @ 2015-06-09 10:10 lanhuan 阅读(253) 评论(0) 推荐(0)
摘要:1.打开iptablesvi /etc/sysconfig/iptables2.增加一行-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT3.重启防火墙service iptables restart 阅读全文
posted @ 2015-06-08 16:30 lanhuan 阅读(373) 评论(0) 推荐(0)
摘要:1.安装mysql客户端yum install mysql2.安装mysql 服务器端yum install mysql-server3.配置 mysql字符集/etc/my.cnf 加入 default-character-set=utf84.启动service mysqld start5.创建r... 阅读全文
posted @ 2015-06-08 15:40 lanhuan 阅读(148) 评论(0) 推荐(0)
摘要:1.yum安装php yum install php2.配置 apache 支持 php a.找到httpd.conf find / -name httpd.conf b.编辑 httpd.conf vi httpd.conf c.找到 AddType application/x-gzip ... 阅读全文
posted @ 2015-06-08 15:12 lanhuan 阅读(169) 评论(0) 推荐(0)
摘要:1.安装ntfs-3gwget https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2015.3.14.tgz --no-check-certificatetar zxvf ntfs-3g_ntfsprogs-2015.3.14.tgzcd ntfs-3g... 阅读全文
posted @ 2015-06-08 10:01 lanhuan 阅读(344) 评论(0) 推荐(0)
摘要:1.安装tigervnc-serveryum install tigervnc-server2.启动vnc服务vncserver:1[错误提示待解决bad display name "cloud:1" in "add" command]3.配置iptablesvi /etc/sysconfig/ip... 阅读全文
posted @ 2015-06-08 06:03 lanhuan 阅读(270) 评论(0) 推荐(0)