Linux Security shutdown scriptsJudge the key after 4 minutes of power failurePurpose: After the power outage server connection ups,ups can only support 5 minutes will not power, so make a judgment here, if the power outage 4 minutes later, the
dear!First to paste a popular version, hope to understand verbatim, beneficial!$gcc-shared-wl,-soname,libhello.so.1-o libhello.so.1.0 hello.oIn addition establish two symbolic connections again:$LN-S libhello.so.1.0 libhello.so.1$LN-S libhello.so.1
When we are programming, we often want to count how many lines of code we have written, what should we do? Although there are lines of code in the editor such as VIM, you can't open them and add them up? this time need to use WC this tool,
1. Enter the Command:sudo Gedit/etc/x11/xmodmapto Create/etc/x1ll/xmodmap as root.2. Add the Line:keycode 237 = Xf86vendorhome Save.3. Restart the computer and login.4. Now the button should is detected by the OS. You can verify the running the
1 Version InformationSystem version: Red Hat enterpriselinux *2 Configure step 2.1 to add a new userAdd a new user.Useradd username2.2 Modifying user passwordsModify the user password.passwd username2.3 Modifying the passwd configuration
Linux kernel comment -1/boot/bootsect.sThe code comes from the linux0.11 kernel code/BOOT/BOOTSECT.SThis code uses the ASM assembler format to start the code and does not use the/t because the 16-bit mode is not supported at the then-t
Linux vmstat Command Real-combat detailedThe Vmstat command is the most common Linux/unix monitoring tool that can show the status of a server at a given time interval, including server CPU utilization, memory usage, virtual memory exchange, IO Read
In the computer server market, the competition between Windows and Linux is fierce. The biggest selling point of Microsoft products is the system design and good compatibility. However, Microsoft's growing patent restrictions on its software have
Inode--The index node, which stores the file's meta-information to describe all the file features except the file name, including its size, data block location, file type, all device names, number of hard links, read and Write permissions, creation
1 Pre-expansion checkcat/etc/-HPlease confirm the free size of the VG and whether the file and file system is up to the system limit before expanding.2 System Identification Drive# echo "---" >/sys/class/scsi_host/hostnumbers/scanHost found in the
In a VMware virtual machine, when we clone or replicate a Linux system virtual machine, and then start the system, we will find that the system is no longer eth0, and become eth1When we restart the network using /etc/init.d/network Restart , we are
get rsync-3.1.0 I put one in my net. Address:Http://pan.baidu.com/s/1dDs4lStInstallationrsync-3.1.0.tar.gz#tar zxvf rsync-3.1.0.tar.gz#cd rsync-3.1.0#./configure--prefix=/home/work/rsync#make#make InstallConfiguration file Exampleuse chroot = Nomax
1. The following methods can be found:Cat/proc/sys/kernel/threads-max 15882In addition, the actual number of threads in a process can be derived from/proc/{pid}/status:/proc/544#cat status Name:kpsmousedstate:s (sleeping)
Install Tomcat in Centos
To install Tomcat, you must install jdk.
It is not described in detail here. If you do not understand how to install jdk, refer:
Http://blog.csdn.net/u012965373/article/details/42181377
The next step is to install Tomcat.
Linux tee command
Name: tee
Location:/usr/bin/tee
Permission: All Users
Purpose: bidirectional redirection: data streams are sent to files and screens at the same time. stdout is the output to the screen, which allows the next command to continue
Linux command string processing command -- paste
Name: paste
Location:/usr/bin/paste
Permission: All Users
Purpose: paste the corresponding two lines of multiple files together,
Usage: paste [OPTION]... [FILE]...
Option:
-D is the delimiter
How to configure point-to-point VPN on LinuxA Traditional VPN (such as OpenVPN and PPTP) is composed of a VPN Server and one or more clients connected to this server. When any two VPN clients communicate with each other, the VPN Server needs to
Install JDK and Tomcat in CentOS 64-bit and set the Tomcat Startup Procedure
The preparation file is as follows:
1. CentOS-6.4-x86_64-bin-DVD1.iso
2. jdk-7u67-linux-x64.rpm
3.apache-tomcat-7.0.55.tar.gz
The installation procedure is as follows:
1.
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