Build a lamp server + Wiki on Ubuntu

Source: Internet
Author: User
Build the lamp server + Wiki Process notes on Ubuntu. For details, refer to: build your own wiki and Forum (figure) Forum under Ubuntu.

Build the lamp server + Wiki Process notes on Ubuntu. For details, refer:

Build your own wiki and Forum under Ubuntu (figure) http://www.linuxidc.com/Linux/2008-02/11085.htm

Install the LAMP \ Vsftpd \ Webmin \ phpMyAdmin service and settings in Ubuntu 13.04Http://www.linuxidc.com/Linux/2013-06/86250.htm

Install LAMP and phpMyAdmin http://www.linuxidc.com/Linux/2012-09/71192.htm in Ubuntu

Ubuntu 12.04 LAMP installation configuration http://www.linuxidc.com/Linux/2012-05/61079.htm

1. Installation Package

1.1 install apache2

Apache2

1.2 install php5

Php5

1.3 install mysql

Mysql-server

Mysql-common

Mysql-client

Mysql-server mysql-common mysql-client

1.4 install other libraries (it may be necessary or already installed when the above is installed)

Libapache2-mod-php5

Libapache2-mod-auth-mysql

Php5-mysql

Php5-gd

Note:

Php5-mysql is the mysql driver for php

The gd library is an extension library for php to process graphics. The gd library provides a series of APIS for processing images. You can use the GD library to process images or generate images. The GD library on websites is usually used to generate thumbnails, add watermarks to images, or generate reports for website data.

Libapache2-mod-php5 libapache2-mod-auth-mysql php5-mysql php5-gd

1.5 database management tools

Phpmyadmin

Mysql-admin

Phpmyadmin is better than mysql-admin.

Phpmyadmin usage:

Check whether there are any phpmyadmin links or directories under the/var/www/directory after installation. If not, you need to create a link for access.

After searching, we found that phpmyadmin was installed under/usr/share/phpmyadmin, So we created a soft link under/var/www/to facilitate access. Sudo ln-s/usr/share/phpmyadmin

Enter the address localhost/phpmyadmin in the browser to open the management address.

1.6 description

When installing mysql-server, do not make a version number later. Otherwise, the installation may fail. I 've been here for a long time.

Someone in phpmyadmin said that two configuration files need to be configured before access, but I can modify the database without configuration.

Some phpmyadmin tutorials say that you want to download the package and put it somewhere. I installed it directly from the source and can use it directly.

2. Service Management

Mysql start stop: sudo/etc/init. d/mysql restar or stop or start

Password Management: sudo mysqladmin-u root password newpassword

Configure the mysql password using the mysql-admin COMMAND

Sudo/etc/init. d/apache2 restart // restart apache

3. Install website source code

Now, you can put the source code of some websites under/var/www.

I have tried wordpress, mediawiki, and hdwiki directly. Can be used. When using wordpress, you must manually create a database for it.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.