Solve the problem that the hard disk temperature is high when running ubuntu swappiness = 0: the maximum use of physical memory, then the swap space www.2cto.com swappiness = 100: actively use swap partitions, in addition, the data in the memory is
After CentOS is downloaded and installed, you just started to use it. Here, let's take a look at the desktop mode and command line mode switching method. Use the editor to open the/etc/inittab file (vi is used here, you can select the one you like):
This article introduces JBoss and Tomcat respectively, and compares JBoss with Tomcat to give readers a better understanding of JBoss and Tomcat. In recent years, JBoss and Tomcat have become two stars, and JBoss has become the most rapidly
Disable the display of the Apache directory list-Indexes FollowSymLinks: how to modify the directory configuration to disable the display of the Apache directory list. By default, if you enter the address http: // localhost: 8080/in the browser, if
Mysql is set as the linux service cp/usr/local/mysql/share/mysql. server/etc/init. d/mysqldchkconfig -- add mysqldchkconfig -- level 2345 mysqld onchown mysql: mysql-R/usr/local/mysql/service mysqld start apache is set to linux service
How to enable your program to automatically start at linux boot only requires/etc/rc. add your program in local. For example, you can add the following configuration when the nginx service runs automatically at each startup, add the last
Install gtkpod with the ipod shuffle in ubuntu, and then use the GUI. Www.2cto.com does not use iTunes under Ubuntu. How to Use iPod is always subject to some research. In this article, I will explain how to shuffle 2 under Ubuntu! The main
The ubuntu server static IP address and DNS server set the Ubuntu network parameters to be saved in the file/etc/network/interfaces. By default, dhcp and dynamic IP addresses are used to obtain the network parameters. Www.2cto.com: 1)
Linux obtains the process id and name as a shared library, and requires statistics on the Usage Frequency and usage of various applications in this library. In order to make better improvements to the main applications. Www.2cto.com, You need to
Java classpath sets the delimiter between shell script linux bash jar files in batches to ':' www.2cto.com export JAR_HOME = path to directory which limit des jars for f in $ JAR_HOME /*. jar do JAR_CLASSPATH = $ JAR_CLASSPATH: $ f done export
Bash sets vi as the default editing mode to edit the/etc/inputrc file, sets the global readline configuration, and adds the following command: www.2cto.com # I like vi mode, set the default editing mode to viset editing-mode vi # emacs mode settings,
When centos 5.8 is installed for the first time, if you select English, the system will not install the Chinese support package, which leads to garbled Chinese characters (small box) ....... All the methods found on the Internet do not work.
1. Configure the SERVER address as 192.168.0.10, mount the image to/mnt, and install tftp and dhcp, nfs service # rpm-ivh dhcp-* # rpm-ivh tftp-* # rpm-ivh nfs-utils portmap 3, configure to start the dhcp server add the last two lines of filename
Rsync server Construction
This solution uses the client to actively synchronize servers
Server Configuration:
1. Create a directory
Mkdir/etc/rsyncd
Touch/etc/rsyncd. conf
Touch/etc/rsyncd. secrets
Chmod 600/etc/rsyncd. secrets
2. Specify the
Test on the samba server first.Smbclient-L // 127.0.0.1-U username press ENTEREnter the password:[Root @ Gthink ~] # Smbclient-L // 127.0.0.1Password:Anonymous login successfulDomain = [GHOME] OS = [Unix] Server = [Samba 3.0.28-1. el5_2.1]
Sharename
In the maintenance of Linux systems, dependency between Linux software packages is a headache. For example, if you want to install software package A, you are prompted to install software package B before installing software package A. When you
1. view the number of concurrent requests and TCP connection status of the Web server (Nginx Apache:Netstat-n | awk '/^ tcp/{++ S [$ NF]} END {for (a in S) print a, S [a]}'Or:Netstat-n | awk '/^ tcp/{++ state [$ NF]} END {for (key in state) print
NFS IntroductionNFS is short for Network File System, that is, Network File System. the Network File System is one of the file systems supported by FreeBSD, also known as NFS. NFS allows a system to share directories and files with others on the
About swap partition settings:
A popular saying that the swap partition should be twice the size of memory when installing the Linux system. That is to say, if the memory is 2 GB, 4 GB hard disk space should be split as swap space. In fact, this is
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