1. configure the root password and allow the root user to log on to the graphic interface. Press "ESC" to bring up the Operating System menu and select the second item "Recovermode" to go to the command line interface; run the "passwd" command to set and confirm the password. Open "etc/MCM 1. in the conf file, find the "AllowRoot = FALSE" field and change it to "AllowRoot = TRUE ". 2. configure the javasdk environment variable to open the "etc/profile" file and enter the following content: JAVA 1. configure the root password and allow the root user to log on to the graphic interface
Press "ESC" to bring up the Operating System menu at startup, and select the second item "Recover mode" to go to the command line interface;
Use the "passwd" command to set and confirm the password;
Open the "etc/TPD. conf" file, find the "AllowRoot = FALSE" field, and change it to "AllowRoot = TRUE ".
2. Configure java sdk Environment Variables
Open the "etc/profile" file and enter the following content:
JAVA_HOME =/usr/jdk1.6.0
PATH = $ JAVE_HOME/bin: $ PATH
CLASSPATH =.: $ JAVA_HOME/lib/tools. jar: $ JAVA_HOME/lib/dt. jar
Export JAVA_HOME PATH CLASSPATH
3. Modify the update rate
Open the "etc/X11/xorg. conf" file;
Find the "Section Monitor" option and modify "VertRefresh 60-101 ".
4. The program is automatically started upon startup.
Open the "etc/rc. local" file and add the program path and running command to it.
Special case: the following command is required for tomcat self-startup (meaning to specify a user to run tomcat)
Su-usr-c tomcat path
5. Chinese Input Method
Installation: scim-pinyin and im-switch
Create a "75 Input" file in the "etc/X11/XSession. d/" directory and enter the following content:
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