码迷,mamicode.com
首页 > 其他好文 > 详细

Licode Install CentOS 7.0

时间:2016-08-07 18:30:38      阅读:925      评论:0      收藏:0      [点我收藏+]

标签:


mysqldump --add-drop-table -uroot -p123456 jit >/extra_disk/jit.sql


setenforce 0
systemctl start mariadb
systemctl restart nginx

yum install ffmpeg-devel


sudo yum install epel-release
yum -y update

 

export LC_ALL=C
setenforce 0
systemctl start mariadb
systemctl restart nginx
sudo service rabbitmq-server start
sudo service mongod start

./licode/scripts/initLicode.sh
./licode/scripts/initBasic.sh

./licode/scripts/installBasicExample.sh





$mongo
>use nuvedb
>db.dropDatabase()


 

yum install x264 x264-devel libvpx libvpx-devel glib2 glib2-devel -y


hostnamectl

hostnamectl set-hostname R2-D2

./licode/scripts/initLicode.sh

./licode/scripts/initBasicExample.sh

sudo service rabbitmq-server start
sudo service mongod start
export LC_ALL=C

cd /extra_disk/pkg


./licode/scripts/installErizo.sh
./licode/scripts/installNuve.sh
./licode/scripts/installBasicExample.sh
./licode/scripts/initLicode.sh
./licode/scripts/initBasicExample.sh

Failed global initialization: BadValue Invalid or no user locale set.
export LC_ALL=C


123.57.62.28

firewall-cmd --add-port=80/tcp
firewall-cmd --add-port=8080/tcp
firewall-cmd --add-port=3000/tcp
firewall-cmd --add-port=3001/tcp
firewall-cmd --add-port=3004/tcp

/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT
/sbin/iptables -I INPUT -p tcp --dport 8080 -j ACCEPT
/sbin/iptables -I INPUT -p tcp --dport 3000 -j ACCEPT
/sbin/iptables -I INPUT -p tcp --dport 3001 -j ACCEPT
/sbin/iptables -I INPUT -p tcp --dport 3004 -j ACCEPT

systemctl start firewalld.service#启动firewall
systemctl stop firewalld.service#停止firewall
systemctl disable firewalld.service#禁止firewall开机启动

I change the licode_config.js as follows:

config.erizoController.port=8080;
config.erizoController.ssl=true;
config.erizoController.listen_ssl=true;
config.erizoContorller.listen_port=8080;

netstat -tunlp

netstat -tunlp | grep 80

cd /extra_disk/pkg

 

 


fuser -n tcp 80
kill 705

 

This worked for me on CentOS 5.8 when I was unable to use the /etc/hosts file to fix it:

Create a rabbitmq environment variables config file at /etc/rabbitmq/rabbitmq-env.conf
Add NODENAME=rabbit@localhost to it (note that just localhost didn‘t work)

 

POD document had syntax errors at /usr/bin/pod2man line 69.
make: *** [install_docs] Error 1
rm /usr/bin/pod2man


setenforce 0

systemctl start mariadb
systemctl restart nginx




This worked for me on CentOS 5.8 when I was unable to use the /etc/hosts file to fix it:

Create a rabbitmq environment variables config file at /etc/rabbitmq/rabbitmq-env.conf
Add NODENAME=rabbit@localhost to it (note that just localhost didn‘t work)
sudo service rabbitmq-server start


sudo service mongod start

rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

 

Licode Install CentOS 7.0

标签:

原文地址:http://www.cnblogs.com/ytjjyy/p/5746679.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!