Previously created files I usually use DD to create, for example, create a 512M file:The DD command can be easily implemented to create a file of the specified size, such asDD If=/dev/zero of=test bs=1m count=1000Generates a 1000M test file with a
When we have time, we need to execute some specific programs or scripts at boot time, because it involves the problem of security main plane, so we don't want to do it with root.After viewing Su's help tips,
Brother Bird, Chapter 13.Shell script is slow, suitable for system administration, but not suitable for handling large numbers of numerical operationsvar=$ (OP content) can be used to do the subtraction of variablestotal=$ (($firstnum *
1, from the type of file can be divided into three kinds,With the ls-l query, the "one" begins with the file, the letter "D" begins with the directory (commonly known as a folder), the letter "L" is the beginning of the connection.2. The remaining 9
1 Downloading programsOracle website downloads the corresponding version of the JDK, such as Jdk-6u45-linux-x64.bin or jdk-6u45-linux-x64-rpm.bin;1.7 directly with the tar.gz package;2 installationNote whether the file has Execute Permissions ls-l
In the SSH login software such as SECURECRT, upload/Download the file by entering the Rz/sz command in the Linux interface. For RHEL5, Rz/sz is not installed by default so it needs to be installed manually.SZ: Sends the selected file (send) to the
The Chkconfig command is primarily used to update (start or stop) and query run-level information for system services. Keep in mind that Chkconfig does not immediately automatically disable or activate a service, it simply changes the symbolic
The Linux system is the JDK, Tomact:http://download.csdn.net/detail/u012750578/8177367First step to installing the JDKSu-root Switch to root userSudo-i does not require a password to switch directly to root1. Enter the USR directoryCd/usr2. Create
Signal
Take value
Default action
Meaning (the cause of the signal)
SIGHUP
1
Term
Terminal hangs or process death
SIGINT
2
Term
Interrupt signal from the keyboard
[Linux] nginx tomcat performs load balancing, nginxtomcat
I used nginx as a web reverse proxy and did not perform load balancing. Today I have a student who needs to perform Load Balancing for tomcat. I have also studied it.
There are two
Linux yum command details, Linuxyum command details1. Brief Introduction
Yum = Yellow dog Updater. The main function of Modified is to conveniently Add/delete/update RPM packages. it automatically solves the dependency problem of the package.
Common Linux commands (9)-cat
The cat command is used to connect files or standard input and print. This command is often used to display the file content, connect several files, or read and display the content from the standard input. It is often
LinuxShell parameter extension (ParameterExpansion)
The parameter extension format is $ {expression }. Expression contains various characters until matching'}'. When the following situations occur:'}' Will not be checked for matching:
1) after the
Deploy the VNC Server in CentOS6.6
VNC (Virtual Network Computer) is short for Virtual Network Computer. VNC is a free open-source software based on UNIX and Linux operating systems. It has powerful remote control capabilities and is highly
Redhat configure yum source using centos
Red Hat products include RedHat Linux (such as Redhat8, 9) and Red Hat Enterprise Linux for enterprises. CentOS is short for Community ENTerprise Operating System. Many of us call it a Community ENTerprise
Common Linux commands (10)-nl
The nl command is used in linux to calculate the row number in the file. Nl can automatically add the row number to the output file content! The default result is a little different from cat-n. nl can compare multiple
Install Centos6.4 in unattended PXE
To use pex, kickstart, (ftp, HTTP, nfs), tftp, DHCP, and Centos6.4 are required.
1) ks. cfg file creation1
[root@wwwshare]
#yuminstall-ysystem-config-kickstart
Kickstart creates ks. cfg Based
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