Debian LAMP deployment-Linux Release Technology-Debian information. The following is a detailed description. LAMP is installed on the Internet. Today, it is successfully installed in DEBIAN. Let's share the installation process.
I installed debian4.0r2.
1. Install lamp Software
Apt-get install mysql-server-5.0
Apt-get install apache2
Apt-get install php5
Apt-get install php5-gd
Apt-get install php5-mysql
The software dependency is automatically configured, which is a convenient advantage.
The installation sequence is mysql, apache, and php, which is not prone to errors.
2. modify the configuration file
/Etc/apache2/apache2.conf
Find the adddefacharcharset line, change the later iso9660 to gb2312, and remove the previous #
/Etc/php5/apache2/php. ini
Find the default_charset row and change it to gb2312.
This is done.
Try making a bbs
1. Download phpwind6.0, phpmyadmin2.11,
Decompress phpwind/upload and change phpmyadmin to pma. Copy it to/var/www)
2. Forget that mysql password and mysqladmin password 123456789
Mysql password changed to 123456789
Modify the phpmysqladmin configuration file and open/var/www/pma/libraries/config. default. php.
Find $ cfg ['servers'] [$ I] ['Password'] =, and change the password to 123456789, that is, mysql.
Phpmysqladmin can be used. Input // 127.0.0.1/pma in the browser.
3. Enter cd/var/www/bbs on the terminal,
Enter chmod 777 attachment/cn_img attachment/photo attachment/thumb attachment/upload data/bbscache data/groupdb data/guestcache data/upload data/style data/tmp htm_data template/admin template/wind
The above command is to change the attributes of some directories and files in phpwind. phpwind requires this, otherwise it cannot be installed.
Enter // 127.0.0.1/bbs/install in the browser. php: the installation page is displayed. Next, you can see the phpwind installation requirements, that is, the reasons for modifying the attributes above. Next, enter the parameters, continue to the next step.
Enter // 127.0.0.1/bbs to view the Forum homepage.
The above is my installation process. I have referenced a large number of articles and tried it many times before, but it was not successful. First under rhel4, tar zxvf ,. /configure, make, make install, a large number of make and make install headers are large, and the compilation time is long. The dependency of the package is even more troublesome with hundreds of errors, how can a cainiao like me survive? no confidence. Now we have changed debian, and several apt-get install will solve the problem, which is really convenient.
I hope the above will be helpful to the startup cainiao like me and everyone will make common progress.
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.