Browse Source

Close open_file_cache and Update versions.txt

lj2007331@gmail.com 6 years ago
parent
commit
b7899c79c4
7 changed files with 24 additions and 25 deletions
  1. 5 5
      config/nginx.conf
  2. 5 5
      config/nginx_apache.conf
  3. 5 5
      config/nginx_tomcat.conf
  4. 1 1
      include/check_download.sh
  5. 2 2
      install.sh
  6. 1 2
      ss.sh
  7. 5 5
      versions.txt

+ 5 - 5
config/nginx.conf

@@ -51,11 +51,11 @@ http {
     image/x-icon;
   gzip_disable "MSIE [1-6]\.(?!.*SV1)";
 
-  #If you have a lot of static files to serve through Nginx then caching of the files' metadata (not the actual files' contents) can save some latency.
-  open_file_cache max=1000 inactive=20s;
-  open_file_cache_valid 30s;
-  open_file_cache_min_uses 2;
-  open_file_cache_errors on;
+  ##If you have a lot of static files to serve through Nginx then caching of the files' metadata (not the actual files' contents) can save some latency.
+  #open_file_cache max=1000 inactive=20s;
+  #open_file_cache_valid 30s;
+  #open_file_cache_min_uses 2;
+  #open_file_cache_errors on;
 
 ######################## default ############################
   server {

+ 5 - 5
config/nginx_apache.conf

@@ -51,11 +51,11 @@ http {
     image/x-icon;
   gzip_disable "MSIE [1-6]\.(?!.*SV1)";
 
-  #If you have a lot of static files to serve through Nginx then caching of the files' metadata (not the actual files' contents) can save some latency.
-  open_file_cache max=1000 inactive=20s;
-  open_file_cache_valid 30s;
-  open_file_cache_min_uses 2;
-  open_file_cache_errors on;
+  ##If you have a lot of static files to serve through Nginx then caching of the files' metadata (not the actual files' contents) can save some latency.
+  #open_file_cache max=1000 inactive=20s;
+  #open_file_cache_valid 30s;
+  #open_file_cache_min_uses 2;
+  #open_file_cache_errors on;
 
 ######################## default ############################
   server {

+ 5 - 5
config/nginx_tomcat.conf

@@ -51,11 +51,11 @@ http {
     image/x-icon;
   gzip_disable "MSIE [1-6]\.(?!.*SV1)";
 
-  #If you have a lot of static files to serve through Nginx then caching of the files' metadata (not the actual files' contents) can save some latency.
-  open_file_cache max=1000 inactive=20s;
-  open_file_cache_valid 30s;
-  open_file_cache_min_uses 2;
-  open_file_cache_errors on;
+  ##If you have a lot of static files to serve through Nginx then caching of the files' metadata (not the actual files' contents) can save some latency.
+  #open_file_cache max=1000 inactive=20s;
+  #open_file_cache_valid 30s;
+  #open_file_cache_min_uses 2;
+  #open_file_cache_errors on;
 
 ######################## default ############################
   server {

+ 1 - 1
include/check_download.sh

@@ -81,7 +81,7 @@ checkDownload() {
     if [[ "${jdk_option}"  =~ ^[1-4]$ ]]; then
       case "${jdk_option}" in
         1)
-          echo "Download JDK 10..."
+          echo "Download JDK 11.0..."
           JDK_FILE="jdk-${jdk110_ver}_linux-${SYS_BIT_j}_bin.tar.gz"
           ;;
         2)

+ 2 - 2
install.sh

@@ -274,7 +274,7 @@ if [ ${ARG_NUM} == 0 ]; then
             if [ "${tomcat_option}" == '1' ]; then
               while :; do echo
                 echo 'Please select JDK version:'
-                echo -e "\t${CMSG}1${CEND}. Install JDK-10"
+                echo -e "\t${CMSG}1${CEND}. Install JDK-11.0"
                 echo -e "\t${CMSG}2${CEND}. Install JDK-1.8"
                 read -e -p "Please input a number:(Default 1 press Enter) " jdk_option
                 [ -z "${jdk_option}" ] && jdk_option=1
@@ -287,7 +287,7 @@ if [ ${ARG_NUM} == 0 ]; then
             elif [ "${tomcat_option}" == '2' ]; then
               while :; do echo
                 echo 'Please select JDK version:'
-                echo -e "\t${CMSG}1${CEND}. Install JDK-10"
+                echo -e "\t${CMSG}1${CEND}. Install JDK-11.0"
                 echo -e "\t${CMSG}2${CEND}. Install JDK-1.8"
                 echo -e "\t${CMSG}3${CEND}. Install JDK-1.7"
                 read -e -p "Please input a number:(Default 2 press Enter) " jdk_option

+ 1 - 2
ss.sh

@@ -218,11 +218,10 @@ Config_SS() {
 {
     "server":"0.0.0.0",
     "server_port":${SS_port},
-    "local_address":"127.0.0.1",
     "local_port":1080,
     "password":"${SS_password}",
     "timeout":300,
-    "method":"aes-256-cfb",
+    "method":"aes-256-cfb"
 }
 EOF
 

+ 5 - 5
versions.txt

@@ -18,10 +18,10 @@ apr_util_ver=1.6.1
 nghttp2_ver=1.34.0
 
 # DB
-mysql80_ver=8.0.12
-mysql57_ver=5.7.23
-mysql56_ver=5.6.41
-mysql55_ver=5.5.61
+mysql80_ver=8.0.13
+mysql57_ver=5.7.24
+mysql56_ver=5.6.42
+mysql55_ver=5.5.62
 
 mariadb103_ver=10.3.10
 mariadb102_ver=10.2.18
@@ -108,5 +108,5 @@ libevent_ver=2.0.22-stable
 tmux_ver=2.7
 htop_ver=2.2.0
 bison_ver=2.7.1
-python_ver=3.6.6
+python_ver=3.6.7
 fail2ban_ver=0.10.4