php server よく使い忘れるコード

sudo chown root:root /opt/red5

sudo password root

chmod -R 777 /opt/red5

sudo apt-get install sysv-rc-conf

sysv-rc-conf apache2 on

 

sudo tar -zxvf apache-tomcat-8.0.21.tar.gz

sudo jar xvf red5-server-1.0.6-SNAPSHOT.jar

export LANG=C

java -version

which java

vi ~/.bashrc

export JAVA_HOME=/usr/lib/jvm/default-java/ export CATALINA_HOME=/opt/tomcat/

apt-get install ssh

apt-get install vsftpd

 

sudo apt-get install firefox-locale-ja