Ubuntu7.10 + Apache2 + PHP + MySQL

Source: Internet
Author: User
Ubuntu7.10 + Apache2 + PHP + MySQL -- Linux Enterprise Application-Linux server application information. The following is a detailed description. I didn't expect it to be so easy to install and configure the Web server in ubuntu7.10. I am more and more eager to praise its ease-of-use performance. Haha!

Linux is equipped with Apache + PHP + MySQL. The installation is simple, run the sudo apt-get install apache2 libapache2-mod-php5 php5 php5-gd mysql-server php5-mysql command and wait until the download is complete.

1. At the end of installation, you will be asked about the password of the root user of mysql, which is defined here, but do not forget your password!

2. Enable the mod_rewrite module. Command: sudo a2enmod rewrite

3. You are advised to change the default Apache website path (/var/www by default) in your own directory, such as/home/leenjewel/www. Run sudo gedit/etc/apache2/sites-available/default to find DocumentRoot/var/www/In the displayed file and change it to DocumentRoot/home/leenjewel/www/

4. restart Apache and run sudo/etc/init. d/apache2 restart.

This basically completes the installation of the web server in ubuntu.

A few useful tools are provided: (you can add and install the software in "add and delete programs" of ubuntu)

1. MySQL Administrator can be found in the Add/delete program of ubuntu. This is the Mysql management tool.

2. Bluefish Editor: a Gtk-based HTML Editor that supports highlighted syntax and HTML, CSS, JAVASCRIPT, and Java server pages (JSP) python, Perl, SSI, PHP, XML, and other languages. In some ways, it is similar to Dreamweaver in Windows, and is a rare tool for making HTML.

3. Quanta Plus: Quanta Plus is a powerful HTML editor in the Linux desktop environment, between WYSIWYG style and HTML source code. Quanta Plus needs to input HMTL code, but it also provides real-time preview. This editing method helps users grasp HTML code to the maximum extent while providing friendly interfaces. Quanta Plus supports Prel and PHP scripting languages, and supports the latest DTD.
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.