Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Debian + apache2 + php4 + mysql + phpmyadmin + mt

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Debian + apache2 + php4 + mysql + phpmyadmin + mt (transfer) [@ more@] 1. Install debian, manual partition, var and home separately, did not choose to install any packages, the source chose http, the default first website b http://mirrors.kernel.org.

two. Start up smoothly, with ssh

Apt-get update

Apt-get dist-upgrade

Reboot

three. Apt-get install mysql

four. Apt-get install apache2

five. 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 allowed memory, look for memory_limit = 8m to change to memory_limit = 200m, modify the maximum allowed upload size, look for upload_max_filesize = 2m, change to upload_max_filesize = 10m, allow mysql and gd modules, and check whether the file contains the following code if it is not added. (the default is that something is added at the end of the configuration file, check it just in case.) extension= mysql.soextension=gd.so saves and closes the file.

six. Apt-get phpmyadmin, login to change the root password, there may be session preservation problems, always can not log in, the method is to modify the login method, using http login.

seven. Download mt, copy everything except in the static folder to the cgi directory / usr/lib/cgi-bin/, configuration mt-config.cgi, modify the mysql database connection, modify the static directory location, modify the cgi directory location. Everything in the static folder is placed under the root directory / var/www/, run http: / / blog.ouc.edu.cn/cgi-bin/mt.cgi to show the initial configuration, enter the initial password username: Melody, password: Nelson, and then create a new blog substation, configure the installation directory, upload the previously retained upload folder directory pic, import the original data, ok.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report