Ubuntu system usage records

Source: Internet
Author: User
Ubuntu uses the ubuntu 64-bit ubuntu 64-bit record system. Real-world permission problems: to enable the root account sudopasswd-urootsudopasswdroot, then you can use suroot to install jdk. first, ubuntu installs the openjdk uninstall command by default. apt-getpur ubuntu system uses the record of the new system ubuntu12.04lts64. Real-world permission problems: to enable the root account # sudo passwd-u root # sudo passwd root. then you can use su root to install jdk. First, the openjdk uninstall command is installed in ubuntu by default. # apt-get purge openjdk * environment variable configuration in/etc/profile (I used to configure it in/etc/environment) # vim/etc/profile add export JAVA_HOME =/usr/app/jdk1.7 export CLASSPATH =.: export PATH = $ JAVA_HOME/bin: $ PATH # source/etc/profile there are several points to note: The first problem is: export PATH = $ JAVA_HOME/bin: $ PATH cannot be written as export PATH = $ PATH: $ JAVA_HOME/ Bin's second problem is:/usr/app/jdk1.7. this is the PATH where you decompress jdk. The third problem is that $ PATH must be added, otherwise, the previous path will disappear (very serious, there should be a recovery method) # java-version later, it seems useless to uninstall openjdk. by default, after jdk1.6 is uninstalled, it becomes jdk1.5, that is to say, it is unclear what jdk1.5 still exists. Disable bluetooth: # vim/etc/rc. local. Then, add the following rfkill block bluetooth to guess that it is a solution to kill the bluetooth process after the system is started.
Related Article

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.