!");}
2. Execute the following command:
# RPM-IVH j2sdk*.rpm//install JDK package. # Source/etc/profile//Overload profile environment. # Ldconfig//Create dynamic link library cache file. # javac-d. Helloworld.java//Compile test file. # java HelloWorld//Run program test whether the installation was successful.
Five. Install Apache
Install amp
Apt-get Install apache2 mysql-server php5 php5-mysql5
Configure the Apache2 default site
Vi/etc/apache2/sites-enabled/000-default
Join a line
Redirectmatch ^/$/apache2-default/
The test step does not require
Modifying the Apache2 master configuration
Vi/etc/apache2/apache2.conf
To read:
Include Module Configuration:
Include/etc/apache2/mods-enabled/*.load include/etc/apache2/mods-enab
File
Vi/etc/php5/mods-available/opcache.ini
Add the following lines to the Opcache.ini
Zend_extension=/usr/lib/php5/20100525+lfs/opcache.soopcache.memory_consumption=128Opcache.interned_strings_buffer=8opcache.max_accelerated_files=4000Opcache.revalidate_freq=60Opcache.fast_shutdown=1Opcache.enable_cli=1128 of which means allocating 128M of memory to it.
Finally, link the file to the CONF.D directory
Ln-s/etc/php5/
The effect I want to achieve is simple, I have two modules, home, WeChat.
Http://localhost/index.php/home/index/index shortened to: Http://localhost/index/index
Http://localhost/index.php/wechat/index/index shortened to: Http://localhost/wechat/index/index
Hide index.php, this is relatively simple, I open. htaccess support on the line, the specific configuration of the implementation of Baidu Bar, I use the apache2, to establish a soft connection into
Ln-s/etc/apache2/
Install Apache in Ubuntu
Installation instructions: sudo apt-get install apache2
After the installation is complete:
The resulting start and stop files are:/etc/init.d/apache2
Start: sudo apache2ctl-k start
Stop: sudo apache2ctl-k stop
Reboot: sudo apache2ctl-k restart
Configuration file Guaranteed:/etc/apache2
It is necessary to note that the generic Apache Release configuration file is:
httpd.conf
The main configuration file for the Ubuntu release is:
Apache2.conf
The following fil
to the size of the memory you need
Upload_max_filesize = = 2M ==> modified file maximum upload size
...
extension=mysql.so Support MySQL Service
Extension=gd.so Support GD function
...
In fact, under Ubuntu, if you install the Php5-mysql and PHP5-GD, you will automatically modify the above two lines, we do is just to confirm that their previous annotation is removed.
A. Most of the current PHP open source is written in PhP4, in order to compatible with the previous PHP version, sometimes
/APR/APR-UTIL-1.6.1.TAR.BZ2Then unzip separately.# tar zxf httpd-2.4.33.tar.gz# tar zxf apr-1.6.3.tar.gz# tar jxf apr-util-1.6.1.tar.bz2# CD apr-1.6.3#./configure--PREFIX=/USR/LOCAL/APR Installation# Make make install# CD: /apr-util-1.6.1/#./configure--prefix=/usr/local/apr-util--WITH-APR=/USR/LOCAL/APR# Make make installAn error occurred during installation, one less dependency package, and the installation of the dependent package--ENABLE-SO supports dynamic expansion modules# CD:[Email prot
]# cc= "gcc-m64"./configure--prefix=/usr/local/aprInstalling the Apr-util Package[Email protected] src]# CD apr-util-1.5.4Configuration:[Email protected] apr-util-1.5.4]#/configure--prefix=/usr/local/apr-util--with-apr=/usr/local/apr[[email protected] apr-util-1.5.4]# echo $?0Compile and install:[[email protected] apr-util-1.5.4]# make make installComplete!Installing httpd[Email protected] src]# CD httpd-2.4.27Configuration:[Email protected] httpd-2.4.27]#/configure--prefix=/usr/local/apache2.4
Lab Environment :
IP Address
Description
192.168.5.181
CentOS7 system, Base source installed MARIADB, as the FTP server, as the authentication service side
192.168.5.121
CentOS6 system, as an FTP client
Installation of the authentication module pam_mysql.so
Need to download pam_mysql.so source package from the Internet, pam_mysql-0.7rc1.tar.gzBefore extracting the installation, make sure that the devel
, then follow the instructions.[email protected] openldap-2.4.21]# make depend[[email protected] openldap-2.4.21]# make[[email protected] openldap-2.4.21]# make installGo to the Apr-util directory just under Apache.[Email protected] apr-util]#/configure--prefix=/usr/local/apr-util--with-apr=/usr/local/apr--with-mysql=/usr/ Local/mysql \>--with-ldap-lib=/usr/openldap/lib--with-ldap-include=/usr/openldap/include \>--with-ldap=ldap--with-berkeley-db=/usr/local/berkeleydb.4.4You can then make the in
192.168.1.231 'Only the packets received by the 192.168.1.231 host will be crawled.Listening on the specified port$ tcpdump-i Eth0-nna ' Port 80 'The above example is used to listen to the host of the 80 port received and sent all the packets, combined with the-a parameter, in web development, is really very useful.Listening on the specified host and port$ tcpdump-i eth0-nna ' port and src host 192.168.1.231 'Multiple conditions can be connected with and,or. The above example indicates listenin
UBUNTU TLS on Build svnRefer to the article on the Internet http://www.cnblogs.com/likwo/p/3152365.htmlSet up an SVN server. Let's talk about my understanding.Building the main idea is to use apache2 and subversionSubversion server is mainly composed of svnadmin, the initialization of the SVN library directory structure, the real function of the SVN service is actually the Apache plus APACHE_SVN module plug-in. The SVN client interacts with Apache using the HTTP protocol. In particular, the opti
one, installation preparation 1. Installing OpenSSL To enable Apache to support SSL, you need to install OpenSSL support first. Recommended download installation openssl-0.9.8k.tar.gz download OPENSSL:HTTP://WWW.OPENSSL.ORG/SOURCE/TAR-ZXF openssl-0.9.8k.tar.gz //Unzip the installation package CD openssl-0.9.8k //into the unpacked installation package ./config nbsp; //configuration installation. It is recommended to use the default configuration make do install //compilation and inst
the enemy, the action is the enemy's motion mode, XY is the coordinate point produced on the screen. The gameplay of the entire game, then, relies heavily on the sequence of calls to the module, that is, when, where, what type of enemy is being produced, and what mobile strategy to use.The different call sequences are generally reflected in various levels, mods, and even game DLC, so it makes sense to organize call sequences effectively. But the gene
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.