October 2016
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Categories

October 2016
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Install Tomcat 9 on Centos 7

Install Tomcat 9 on Centos 7

cd /opt/ wget –no-cookies –no-check-certificate –header “Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie” “http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz” tar -zxvf jdk-8u101-linux-x64.tar.gz alternatives –install /usr/bin/java java /opt/jdk1.8.0_101/bin/java 2 alternatives –config java java -version vi /etc/profile.d/java.sh export JAVA_HOME=/opt/jdk1.8.0_101 export JRE_HOME=/opt/jdk1.8.0_101/jre export PATH=$PATH:/opt/jdk1.8.0_101/bin:/opt/jdk1.8.0_101/jre/bin chmod +x /etc/profile.d/java.sh source /etc/profile.d/java.sh export

cd /usr/local wget http://www.us.apache.org/dist/tomcat/tomcat-9/v9.0.0.M1/bin/apache-tomcat-9.0.0.M1.tar.gz wget http://download.nus.edu.sg/mirror/apache/tomcat/tomcat-9/v9.0.0.M11/bin/apache-tomcat-9.0.0.M11.tar.gz tar -zxvf apache-tomcat-9.0.0.M11.tar.gz cd apache-tomcat-9.0.0.M11 […]

Linux server security configuration of Nginx

Under Linux server security configuration of Nginx

1, some common sense under Linux, you want to read a file, you first need to have execute permissions for the folder where the file, and then you need to read permissions on the file.

Execute permissions php files do not need the file, you only need read […]

postfix

Biglobe is OP25B because there are regulations, to set via the relay server of Biglobe. Thus SASL to transmit authentication. SPF perform the source domain authentication in. S25R , Greylisting , Tarpitting prevent access from suspicious server approach. Because you do not want to do in the form of a patch to Postfix, the […]