Carey【胭脂扣】

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 19 下一页
摘要: http://www.centos.bz/2011/09/centos-compile-lamp-apache-mysql-php/comment-page-1/#comments编译安装:首先卸载掉php mysql httpdyum -y remove httpdyum -y remove phpyum -y remove mysql-server mysqlyum -y remove php-mysqlrpm -e httpd rpm -e mysqlrpm -e php先用yum 安装所需要的环境包:yum -y install gcc gcc-c++ make automake a. 阅读全文
posted @ 2013-10-25 10:47 胭脂筘 阅读(644) 评论(0) 推荐(0) 编辑
摘要: 前序:查考文章:http://www.cnblogs.com/mchina/archive/2012/11/28/2778779.htmlhttp://www.centos.bz/2011/09/centos-compile-lamp-apache-mysql-php/comment-page-1/#comments安装:1、安装libxml2# cd /usr/local/src/lamp/libxml2-2.6.30# ./configure --prefix=/usr/local/libxml2# make && make install2、安装libmcrypt# cd 阅读全文
posted @ 2013-10-23 18:11 胭脂筘 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 首先防火墙开启mysql:3306 apache 80 and 81端口:vi /etc/sysconfig/iptables-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT #允许80端口通过防火墙-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT #允许80端口通过防火墙-A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT #允许3306端口通过防火墙.. 阅读全文
posted @ 2013-10-18 16:30 胭脂筘 阅读(593) 评论(0) 推荐(0) 编辑
摘要: 网上的一些文章都已经比较老了,现在版本高了之后,其实配置是很省力的(不考虑什么负载的话)分享全过程,出了文中提到的安装epel rpmfushion 源指令不同外,其他的过程也适用与Centos 5http://www.cnblogs.com/cryinstall/archive/2011/09/25/2189900.html1.安装CentOS 6 ,可以选择最小安装,也可以安装桌面2.升级系统yum update3.安装mysql,并设置mysql开机自启动,同时启动mysqlyum install mysqlyum install mysql-serverchkconfig --leve 阅读全文
posted @ 2013-10-18 14:08 胭脂筘 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 开启Mysql远程访问的所有方法http://superyjcqw.blog.163.com/blog/static/16105830520117111040436/Mysql默认是不可以通过远程机器访问的,通过下面的配置可以开启远程访问.其实就是两个办法,最终都是为了修改 user 表中 root 对应的 host 字段为 %1. update user set host=’%’ where user=’root’;flush privileges;这种方法不用理会root的密码,经过实际测试,有些情况下执行这条语句会报下面的错误:ERROR 1062 (23000): Duplicate 阅读全文
posted @ 2013-10-18 13:42 胭脂筘 阅读(380) 评论(0) 推荐(0) 编辑
摘要: 1、配置防火墙,开启80端口、3306端口vi /etc/sysconfig/iptables-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT#允许80端口通过防火墙-A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT#允许3306端口通过防火墙备注:很多网友把这两条规则添加到防火墙配置的最后一行,导致防火墙启动失败,正确的应该是添加到默认的22端口这条规则的下面如下所示:############################## 添 阅读全文
posted @ 2013-10-18 11:16 胭脂筘 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 对比表,以 apache / httpd 为例任务旧指令新指令使某服务自动启动chkconfig --level 3 httpd onsystemctl enable httpd.service使某服务不自动启动chkconfig --level 3 httpd offsystemctl disable httpd.service检查服务状态service httpd statussystemctl statushttpd.service (服务详细信息) systemctl is-active httpd.service (仅显示是否 Active)显示所有已启动的服务chkconfig - 阅读全文
posted @ 2013-10-17 13:17 胭脂筘 阅读(729) 评论(0) 推荐(1) 编辑
摘要: CentOS Linux Vsftp服务器配置CentOS Linux Vsftp服务器配置1、开启防火墙ftp端口 vi /etc/sysconfig/iptables #编辑防火墙配置文件1 -A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT(允许21端口通过防火墙)2 -A INPUT -m state --state NEW -m tcp -p tcp --dport 20 -j ACCEPT(允许20端口通过防火墙)3 -A INPUT -m state --state NEW -m tcp -p tcp 阅读全文
posted @ 2013-10-17 10:03 胭脂筘 阅读(320) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/swiftshow/article/details/7367609一、FTP的安装1、检测是否安装了FTP :[root@localhost ~]# rpm -q vsftpdvsftpd-2.2.2-6.el6_2.1.i686如果没安装FTP,运行yum install vsftpd命令进行安装2、执行 setsebool -P ftpd_disable_trans=1 修改SELinux 状态 [root@localhost vsftpd]# setsebool -P ftpd_disable_trans=1 setsebool: SELinux 阅读全文
posted @ 2013-10-16 14:34 胭脂筘 阅读(355) 评论(0) 推荐(0) 编辑
摘要: PS:补充下,我在fedora 19上运行的时候遇到的一个问题:1 [root@localhost extundelete-0.2.4]# ./configure2 Configuring extundelete 0.2.43 configure: error: in `/usr/local/src/extundelete-0.2.4':4 configure: error: C++ compiler cannot create executables5 See `config.log' for more details查看了下config.log文件发现与gcc-c++有关。 阅读全文
posted @ 2013-10-14 17:14 胭脂筘 阅读(8226) 评论(0) 推荐(3) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 19 下一页