Ubuntu uses notes.
First, JAVA configuration environment variable command:
1, vi ~/.bashrc
2, add the following code:
export JAVA_HOME=/opt /java/jdk1.7.0_55
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH
3, source ~/.bashrc
4, java -version
Second, tar.gz decompression
sudo tar -zxvf xxx.tar.gz
Third, extract file authorization
sudo chmod -R 777 jdk1.7.0_80/
sudo chmod 600 ××× (Only the owner has read and write permissions)
sudo chmod 644 ××× (owner has read and write permissions, group users only have read access)
sudo chmod 700 ××× (Only the owner has read and write and execute permissions)
sudo chmod 666 ××× (Everyone has read and Write permissions)
sudo chmod 777 ××× (Everyone has read and write and execute permissions)
Fourth, modify the terminal name
sudo Gedit /etc/hostname
Sudo gedit /etc/hosts
mysql installation
1. sudo apt-get install mysql-server
2. sudo apt-get install mysql-client
3. sudo apt-get install libmysqlclient-dev
During the installation process, you will be prompted to set a password. Note that you should not forget to set it up. After the installation is complete, you can use the following command to check whether the installation is successful:
sudo netstat -tap
VNC (Virtual Network Computing) is an abbreviation of virtual network computer. VNC is an excellent
First, thread creation header file #include <pthread.h> function declaration int pth
Need to achieve: There are two servers: "192.168.201.236" and "192.168.201.
What should I do if the Ubuntu system Grub fails? Many computer users think of reloading: Grub, howe
About multithreading under Linux
Linux view and terminate process
Those wonderful commands under Linux
LINUX Extra Privilege Control ACL
Dr mode configuration script in lvs
Linux command (in the use of -a, -o, not in find)
Differences between Linux and Windows systems
Linux get daemon process console data
How to log out of the operating system of Win10 system?
Program merge display is not used? Demolition Win7 taskbar
Use disk defragmentation to accelerate for win7
Windows 7 disk configuration tips to improve disk usage
Windows 8 Consumer Preview has been developed
What should I do if Windows 7 uses IE10 browser font blur?
Explain the small flaws of the Windows system security model
Tencent win10 upgrade assistant how to use window10 upgrade assistant download tutorial
Win7 prohibits network search driver method
Win10 system installation KB3116869 patch failed and a black screen solution