Add nginx default Home page index.phpVim/etc/nginx/conf.d/default.confLocation/{root/usr/share/nginx/html;Index index.html index.htm index.php;}Configuring Nginx Support PHPVim/etc/nginx/conf.d/default.conf# Pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000#Location ~. php$ {root HTML;Fastcgi_pass 127.0.0.1:9000;Fastcgi_index index.php;Fastcgi_param Script_filename/usr/share/nginx/html$fastcgi_script_name;Include Fastcgi_params;}Confi
First, let Linux support Chinese1, the Linux env set the Lang=en_us. UTF-8;2, the local shell client code is also set to UTF-8, so that the Windows uploaded to the Linux file or directory will not be garbled;3, Important: If you need to manually edit the securefxportable upload Secruefx the session configuration file (Find session folder)Select the Options->global Options menu in Securefx and select General in the Open Global Options dialog box. There
/php_pdo_mysql_int.h:25:19:error:mysql.h:no such file or directoryIn file included from/software/pdo_mysql-1.0.2/pdo_mysql.c:31:/pdo_mysql-1.0.2/php_pdo_mysql_int.h:36:error:expected specifier-qualifier-list before ' MYSQL '/pdo_mysql-1.0.2/php_pdo_mysql_int.h:48:error:expected specifier-qualifier-list before ' MYSQL_FIELD '/pdo_mysql-1.0.2/php_pdo_mysql_int.h:53:error:expected specifier-qualifier-list before ' MYSQL_RES 'Make: * * * [Pdo_mysql.lo] Error 1Workaround:Yum Install Mysql-develIf a y
=42718:status:assigned> id=42718:reference to id=49184, unsolved for many years## that's not off. Mind, just load it. $ make install> want to add:/usr/local/programs/php/lib/php to your php.ini include_path## then just press it to set it up. $ c P Php.ini-development/usr/local/programs/php/lib/php.ini ' include_path = '.; usr/local/programs/php/lib/php "# # Then, edit the settings of the httpd to make sure it correctly parses the php file ' ... LoadModule php5_module modules/libphp5.so ... AddTy
Support RAR decompression for Centos
After purchasing vps, some friends migrated from the original win host and backed up the packaged data in rar format. How can they decompress the package in centos?Goole: Find the solution:
1234
Wget http://www.rarsoft.com/rar/rarlinux-3.9.3.tar.gz tar-xvf rarlinux-3.9.3.tar.gz cd rar make
The following information indicat
value,if you enter'.'The field would be a left blank.-----Country Name (2Letter Code) [Xx]:cn #countryState or province name (full name) [e]:beijing #stateLocality name (eg, city) [Default city]:beijing #c Ityorganization name (eg, company) [Default company Ltd]:test #companyOrganizational Unit Name (eg, section) []:test Hah A #departmentCommon Name (eg, your server's hostname) []:www.test.com #server's Fqdnemail Address []:[email protected] # email Addressplease Enter the following'Extra'Attri
How does centos support intelivybridge platforms? -- Linux general technology-Linux technology and application information. for details, refer to the following section. The younger brother is a beginner and cannot start after cent OS is installed on Lenovo ysung notebook.
The general situation of Lenovo ysung hardware is as follows:
Processor
CPU series: Intel Core i5 3 generation series
CPU model: Inte
First, the basic settings:1, yum-y update2, yum-y install openssl*3, cd/usr/local/nginx/conf4 , mkdir./SSL5, CD./SSL # Create a. Key private key file and a. CRT certificate file in the SSL directory with OpenSSL 63650 -newkey RSA:2048 -keyout Www.ushark.net.key- out www.ushark.net.crt7 , Firewall-cmd--add-port=443/tcp--permanent--zone= Public # This is a process that is easy to ignore, but very importantSecond, configure the nginx.conf file, add the following code in the original vhost:Listen 80
VirtualBox installs the newest CentOS6.4, installs the enhancement component but discovers
Building the OpenGL support module [FAILED]
Finally on the Internet to find a solution
cd/media/vboxadditions_4.1.8_75467/
Export make= '/usr/bin/gmake-i '
./vboxlinuxadditions.run
When installing, use "make-i",-I,--ignore-errors ignore errors from commands. Ignore the error.
CentOS installed by default, you will
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
Enable Apache2 to support Chinese URLs under the CentOS Server
Some customers cannot support Chinese URLs after using the system template with apache. Today, we take the system template with apache as an example to briefly describe how to make Apache2 support Chinese URLs.Test environment: centos5.5 + apache2 + mod_enc
Because the English version of the system does not support Chinese characters, Chinese file names are garbled.
Follow these steps to install Chinese support on centos:
1) download and install two language packs:
Fonts-chinese-3.02-12.el5.noarch.rpmFonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
# Rpm-IVH fonts-chinese-3.02-12.el5.noarch.rpm# Rpm-IVH fonts-ISO8859-2
Enable GD library support for CentOS in PHPWithout the GD library, AKCMS will lose its functionality-----------------------------List of AKCMS functions affected by GD library-Image Watermark-Thumbnail-Verification Code-----------------------------Cause AnalysisThese image processing functions require the GD library.### * File: include/image. func. php *-* Function: addwatermark ($ source, $ sourcesize = ar
Configure nginx in CentOS to support Chinese domain names
When www. Geek. com is typed in the browser, the browser changesWww.xn--ubt19y.comIn fact, a Chinese domain name is an encoded English domain name (Chinese domain name-> punycode-> English domain name)Online conversion address http://www.webmasterhome.cn/tool/punycode.aspConfiguration:Listen 80;Server_nameWww.xn--ubt19y.com;Index index.html;
This a
VirtualBox installs the newest CentOS6.4, installs the enhancement component but discovers
Building the OpenGL support module [FAILED]
Finally on the Internet to find a solution
cd/media/vboxadditions_4.1.8_75467/Export make= '/usr/bin/gmake-i './vboxlinuxadditions.run
When installing, use "make-i",-I,--ignore-errors ignore errors from commands. Ignore the error.
Happy infinite prompts you: The default installation of
Install the pear module in PHP in centos and configure the virtual host to support the pear module.Wget http://pear.php.net/go-pearPHP go-Pear
PromptSorry! Your PHP version is too new (5.2.14) for this go-pear.Download New Version
Wget http://pear.php.net/go-pear.pharPHP go-pear.phar
Then prompt
1. Installation Base ($ prefix):/usr/local/PHP2. temporary directory for processing:/tmp/pear/install3. temporary
, like GCC.6. Create a soft linkLn-s/OPT/RH/DEVTOOLSET-2/ROOT/USR/BIN/GCC/USR/BIN/GCCLn-s/opt/rh/devtoolset-2/root/usr/bin/g++/usr/bin/g++Ln-s/opt/rh/devtoolset-2/root/usr/bin/gdb/usr/bin/gdbAdditional....If gdb:missing separate debuginfos,use:debuginfo-install**** appears, do the following1. Modify the/etc/yum.repos.d/centos-debuginfo.repo inside the Debuginfo directory enable=12.yum Install Nss-softokn-debuginfo--nogpgcheck3.yum Install Yum-utils4.
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.