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
- 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,
- 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
- sudo apt-get install php5-gd
- 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