protected] lighttpd]# cp-p /data/lighttpd/lighttpd-1.4.35/doc/config/conf.d 6. Create Log output Directory[Email protected] lighttpd]# mkdir-p/var/log/lighttpd7. Modify Startup Shutdown Restart configurationCP DOC/INITSCRIPTS/RC.LIGHTTPD.REDHAT/ETC/INIT.D/LIGHTTPD8, then modify the/ETC/INIT.D/LIGHTTPD, putLighttpd= "/USR/SBIN/LIGHTTPD"SwitchLighttpd= "/USR/LOCAL/LIGHTTPD/SBIN/LIGHTTPD"9, go to directory/usr/local/lighttpd/etc, modify the value of lighttpd.conf var.log_root to "/VAR/LOG/LIGHTT
Nginx rewrite Web pages. We can try it. http://www.anilcetin.com/convert-apache-htaccess-to-nginx/ The contents of this address include the ability to complete the above-mentioned minor modifications. is to automatically convert the rules in. htaccess to the rules available under Nginx. Summary: the. htaccess file was originally a distributed configuration file for Apache, providing a way to change the configuration for each directory, that is, to place a file containing instructions in a part
was hired by the Americans, not by scientists. So many 70后 study abroad, their ideal is to jump out of China's "Ondol", come to the American paradise, and then buy a car to buy a house. Can they compare with the people of the old age, or even the generation who studied in the 80? )The backwardness of China's education, in the final analysis, is the comprehensive strength of our country, the industrial strength of the weak caused by poverty. )In fact, there are excellent educational resources at
Method:
1) wgethttp://mirrors.sohu.com/php/php-5.6.9.tar.gz
2) Enter the extracted PHP source directory, execute./configure--enable-fpm--enable-mbstring--with-apxs2=/usr/local/apache2/bin/apxs-- With-mcrypt--with-pdo_mysql--with-openssl--disable-fileinfo
3) Execute make make install
Description
1)--ENABLE-FPM is designed to be able to start PHP php-fpm way, which can be better than php-cgi way to manage fastcgi. (The latter is easy to automatically hang up, pay special attention to the above c
Method:1) wgethttp://mirrors.sohu.com/php/php-5.6.9.tar.gz2) Enter the extracted PHP source directory, execute./configure--enable-fpm--enable-mbstring--with-apxs2=/usr/local/apache2/bin/apxs-- With-mcrypt--with-pdo_mysql--with-openssl--disable-fileinfo3) Execute make make installDescription1)--ENABLE-FPM is designed to be able to start PHP php-fpm way, which can be better than php-cgi way to manage fastcgi. (The latter is easy to automatically hang up, pay special attention to the above configu
continue. '][dir:/root/code][Path:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games]because the Chinese-enabled libraries we installed use the GTK2.0 graphics library, Gnome-terminal uses the GTK3.0 libraryThe sublime program crashes directly after you try to compile a library that supports Chinese into a GTK3.0-based program.Last resort, only use xterm instead of gnome-terminal. Change the C + + compiled system code to{ "cmd":"g++ \ "${file}\"-o \ "${f
' ncurses-devel ' installation package, and then according to the second command above error, "There is no available package ncurses, but it is referenced by other packages." "You can decide that the Ubuntu Software Manager server has been modified. So to Ubuntu package archive (http://packages.ubuntu.com/) search for the presence of the installer, use ' ncurses-devel ' as the keyword search, no results. The search for ' ncurses ' has resulted in a lot of returns. The ' Ncurses-devel ' is named
Enter MATLABEnter the MEX-V command to view the current configurationEnter the command to modify the configuration fileCommand:!sudo gedit/usr/local/matlab/r2013a/bin/mexopts.shAdd the following blue content:cxx= ' g++ 'Cxxflags= '-ansi-d_gnu_source -std=c++0x'cxxflags= "$CXXFLAGS-fpic-fno-omit-frame-pointer-pthread"cxxlibs= "$RPATH $MLIBS-lm"cxxoptimflags= '-o-dndebug 'Cxxdebugflags= '-G 'When you compile a file with a. cpp extension, the C++11 standard is supported.Modify MATLAB configuration
Note: The MYSQLI expansion Library is designed to work in conjunction with MySQL 4.1.3 or later
The first two days a site to transfer over, because there are problems to my database, I did not carefully deal with this site. Today the database is ready, found still not use, reported errors are as follows: Fatal error:class ' mysqli ' not found in. Originally I was compiling PHP before, did not put mysqli support compiled in, the solution to the proble
Tags: Oracle database: http://down.51cto.com/data/2277765When Oracle database is used, it is very inconvenient because the previous command cannot be paged up or down. So install "rlwrap" to solve.650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/8C/72/wKiom1hsq5-B4X-RAAAZjtGDNlY159.png-wh_500x0-wm_3 -wmp_4-s_3912229572.png "title=" Oracle_28.png "alt=" Wkiom1hsq5-b4x-raaazjtgdnly159.png-wh_50 "/>Install the command, note that the installation is to be under the root user.# TAR-XF rlwra
Parameters FileParameter description:
-e When the file shows the end, automatically leave;
-N Displays the line number of each line;
/string: Search down the function of "string";
String: Search up the function of "string";
h Display Help interface;
q/q exit less command;
U scroll forward half page;
Y scrolls forward one line;
The SPACEBAR scrolls one page;
Enter the scroll line;
[PageDown]: flipping down one page;
[PageUp]: Flip up one page;
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.