解决服务器用localhost可以访问IP地址不能访问
apache的默认监听地址不正确. 修改 /httpd/conf/httpd.conf文件的监听端口: listen 127.0.0.1:80 改为: listen 0.0.0.0:80 就可以了.
apache的默认监听地址不正确. 修改 /httpd/conf/httpd.conf文件的监听端口: listen 127.0.0.1:80 改为: listen 0.0.0.0:80 就可以了.
使用yum时出现了下面的错误提示: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=addons error was Er
这两天搭建了一组Apache服务器,每台服务器4G内存,采用的是prefork模式,一开始设置的连接数太少了,需要较长的时间去响应用户的请求,后来修改了一下Apache 2.0.59的配置文件httpd.conf: prefork MPM StartServers: number of server processes to start MinSpareServers: min
需要安装libexpat. 下载安装libexpat1 2.0.1 87.1.i386.rpm: wget http://rpm.pbone.net/index.php3?stat=26&dist=55&size=149897&name=libexpat1 2.0.1 87.1.i386.rpm rpm ivh libexpat1 2.0.1 87.1.i386.rpm
$ perl Makefile.PL //perl脚本检查包依赖关系 Can't locate ExtUtils/MakeMaker.pm in @INC @INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor perl /usr/share/perl5/vendor perl /u
windows下的自动关机命令就不说了,这里说下linux的: 晚上11点自动关机: sudo shutdown h 23:00 这样晚上11点电脑就自己关机了,适合挂机下载的时候用.
搭建Git服务器需要准备一台运行Linux的机器,本文以Centos6.8纯净版系统为例搭建自己的Git服务. 准备工作:以root用户登陆自己的Linux服务器. 第一步安装依赖库: $ yum install curl devel expat devel gettext devel openssl devel zlib devel $ yum install gcc perl ExtU