Ubuntu12.04 use

Source: Internet
Author: User

The Ubuntu system is not very familiar, encountered a variety of bugs, in order to record the problem has been solved, open this essay.

Ubuntu 12.04 Right-click to open Terminal in current position

sudo apt-get install nautilus-open-terminal

Reload File Manager

Nautilus-q

or log off and log on again to use

Ubuntu 12.04 Unrestricted access to file permissions

If you don't want to solve this with the command line, you can:

ALT-F2--Gksu (you might want to install it yourself)--Nautilus

Ubuntu Install Java

First go to the Oracle website to download the installation files, Ubuntu, the next tar.gz is good, recommend using JDK instead of JRE

sudo tar-zxvf jdk-xxx-linux-ixxx.tar.gz//Unzip the file, where you want to compress it, how to compress it, see the Tar command.

Configuring Environment variables

sudo gedit/etc/profile

Increase on the last side of the file:

Export JAVA_HOME=/USR/LIB/JVM/JDK1.7.0_07//This is the general installation path
Export path= $JAVA _home/bin: $JAVA _home/jre/bin: $PATH
Export classpath= $CLASSPATH:.: $JAVA _home/lib: $JAVA _home/jre/lib

When configuring path and classpath, be careful to add the original path and classpath as shown above.

Configure the environment variables, you can restart, the easier way is to Source/etc/profile.

Javac-version View

Ubuntu Open SSH Service (GO)

SSH sub-client openssh-client and Openssh-server
If you just want to log on to another machine SSH only need to install Openssh-client (Ubuntu has default installation, if not then sudo apt-get install openssh-client), If you want to make the native SSH service open, you need to install Openssh-server
sudo apt-get install Openssh-server
Then confirm that the Sshserver is started:
Ps-e |grep SSH
If you see sshd that means Ssh-server has been activated.
If not, you can start this way: Sudo/etc/init.d/ssh start
Ssh-server configuration file is located in/Etc/ssh/sshd_config, where you can define the SSH service port, the default port is 22, you can define yourself as a different port number, such as 222.
Then restart the SSH service:
Sudo/etc/init.d/ssh stop
Sudo/etc/init.d/ssh start
Then use the following method to log in to SSH:
SSH [email protected] username for users on the 192.168.1.112 machine, you need to enter a password.

Ubuntu View System number and version (GO)How to view the Machine Cup is a few? Command: More/proc/cpuinfo This command lists a lot of cup information to find Clflush size, whose value is the number of cups I'm clflush size:64 how do you see how many of the Ubuntu systems you have installed? Command: Uname-ar Linux wen-laptop 2.6.31-22-generic #68-ubuntu S

How to view the Machine Cup is a few? Command:
More/proc/cpuinfo
This command lists a lot of cup information
Find Clflush size, whose value is the number of cups
Mine is Clflush size:64.
How do you see how many of the Ubuntu systems you have installed are several? Command:
Uname-ar
Linux wen-laptop 2.6.31-22-generic #68-ubuntu SMP Tue Oct 16:38:35 UTC all i686 gnu/linux
Generally 64 of the system will be with x86_64, and 32 bits are not with, generally i386 or i686, etc.

To view the version of Ubuntu installed, command:
Cat/etc/issue
Show: Ubuntu 10.10 \ \l

I won't tell you, open system Settings, and then have a detail (detail) know everything.



Ubuntu12.04 use

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.