2013年8月22日星期四

Ubuntu environment to build series -WPS/LAMP/Python article

 

Due to space should not be too long, so this article will be divided into two parts, the first in part , we explain the google-chrome (Google Browser) installation, jdk environment configuration, android development environment to build. Then in the second part, we will explain the position Kingsoft WPS installation, while explaining the structures under the LAMP environment, Python development environment to build basic.

 

one, WPS installation

 Why should the WPS

installed, mainly because Ubuntu comes with LibreOffice support for Chinese is not good, but we are accustomed to the operation of Microsoft Office, and put on WPS, we can see that they are familiar with the Windows operating Interface friends.

 

1. Download: http://community.wps.cn/download/ # alpha

 

2.64 bits friend need not be so hard to find you, because WPS currently only 32, but just download 32-bit WPS, then put on some of the necessary 32-bit libraries, you can use the

 

3. find deb format to download. Of course, you can also download a beta version, just download the deb format can

 

 

4. Similarly to ~ / Downloads path, execute the command sudo dpkg-i kingsoft-office_9.1.0.4127 ~ a11p3_i386.deb installed

 

5.32 bit Ubuntu installed this way can be directly used. 64 system of friends continue to see the next step.

 

6.64 bit Ubuntu installation has finished, you will find that the emergence of this error, as shown,

 

 

7. okay, just need to continue to execute the command sudo apt-get install ia32-libs * can be.

 

8. If you perform the steps above still does not open, then go to the installation directory wps perform wpp through a terminal or any other two, to see an error message may be adjusted according to the error message

 

two, LAMP environment set

 

1.apache2 Installation

 

1) via the command sudo apt-get install apache2 to install Apache2 server installation

 

2) After installation, open the browser, type http://localhost, if access to normal, indicating success, as shown:

 

  

1 <?php 
2 phpinfo();
 
 

                         
  
1 <?php 
2 $conn = mysql_connect('localhost', 'root', '123456');
3 if (!$conn) {
4 die('Could not connect: ' . mysql_error());
5 }
6 echo 'Connected successfully';
7 mysql_close($conn);
 
 

         

           

       

     
  
[Desktop Entry] 
Type
=Application
Name
=Eclipse
Comment
=Eclipse Integrated Development Environment
Icon
=/usr/local/development/eclipse-indigo-3.7.2/icon.xpm #图标所在的路径
Exec
=eclipse #程序所在的位置
Terminal
=false
Categories
=Development;IDE;Java;
 
 

   

 

没有评论:

发表评论