1. 程式人生 > >turnserver安裝記錄

turnserver安裝記錄

wget http://turnserver.open-sys.org/downloads/v4.5.0.6/turnserver-4.5.0.6-CentOS7.2-x86_64.tar.gz
ls
rm -f turnserver-4.5.0.6-CentOS7.2-x86_64.tar.gz
rz
ls
tar  -zxvf turnserver-4.5.0.6-CentOS7.2-x86_64.tar.gz
cd turnserver-4.5.0.6/
ls
./install.sh
ls
cat /etc/turnserver.conf
cd /opt/turnserver
cd /opt
ls
cd stunserver/
ls
cd /usr/local/etc/
ls
cd /opt/turnserver-4.5.0.6/
ls
cat install.sh
cd /etc/turnserver/
ls
vim turnserver.conf
turnserver -v -r 127.0.0.1 -a -o -c /etc/turnserver/turnserver.conf
netstat -lnpt
cd /var/db/
ls
sz turndb
cd /etc/
cd turnserver/
sz turnserver.conf
vim turnserver.conf
kill -9 4215
netstat -lnpt
turnserver -v -r 127.0.0.1 -a -o -c /etc/turnserver/turnserver.conf
netstat -lnpt
cd /var/db/
ls
sz turndb
netstat -lnpt
cd /etc/turnserver/
vim turnserver.conf
vim turnserver.conf
turnserver -v -r 127.0.0.1 -a -o -c /etc/turnserver/turnserver.conf
netstat -lnpt
ls
cat turnserver.conf
vim turnserver.conf
netstat -lnpt
turnserver -v -r 127.0.0.1 -a -o -c /etc/turnserver/turnserver.conf
netstat -lnpt
service iptables status
service firewalld status
turnserver -c /etc/turnserver/turnserver.conf
netsat -lnpt
netstat -lnpt
turnserver -c /etc/turnserver/turnserver.conf
ps -ef|grep eltyl
ps -ef|grep turn
ps -ef|grep stun
turnserver -c /etc/turnserver/turnserver.conf
vim turnserver.conf
turnserver -v -r 127.0.0.1 -a -o -c /etc/turnserver/turnserver.conf
netstat -lnpt
sz /var/db/turndb
turnadmin
turnadmin -k -u eltyl -p 123456 -r www.eltyl.com
sz /var/db/turndb
turnadmin -a -u eltyl -p 123456 -r www.eltyl.com
turnadmin -l
turnadmin -L
turnadmin -A
sz /var/db/turndb
turnadmin -a -u eltyl -p 123456 -r www.eltyl.com -b /var/db/turndb
sz /var/db/turndb
turnserver -v -r 127.0.0.1 -a -o -c /etc/turnserver/turnserver.conf
ls
git clone https://github.com/coturn/coturn/tree/master
cd /opt
sz
rz
ls
unzip coturn-master.zip
cd coturn-master/
yum install gcc gcc-c++ openssl-devel libevent2 libevent2-devel
CC=g++ ./configure
make && echo $?
cd /usr/local/bin/
ls
ll -a
cd /opt/coturn-master/
make install
cd /usr/local/bin/
ls
pwd
vim /etc/profile
source /etc/profile
openssl req -x509 -newkey rsa:2048 -keyout   /etc/turn_server_pkey.pem -out /etc/turn_server_cert.pem -days 99999 -nodes
cd /opt/coturn-master/
ls
turnadmin -k -u eltyl -r eltyl -p 123456 >/etc/turnuserdb.conf
cp examples/etc/turnserver.conf /etc/turnserver.conf
cd /etc
ls
vim /etc/turnserver.conf
sz /etc/turnserver.conf
cat /etc/turnuserdb.conf
cat /etc/turn_server_cert.pem
ls
rm -f turnserver.conf
rz
cat turnserver.conf
/usr/local/bin/turnserver  -L 127.0.0.1 -o -a -b /etc/turnuserdb.conf -f -r eltyl
vim turnserver.conf
/usr/local/bin/turnserver  -L 127.0.0.1 -o -a -b /etc/turnuserdb.conf -f -r eltyl
vim turnserver.conf
/usr/local/bin/turnserver  -L 127.0.0.1 -o -a -b /etc/turnuserdb.conf -f -r eltyl
vim turnserver.conf
/usr/local/bin/turnserver  -L 127.0.0.1 -o -a -b /etc/turnuserdb.conf -f -r eltyl
netstat -lnpt
cd /opt/stunserver/
./stunserver
netstat -lnpt
kill -9 5760
netsat -lnpt
netstat -lnpt
kill -9 5898
netstat -lnpt
kill -9 7078
netstat -lnpt
turnutils_uclient -u eltyl  -w 123456
turnutils_uclient -u eltyl  -w 123456 -p 3478
turnutils_uclient -u eltyl  -w 123456 -p 3478 -v 127.0.0.1
netstat -lnpt
cat /etc/turnuserdb.conf
netstat -lnpt
cat /etc/turnuserdb.conf
history
turnadmin
turnadmin -d eltyl
turnadmin -d -u eltyl
turnadmin -d -u eltyl -r eltyl.com
cat /etc/turnserver.conf
netstat -lnpt
cat /etc/turnserver.conf
ls
rm -f /etc/turnuserdb.conf
rm -f /etc/turn_server_cert.pem
rm -f pkey=/etc/turn_server_pkey.pem
rm -f /etc/turn_server_pkey.pem
rm -f /etc/turnserver.conf
ls
cd /usr/local/bin/
ls
ll -a
turnadmin -a -u ninefingers -r north.gov -p youhavetoberealistic
turnserver -L 127.0.0.1  -a -f -r north.gov
turnserver -L 127.0.0.1  -o -a -f -r north.gov
netstat -lnpt
kill -9 19410
turnadmin -a -u ninefingers -r north.gov -p youhavetoberealistic
turnserver -L 127.0.0.1  -a -f -r north.gov
turnserver -L 127.0.0.1 -o  -a -f -r north.gov
turnserver -L 127.0.0.1 -a -f -r eltyl.com
turnserver -L 127.0.0.1 -a -o -f -r eltyl.com
netstat -lnpt
kill -9 15729
turnserver -L 127.0.0.1 -a -f -r eltyl.com
turnadmin -a -u ninefingers -r north.gov -p youhavetoberealistic
turnserver -L 127.0.0.1 -a -f -r eltyl.com
history
turnadmin -a -u ninefingers -r north.gov -p
turnserver -L 127.0.0.1 -a -f -r eltyl.com
history
turnadmin -a -u ninefingers -r north.gov -p youhavetoberealistic
turnserver -L 127.0.0.1 -a -f -r north.gov
turnadmin -a -u helloword -r north.gov -p helloword
turnserver -L 127.0.0.1 -a -f -r north.gov
tail -20 /var/log/turn_16285_2018-07-06.log
ls
cd turnserver-4.5.0.7/
ls
turnadmin -a -u helloword -r north.gov -p helloword
turnserver -L 127.0.0.1 -a -f -r north.gov
sz /usr/local/var/db/turndb
turnserver -L 127.0.0.1 -a -f -r north.gov
cd /opt/turnserver-4.5.0.6/
ls
./uninstall.turnserver.sh
turnadmin
rm -f  /usr/local/var/db/turndb
ls
turnadmin -L
turnadmin -l
turnadmin -a -u helloword -r north.gov -p helloword
turnserver -L 127.0.0.1 -a -f -r north.gov
turnadmin -a -u helloword -r eltyl -p helloword
turnserver -L 127.0.0.1 -a -f -r eltyl
turnadmin -a -u ninefingers -r north.gov -p youhavetoberealistic
turnserver -L 127.0.0.1 -a -f -r north.gov
cat /usr/local/var/db/turndb
XshellXshellXshellXshellXshellXshellsz /usr/local/var/db/turndb
sz /usr/local/var/db/turndb
netstat -lnpt
ls
node -v
npm install -g npm
ls
python -v
yum install nodejs-legacy
npm -g install grunt-cli
wget https://github.com/webrtc/apprtc/archive/master.zip
ls
mv master.zip apprtc-master.zip
unzip apprtc-master.zip
cd apprtc-master/
ls
npm install
yum install python-webtest
ls
grunt build
pip install requests
cd ..
sz apprtc-master
sz apprtc-master.zip
grunt
grunt -v
service iptables status
service iptables firewalld status
service firewalld status
netstat -lnpt
cd /usr/local/
ls
cd mysql
cd bin/
ls
mysql
cat /usr/bin/
ls
cd /usr/local/mysql/lib
cd /opt
ls
git clone https://github.com/letsencrypt/letsencrypt
cd /opt
ls
rz
ls
unzip letsencrypt.zip
cd letsencrypt/
netstat -lnpt
cd /root
ls
ls
du -sh eltyl_mycat2.sql
zip sql.zip eltyl_mycat2.sql
du -sh sql.zip
ls
mv sql.zip eltyl_mycat2.zip
ls
netstat -lnpt
cd /home/
ls
cd eltyl/
ls
cd archive_server
ls
cat /var/spool/cron/root
netstat -lnpt
mysql -uroot -p
cat /proc/cpuinfo | grep 'model name'  | wc -l
cat /proc/cpuinfo | grep 'physical id' | sort | uniq | wc -l