Debian + apache2 + php4 + mysql + phpmyadmin + mt

Source: Internet
Author: User
Debian + apache2 + php4 + mysql + phpmyadmin + mt -- Linux Enterprise Application-Linux server application information. For more information, see the following. 1. Install debian, manual partitioning, var and home separately, no package is selected to install, the source selects http, the default first site B http://mirrors.kernel.org.
2. Smooth start, built-in ssh,
Apt-get update
Apt-get dist-upgrade
Reboot

3. Apt-get install mysql

4. Apt-get install apache2

5. Apt-get install php4
Apt-get install libapache2-mod-php4
Apt-get install php4-gd
Apt-get install php4-mysql

It is possible to modify php. ini,/etc/php4/apache2/php. ini: Modify the maximum memory usage. Change memory_limit = 8 M to memory_limit = 200 M. Change the maximum size allowed for upload to upload_max_filesize = 2 M, and change it to upload_max_filesize = 10 M, allow the mysql and gd modules to check whether the file finally contains the following code, if not added. (Added at the end of the configuration file by default. Check the configuration file to save and close the file.) extension = mysql. soextension = gd. so.

6. Apt-get phpmyadmin. If you log on to and modify the root password, the session may be saved and you will never be able to log on. You can change the logon mode and Use http to log on.

7. Download mt, copy all except the static folder to the cgi directory/usr/lib/cgi-bin/, configure the mt-config.cgi, modify the mysql database connection, modify the location of the static directory, modify the cgi directory location. All files in the static folder are stored in the root directory/var/www/and run http: // logs.
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.