in the process of using Linux, sometimes forget the root user's password (especially when the handover and the content of the document is not complete), this time we can enter the single-user mode to reset the root user password. here's how to reset
Recently, read the relevant information, found that Ubuntu is not very conducive to learning Linux operating system, and CentOS is more conducive to learning Linux operating system, then uninstalled.Of course, for the rookie, nature is very not
1. CentOSby default, installation of theOpenOfficeSoftware that requiresJavasupport, the default is to installJDKenvironment, if you need a specificJavaenvironment, it is best to set the defaultJDKcompletely removed; 2. view default JDK
512M memory, 80G HDDUbuntu-server no pressure, but because many platforms only support the CentOS server Linux systemThe memory must be more than 1G by default to be installed with the graphical interface.After the installation, even 256M of memory
When using CentOS, you will often encounter the use of Yum to install certain system-dependent packages, especially third-party software libraries (such as the OpenStack Software Library) that cannot be found. As a result, it is necessary to update
First, install the desktop environment. I chose xfce, lightweight desktop, which is small and practical and does not occupy too much memory (xfce
No xfce exists in the default centos source. First install the epel source and then install the
Official Website: http://atat.apache.org/download-70.cgidownload ZIP filesUnzip apache-tomcat-7.0.54.zipMv apache-Tomcat-7.0.54/usr/tomcatCP/usr/tomcat/Catalina. sh/etc/init. d/tomcatVim/etc/init. d/tomcatAdd the following two lines in the second
The default font in centos7 is ugly. Although you can install the font of Wenquan translation, you are used to the in windows. Therefore, the process is quite simple.
1. First, create a msfonts directory under/usr/share/fonts in centos to store, and
1. Download stable version of nginx. http://nginx.org/en/download.html
2. Run the following command to install
# Check System path [[email protected] USR] # PWD/usr # decompress to current path [[email protected] USR] # tar-zxv-F nginx-1.6.2.tar.gz #
To increase server security, the root user's remote logon permission is generally disabled.
Disable remote logon for root users:
Modify the/etc/ssh/sshd_config file, Set
#PermitRootLogin yes
To:
PermitRootLogin no
Remove the # symbol. If
Modify the command line resolution by configuring the grub. conf file,Enable/boot/GRUB/grub. conf find the kernel/boot/vmlinuz-2.4.18-3 Ro root =/dev/hda1 HDC = ide-SCSI line, add the parameter VGA = xxx (the value you want to set, see the following
Problems related to image connection failure caused by yum update in CentOS
Yumupdate fails to be resolved. Check that the yum source settings are correct. Then, check that the local DNS cannot be resolved and enable the DNS port through the
Three methods for configuring IP addresses in CentOS 6.5: CentOS
Experimental software environment: Virtual Machine Vmware Workstation10.0, CentOS 6.5 32-bit
1. automatically obtain the IP address
The virtual machine uses the bridge mode, which is
Centos 7 static IP settings, centosip
This course is intended for Centos 7.0.1406!
1. Edit the ifcfg-eth0 file, vim is minimized when the installation is not installed, you need to install it on your own is not described.
# vim
The old raid on the CentOS server cannot be formatted.
An old hard disk is attached to the server. If you want to format the historical data and save it, use fdisk to report the following error:
/Dev/sda1 isapparently in use by the system; will not
Linux/centos solves Tomcat memory overflow, centostomcatTomcat itself cannot run directly on a computer. It depends on the operating system and a Java virtual machine. When the JAVA program starts, the JVM allocates an initial memory and the maximum
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