1. Installation
$ sudo apt-get install apache2
$ sudo vi/etc/apache2/ports.conf
$ sudo/etc/init.d/apache2 Restart
$ sudo apt-get install subversion$ sudo apt-get install LIBAPACHE2-SVN
3.1 Add the group and add the user to the group:
sudo addgroup subversionsudo usermod-g subversion-a www-data
3.2 Now execute the following command:
$ sudo mkdir/home/svn$ cd/home/svn$ sudo mkdir myproject$ sudo chown-r root:subversion myproject
3.3 The following command is used to create the SVN file repositor
-APR=/USR/LOCCAL/APR--with-apr-util=/usr/local/ Apr-util--enable-so--enable-mods-shared=most[[emailprotected] httpd-2.4.29]# ./configure --prefix=/usr/local/apache2.4 --with-apr=/usr/loccal/apr --with-apr-util=/usr/local/apr-util --enable-so --enable-mods-shared=mostError:configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/Resolve Error: Yum list |grep Pc
, #./configure--prefix=/usr/local/apache2--enable-so--enable-rewrite--enable-mods-shared=most#./configure--prefix=/usr/local/apache2--enable-so--enable-module=most--enable-shared=max--enable-rewrite#./configure--prefix=/usr/local/apache2--enable-so--enable-rewrite--enable-access#./configure--prefix=/usr/local/apache2--enable-so--enable-mods-shared=all c-enable-rewrite=shared5. # make6. # Make Install7, see
forget to restart the APACHE2 server when you're done.Command: sudo/etc/init.d/apache2 restart2. Modify the default home pageModify default home page: Usually in sudo gedit/etc/apache2/apache2.conf insideFind DirectoryIndex in the back add such as index.php etc.However, with the apache2 version of the different file placement location is not the same as I ubuntu8.10 under the configuration file.Don't be afraid to enter this command Grep-ir directoryindex/etc/apache2View DirectoryIndex in the Ap
How many bits of the Linux system are queried# uname-iDownload# wget http://mirrors.sohu.com/mysql/MySQL-5.6/mysql-5.6.35-linux-glibc2.5-x86_64.tar.gz # wget/httparchive.apache.org/dist/apr/apr-1.5.2.tar.gz # wget http://archive.apache.org/dist/httpd/httpd-2.4.25.tar.gz# wget Http://am1.php.net/distributions/php-5.6.30.tar.gzExtract# tar zxvf httpd-2.4.25.tar.gz# tar zxvf apr-1.5.2.tar.gz# tar zxvf apr-util-1.5.4.tar.gz# tar zxvf php-5.6.30.tar.gzInstalling GCC# yum Install Gcc-ySOURCE Package I
;border: 0;padding: 0;">
# tar Xvzf httpd*//Extract source pack. # CD httpd*//Enter the installation directory. #./configure--prefix=/usr/local/apache--enable-so--enable-mods-shared=most--enable-rewrite# make;make Install/ Compile and install.
Description
--ENABLE-SO option: Let Apache support DSO mode, note that we are here to use the Apache2.0 syntax. If you
# wget http://www.apache.org/dist/httpd/httpd-2.2.9.tar.gz (here I am directly using the download good package)# TAR-ZXVF Httpd-2.2.9.tar.gz# CD httpd-2.2.9#./configure--prefix=/usr/local/httpd--enable-mods-shared= ' proxy proxy_ajpproxy_balancer '# makeError MAKE: * * * does not specify the target and cannot find makefile. Stop it.Online lookup reason for not installing GCCRun yum-y Install GCCAnd then run (the following three steps run longer)./conf
Check the compilation and installation steps, if it is installed using the following method, please change a method, I have encountered this problem many times, because of this installation problem caused.The method of the problemExtract Apr apr-util, remove version number, copy to httpd-./configure--prefix=/usr/local/apache2--enable-dav--enable-so--enable-mods-shared=all--WITH-EGD-- With-devrandom--enable-so--enable-cache=shared--enable-disk_cache=sh
1. Upload the httpd-2.4.10.tar.gz to the/OPT directory2.TAR–ZXVF httpd-2.4.10.tar.gz3. Enter the httpd-2.4.10 directory3.1./configure--prefix=/usr/local/apache2--enable-cache--enable-disk-cache-enable-mem-cache--enable-file-cache --with-ssl--enable-ssl--enable-so--enable-mime-magic--enable-mods-shared=most--with-mpm=worker--with-apr-util= /usr/local/apr-util--with-pcre=/usr/local/pcre/#--prefix= indicates that the compiled binaries are installed in th
Title: PHP Volunteer Management 'id' 1.0.2 Multiple VulnerabilitiesAuthor: G13 www.2cto.com: Https://sourceforge.net/projects/phpvolunteer/Affected Version: 1.0.20x01 description0x02 XSS0x03 SQL Injection0x04 Vendor report##### 0x01 overview #####This is a PHP Volunteer Management software. Keep track of VolunteerHours worked and location assignments. This system is built onPHP/MySql.##### 0x02 XSS #####--------------- Defect -------------------The 'id' parameter on the get_hours.php page is vul
Want to achieve the effect is very simple, I have two modules, Home, Wechat.Http://localhost/index.php/home/index/index shortened to: http://localhost/index/index Http://localhost/wechat/index/indexHide index.php, this is relatively simple, I opened. htaccess support on the line, the specific configuration to implement Baidu bar, I use the apache2, build a soft connection intoLn-s/etc/apache2/mods-available/rewrite.load/etc/apache2/
converted into the platform-related (native) code values, and the platform-related functions are called for registration.
Finally, the qpair consisting of the key and the native code value of the MOD is used as the qhash key, and the pointer of the shortcut is saved as the value.
bool QxtGlobalShortcutPrivate::setShortcut(const QKeySequence shortcut){... key = ... mods = ... const quint32 nativeKey = nativeKeycode(key); const quint32 n
$ sudo mkdir -p /var/log/apache2/evasive$ sudo chown -R www-data:root /var/log/apache2/evasive
Add the following command to the end of the mod-evasive.load.
$ Sudo nano/etc/apache2/mod-available/mod-evasive.load DOSHashTableSize 2048 DOSPageCount 20 # maximum number of requests to the same page DOSSiteCount 300 # Total number of DOSPageInterval requests from the same client IP address on the same listener 1.0 # interval of page quantity threshold DOSSiteInterval 1.0 # interval of site quantity t
support Apachehe core module, rewrite is the address rewrite module, if not required can not compileEnable-shared=max means that all standard modules except so are compiled into the DSO module.
Then compile PHP
Tar zvxf php4.3.4.tar.gzCD php4.3.2./configure--prefix=/usr/local/php--with-mysql=/usr/local/mysql--with-apxs=/usr/local/apache/bin/apxs Make Make install
Then modify the Httpd.conf method with the static compilation method
OK,DSO dynamic compilation is completed, we should see Ming Tan
Installing amp
Apt-get Install apache2 mysql-server php5 php5-mysql5
Configure Apache2 Default Site
Vi/etc/apache2/sites-enabled/000-default
Join a row
Redirectmatch ^/$/apache2-default/
Testing this step does not require
Modifying the Apache2 master configuration
Vi/etc/apache2/apache2.conf
To change to:
Include Module Configuration:
Include/etc/apache2/mods-enabled/*.load include/etc/apache2/mods-enabled/
information in the binary image file is taken out, the class definition information in each module is parsed and read, the class and category of the Load method are recorded, and finally the call is uniformly executed.The Prepare_load_methods function is implemented as follows: void Prepare_load_methods (Header_info *hi) {Module mods; unsigned int midx; if (_objcheaderisreplacement (HI)) {return; } mods
Note: This example takes a subversion+apache patternOne: Required package downloadcompiling svn needs to rely on the SQLite Library,RHEL5 's own RPM package version is too low, the compilation can not pass. #wget Http://www.sqlite.org/sqlite-amalgamation-3.6.13.tar.gz#wget http://subversion.tigris.org/downloads/ Subversion-1.6.12.tar.bz2#wget http://archive.apache.org/dist/httpd/httpd-2.2.16.tar.gzSecond:SQLite Library compilation installation#tar-zxvf SQLITE-AMALGAMATION-3.6.13.TAR.GZ#CD Sqlite
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.