Install eclipse and PHP in Ubuntu8.04 [go to www.enet.com.cnarticle20081021a20081041575941.shtml 1. download the PDTAll-in-one version: downloads. zend. compdtall-in-one2, unzip to the specified directory: install eclipse and PHP under usr Ubuntu 8.04
[Turn:] http://www.enet.com.cn/article/2008/1021/A20081021375941.shtml
1. download PDT All-in-one: http://downloads.zend.com/pdt/all-in-one/
2. decompress the package to the specified directory:/usr/local
You can decompress it to the current directory first and then
Mv eclipse/usr/local
(1) to change the eclipse directory to root, run the following command:
Sudo chown-R root: root/usr/local
Create a startup script eclipse in the/usr/bin directory
(2) use the following command to create a cluster:
Sudo gedit/usr/bin/eclipse
Add the following content to the file:
#! /Bin/sh
Export illa_five_home = "/usr/lib/mozilla /"
Export ECLIPSE_HOME = "/usr/local/eclipse"
$ ECLIPSE_HOME/eclipse $ *
(3) change the permission of the script to executable and execute the following command:
Sudo chmod + x/usr/bin/eclipse
3. add the eclipse startup icon to the desktop or gnome menu.
(1) add an icon on the desktop or startup panel:
Create a new starter on the desktop (right-click desktop> create initiator) or panel (right-click panel> add to panel> custom application launcher, then add the following data:
Name: Eclipse Platform
Command: eclipse
Icon:/usr/local/eclipse/icon. xpm
(2) add an icon on the Applications menu
Use a text editor to create an eclipse. desktop starter in the/usr/share/applications Directory. run the following command:
Sudo vi/usr/share/applications/eclipse. desktop
Or
Sudo gedit/usr/share/applications/eclipse. desktop
Add the following content to the file:
[Desktop Entry]
Encoding = UTF-8
Name = Eclipse Platform
Comment = Eclipse IDE
Exec = eclipse
Icon =/usr/local/eclipse/icon. xpm
Terminal = false
StartupNotify = true
Type = Application
Categories = Application; Development;
Save the file. Complete the installation process. You can double-click the eclipse icon on the desktop to run eclipse.
3. Chinese eclipse
Open eclipse-Help-Software Updates ....
In the displayed dialog box, select Available Software)
Click Add Site. in the URL dialog box that appears, enter http://download.eclipse.org/policy/babel/update-site/ganymede. click OK.
Then we can see the address we added in the update dialog box. click the triangle above to expand the language update option.
Click the triangle extension Language selection option in front of Language Packs, and check the Eclipse Language Pack for Simplified Chinese option.
Click the install button on the right of the dialog box.
OK to download and install the Chinese language pack. after the installation is complete, click OK. eclipse will automatically close and start. now it is already in the Chinese version.