Ubuntu12.10 software installation summary

Source: Internet
Author: User
Ubuntu12.10 software installation summary is basically the use of sudoapt-getinstallXXXXXXX 1. run the following command to install PHP + MYSQL + Apache on Ubuntu with apt-get: www.2cto.com (1) install MYSQLsudoapt-getinstallmysql-serv... ubuntu12.10 software installation summary is basically the use of sudo apt-get install XXXXXXX 1. run the following command to install PHP + MYSQL + Apache on Ubuntu using apt-get: www.2cto.com (1) install MYSQL sudo apt-get install mysql-serversudo apt-get install mysql-client (2) install Apache sudo apt-get install apache2 (3) install PHP www.2cto. Com sudo apt-get install php5 sudo apt-get install libapache2-mod-auth-mysql sudo apt-get install php5-mysql (4) install phpmyadmin sudo apt-get install phpmyadmin requires Web server to be selected during installation: apache2 or lighttpd: Select apache2, press the tab key, and click OK. Then, you are required to enter the Mysql database Password of the database's administrative user. Then, establish a connection between phpmyadmin and apache2. take my example: the www directory is in the/var/www directory, and The phpmyadmin directory is in the/usr/share/phpmyadmin Directory. Therefore, run the following command: connect sudo ln-s/usr/share/phpmyadmin/var/www. Www.2cto.com phpmyadmin test: Open http://localhost/ Phpmyadmin. Check whether the installation is successful. (1) Check whether Mysql is normal. enter mysql-u username-p password in the terminal (replace username and password with the one you set) check whether logs can be logged on normally (2) Check whether Apache is normally opened in the browser: http://localhost/ If the following information appears, it indicates normal. It works! This is the default web page for this server. the web server software is running but no content has been added, yet. (3) Check If PHP is normal. the default installation path of Apache in www.2cto.com Ubuntu is/var/www/. create info in the directory. php file with the following content: Open it in the browser: http://localhost/info.php Check whether it is normal. Note: You do not have permission to directly create a file in this directory. add the current user permission to this directory: sudo chmod 777/var/www (4) PHP garbled characters in the browser. open test in the FireFox browser. if Chinese characters are garbled during php testing, it is the default language setting problem. The solution is as follows: www.2cto.com open the apache configuration file: sudo gedit/etc/apache2/apache2.conf, add the: AddDefaultCharset UTF-8 at the end to restart Apache: sudo/etc/init. d/apache2 restart and refresh test. php Chinese garbled characters are missing. use apt-get to install JDK for Ubuntu and install jdk sudo apt-get install openjdk-6-jdk install eclipse sudo apt-get install eclipse-platfo Rm www.2cto.com 3. network configuration click the connection icon in the upper-right corner to edit the connection and add a connection to the wired connection. A. Because our school is configured with a static IP address, in IPV4 settings, you must set it to a manual connection and enter the corresponding IP address, subnet mask, and Gateway. Then add the DSN server address. For example, address = 10.10.145.xxxNetmask = 255.255.255.0Gateway = 10.10.145.20Additinal DNS servers: 202.119.230.8 on the 15th floor of the scientific research building, disconnect and restart the connection. B. When we use a vro, it should be a dynamic connection. in this way, we will create a new limited connection without any configuration. by default, we can. When the computer inserts a route, ubuntu automatically selects this connection. 4. download the www.2cto.com 2.1flash player plug-in to FireFox: when we open the youku video, we find that the youku prompts that we have not installed the Flash player. Then we will download a Flash player from the official website. Be sure to select the linux version. (Install_flash_player_11_linux.x86_64.tar.gz) after downloading with FireFox, it will be under the "download" folder by default. then we can find this file and decompress it (you can use the command line or right-click to decompress it ).
2.2 modify the write permission of the firefox plug-in folder. Open a terminal, then, enter the command chmod 777 usr/lib/mozilla/plugins in the command line and copy all the files in the install_flash_player_11_linux.x86_64 folder in step 2.1 to the usr/lib/mozilla/plugins directory.

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.