Quickly build a development environment in the Ubuntu environment

Source: Internet
Author: User
Tags php and mysql

Touch Ubuntu has been half a year, although the game AH QQ in the configuration of Linux under a little trouble, but as a development environment, Ubuntu is really a good thing, whether it is C ah or PHP and etc

See the official Web document development environment recommended WAMP, if it is a new Linux environment, it is recommended to use lamp, and the configuration is more simple. Of course, some people use LNMP.

Ubuntu installation is very simple, will not go to Baidu itself.

Ubuntu Server version Although the default integration of the development environment, but there is a problem is the character interface, it is recommended not to install the Ubuntu official Web server version, the server version is simply not installed graphical interface, and integrated server-related software. So, here's the point.

After installing Ubuntu
Run

    1. sudo apt-get install Tasksel
Copy Code

Tasksel, which is a Debian installation task suite, we can use it if you want to install more than one package in order to get your system to do a certain general function. What do you mean by this sentence? For example, we need to install lamp to set up a Web server, in order to complete this function, we generally need to install a lot of packages, with APT, we need to install these packages separately (including apache2, PHP5, etc.), To form a complete lamp system (which meets our requirements). And if you use Tasksel, you can use it to easily install a complete lamp kit for us, without needing to care about what packages are needed to make this unified suite. Here, lamp is an example, like Gnome-desktop and so on. Reference link http://www.linuxidc.com/Linux/2008-01/10292.htm

After installing Tasksel,

    1. sudo tasksel
Copy Code

Then select the lamp server, then automatically install the relevant package
Apache2 and PHP and MySQL, the process will prompt you to enter the MySQL password, the entire installation process because to download some software may last for some time.

is the installation interface

I occasionally encountered the GD library does not add problems, so if you have to install the GD library, and then restart the server

    1. sudo apt-get install php5-gd

    2. sudo /etc/init. D/apache2 restart
Copy Code

Ubuntu under Vim is a good editor, tool, of course, if you are not familiar with the use of Ubuntu, you can use Eclipse for PHP developer, fine
I'd like to download this on my own website.

Quickly build a development environment in the Ubuntu environment

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.