Ubuntu14.10 Desktop Learning Note (i)--configuration of the basic environment

Source: Internet
Author: User

Ubuntu 14.10 Destop is the latest version of Ubuntu released on October 24, 2014, using the Linux 3.16 kernel.

Below I will be installing in VMware 10.0 virtual machines to learn this version.

(The virtual machine installation System link omitted)

Due to the Destop version, the system will enter the graphical interface by default when the system is installed.

1. Installing VMware Tools

VMware Tools is an enhanced tool that comes with VMware virtual machines and is a driver that VMware offers to enhance virtual graphics and hard disk performance, as well as synchronize virtual machines with host clocks. VMware Tools is installed in VMware virtual machines to enable file sharing between hosts and VMS while supporting free-drag functionality, and the mouse can move freely before virtual machines and hosts (no more pressing ctrl+alt), and the virtual machine screen can be fullscreen. Installation steps:a) load the Linux.iso image file in the VMware installation directory into the CD drive of the virtual machine. b) Press Ctrl+alt+t to bring up the terminal window, view the path media/user name/vmware Tools, and copy the tar.gz compressed file into the disk directory. c) Use the command TAR-XZVF filename to unzip the compressed file. After decompression, execute the vmware-install.pl script file to complete the installation. 2. Installing the JDKDownload the JDK installation package first: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.htmlafter downloading, use the tar command above to extract it. To Configure environment variables: The most basic is to configure environment variables directly in the shell, the script code is as follows:java_home=/username/java7/jdk1.7path= $JAVA _home/bin: $PATHclasspath=.: $JAVA _home/libExport Java_homeExport PATHExport CLASSPATH you can add a Java path to an environment variable by executing the preceding command. However, the environment variables you add can only be used in this shell. So we need to use other methods. The Linux system will execute some script files when logging in, we can add the operation to the environment variables in these script files, so that we can use Java directly after each login system. scripts in a Linux environment can be divided into the following types ofSystem-Level global script files (shared by all users):/ETC/PROFILE/ETC/BASH.BASHRCwhen the system starts, these two files are executed, except that the profile is executed once while the system is logged in, and the BASHRC file executes every time the shell is opened. There are/home/username/profile files and/HOME/USERNAME/.BASHRC files that correspond to individual users. profile is only executed once when the user logs on, and the. bashrc file executes every time the shell is opened. Therefore, we can add the above script code to the script file according to our requirements. at this point, the installation of Java is complete. 3, install Apache Web server software. sudo apt-get install apache2after the installation is complete, open the browser in the Address bar to enter 127.0.0.1 It works is installed successfully.

Ubuntu14.10 Desktop Learning Note (i)--configuration of the basic 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.