摘要: 1.关闭防火墙[root@CentOS ~]# chkconfig iptables off2.关闭selinuxvi /etc/sysconfig/selinux//将SELINUX=enforcing修改为disabled然后重启生效3、配置CentOS 6.0 第三方yum源(CentOS默认的标准源里没有nginx软件包)[root@CentOS ~]# yum install wget//下载wget工具[root@CentOS ~]# wget http://www.atomicorp.com/installers/atomic//下载atomic yum源[root@CentOS 阅读全文
posted @ 2013-06-14 18:17 bigwhiteshark(云飞扬) 阅读(2704) 评论(0) 推荐(0) 编辑
摘要: CentOS 5.5采用文本最小安装,安装完之后运行man ls 出现-bash: man: command not foundwgethttp://manpages-zh.googlecode.com/files/manpages-zh-1.5.1.tar.gz操作步骤如下:首先要:yum install mantar zxvf manpages-zh-1.5.1.tar.gz cd manpages-zh-1.5.1./configure --prefix=/usr/local/zhman --disable-zhtw makemake install以上安装完成.请做如下操作:c... 阅读全文
posted @ 2013-06-14 15:14 bigwhiteshark(云飞扬) 阅读(2846) 评论(0) 推荐(0) 编辑
摘要: 一般来说,配置交叉编译工具链的时候需要指定编译工具的路径,此时就需要设置环境变量。例如我的mips-linux-gcc编译器在“/opt/au1200_rm/build_tools/bin”目录下,build_tools就是我的编译工具,则有如下三种方法来设置环境变量:1、直接用export命令:#export PATH=$PATH:/opt/au1200_rm/build_tools/bin查看是否已经设好,可用命令export查看:[root@localhost bin]#exportdeclare -x BASH_ENV="/root/.bashrc"declare 阅读全文
posted @ 2013-06-14 14:16 bigwhiteshark(云飞扬) 阅读(256) 评论(0) 推荐(0) 编辑