发表于: 2017-04-11 23:59:35

3 895


找到了confluence配置的好帖

http://www.cnblogs.com/wspblog/p/4750128.html

完成了confluence的搭建

今晚搞Nginx,之前没运行过(3.将SVN和Confluence的安装步骤写一篇教程,放到Wiki上,外网可访问这个做不了啊没云服务器)

服务器挂好yum 关闭了防火墙和SElinux 安装了java这个是任务一到现在一直存在的状态

1 下载Nginx   wget http://nginx.org/download/nginx-1.5.9.tar.gz 改权限755  (http://www.cnblogs.com/yuanermen/p/3303723.html)

2 rm -rf /var/lib/yum/history/*.sqlite 没有2这句有可能出现的报错 RPMDB altered outside of yum

3 yum install  libtool

4 yum install -y gcc 

5 yum install -y gcc-c++  没4 5句的报错 checking for C compiler ... found

6 yum -y install pcre-devel 

7 yum -y install openssl openssl-devel

没6 7句时的报错 

  tar -zxvf nginx-1.5.9.tar.gz

 [root@nihao nginx]# ls
nginx-1.5.9  nginx-1.5.9.tar.gz
[root@nihao nginx]# cd nginx-1.5.9
[root@nihao nginx-1.5.9]# ls
auto  CHANGES  CHANGES.ru  conf  configure  contrib  html  LICENSE  man  README  src

[root@nihao nginx-1.5.9]# ./configure

[root@nihao nginx-1.5.9]#make

[root@nihao nginx-1.5.9]#make install

[root@nihao sbin]# vi  /usr/local/nginx/conf/nginx.conf  

改listen 81; 不改端口可能出现的报错

[root@nihao sbin]# ./nginx
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()



[root@nihao sbin]# ls
nginx
[root@nihao sbin]# ./nginx




got,oh yeah


任务三我来了




返回列表 返回列表
评论

    分享到