help information./configure-help|grep MySQL installs PHP./configure--prefix=/usr/local/fastphp--with-mysql=Mysqlnd--enable-mysqld--with-GD--enable-gd-native-TTF--enable-gd-jis-Conv--enable-FPM error Prompt to install LIBXML2 tar-zxvf libxml2xxxx.tarcd libxml2xxx./Configure make&&Make Install------------------Install GD library Yum install GD------------------------------RPM with a suffix of rpm installation-IVH libxml2-devel-2.6. --2.1.2.8. i386.rpm error prompts to install RPM-BUILD:WARNING:LIBXML2-devel-2.6. --2.1.2.8. I386.rpm:Header V3 dsa/SHA1 Signature, key ID37017186: nokeyerror:failed dependencies:libxml2=2.6. - isNeeded by libxml2-devel-2.6. --2.1.2.8. i386 installation rpm-build:yum-y Install rpm-Build-------------------------------------This error occurs when VIM is editing Linux'ReadOnly'Option is Set(Add! toOverrideAn error occurred: The reason is that there is no saved permission. Workaround: Wq!--------------------------Linux vim jumps to the last line direct G-------------------------. zip suffix decompression method unzip xxx.zip download yum install directly without unzip software unzip-----------------------------------------Linux Nginx installation ecshop case (1) unzip to nginx/html under browser access:127.0.0.1/ecshop/index.php Error: Not funod file reason: Nginx nginx.conf location does not have the default index.php solution: Nginx nginx.c Onf location join index.php to restart Nginx./sbin/nginx-s Reload again browser access:127.0.0.1/ecshop/index.php (2the installation has a non-writable reason: Linux permissions problem Workaround: Go to ecshop directory [join permission] CHOMD o+r directory name [e.g. cert]-R (3if MySQL fails to install: When Linux uses localhost to connect to the database, it is not connected with the TCP protocol, but is connected with Sockte. Solution (1): The database connection address Loaclhost changed to IP at the time of installation127.0.0.1Solution (2): Modify the php.ini file so that it does not know where php.ini can use the search command find/ -name PHP.ini found after vim php.ini find out mysql.default_host [Find way/socket multiple lookups can be searched] mysql.default_host=/var/lib/mysql/Mysql.sock [enable MySQL to support sockets] (4Failed to install database [Arning:date_default_timezone_get (): It isNot ...] Cause: The settings on Linux are not in the correct time zone. An error warning appears. Workaround: Find php.ini modified to Date.timezone=PRC [PRC is the People's Republic of China English abbreviation] prompt then install successfully (5Click on the first page error reason is: Ecshop framework is too old, PHP version is too high, some grammar has notconsistent cause error. Workaround: (1Remove the installation Ecshop re-unzip. Into the Ecshop directory includes vim init.php modified: error_reporting (0); Change the parameters into0。 @ini_set ('display_errors',0); Also changed to 0. and delete the code:if((Debug_mode &1) ==1) {error_reporting (E_all); } Else{error_reporting (E_all^ (E_notice |e_warning)); } (2) Open Vim ecshop/install/incudes/init.php the head part into the following code @ini_set ('display_errors',0); Error_reporting (0); (3the admin background folder also resembles the above modifications. Direct access to the address after the modification is complete:127.0.0.1/Ecshop Installation-------------------------------URL rewrite vim nginx.conflocation/ecshop {root html; Rewrite"good-(\d (1,7)). HTML"echshop/goods.php?id=$1;} When #注意 rewrite with a URL, the regular expression is "" if there is {} in the regular; Re-start Nginx---------------------------------------File Lookup Command find/ -Name File name Delete rm-RF folder name view port number------------nginx Reverse proxy + load Balancer--------------------bin/httpd.conf Port changed to:8080----------------------------------Yum install httpd httpd-manual mod_ssl mod_perl mod_auth_mysql php-mcrypt PHP-GD php-XML PHP-mbstring php-LDAP php-pear php-xmlrpc MySQL-connector-ODBC MySQL-devel libdbi-dbd-mysql boot httpd:/etc/init.d/httpd start to restart Nginx./sbin/nginx-s Reload--------------------------------Installation path:/usr/local/nginx/Sbin/usr/local/nginx/Sbin--------------------------View port: Netstat-Antpyum installed Apache, then your master profile should be in/etc/httpd/conf/httpd.conf here Proxy_pass127.0.0.1:8080;
Linux often uses commands