First, weekend110 Linux with the graphics system installationSecond, network configurationis clearly configured Ah, can only be said to be a domain name problem,Problems with Ping:unknow host www.baidu.com solve the problem of resolv.conf emptying
Anti-Quote "'The usage of this thing, I Baidu a bit, and $ () is the same. When you execute a command, the statements in either, or $ () are executed once as a command, and the result is added to the original command for re-execution, for
First, why to study the Linux system boot:Perhaps someone will say, wait for it to turn on the good, why also to study its boot process, in fact, if the server runs very well and no human error operation, and so on, may not need to study, but in
LS Lists the current directoryCD entry to the specified directorymkdir Creating a DirectoryTouch Create FileLS-L lists the details of the file, Unix commands, and the detailed properties of all the visible files in the current directory, in long
This script is the second update, has been heavily used in a large media site system, added some previously did not think of some security settings. Use the method to copy it, save it as a shell file, such as security.sh. Upload it to a Linux server,
7 Types of boot levels in LinuxRunLevel 0: System down state, system default RunLevel cannot be set to 0, otherwise it will not start normallyRunLevel 1: Single User working status, root privilege, for system maintenance, remote login
Instance:Regular access to a URL every 5 minutes
# CRONTAB-E
#*/5 * * * */usr/bin/curl http://aa.com:8080/tools/sitemap.php >>/home/task/logo.txt "This sentence is edited in crontab, can not use the back of that & Gt;> written in the
The philosophical thinking of Linux:1. All documents (including hardware)2. Combine multiple programs for a complex task3. Not relevant to the user interface4. Save the configuration data as textExplain:
All documents (including hardware)
In
Self-made Linux and kernel compilation 1, partitioning and creating file systemsFdisk/dev/sdbDivided into two necessary partitions/DEV/SDB1 corresponding/boot/dev/sdb2 corresponding to the root/Mkfs.ext4/dev/sdb1Mkfs.ext4/dev/sdb2650) this.width=650;
How Linux blurs to find a fileSearch for the specified file in the current directory:Find. -name Test.txtTo search for files under the current directory:Find. -name ' *.txt 'Search for a file of a specific property in the current directory:Find.
Crontab-E: Perform a text editor design timed task, the default text editor is VI-L: List all scheduled TasksCrontab file format is "M H d M D cmd"M stands for minutes, h for hours, d for Day, M for month D for week (0-6, 0 for Sunday)* * * * * * sh/
1. Prepare before installation:Install the development environmentGet kernel source package (www.kernel.org)Install packages*curses*Install the Environment Pack GroupServer Platform DevelopmentDevelopment Tools2. Install the Environment Pack
1 CD commandCommand format: CD [directory name] (CD and directory separated by spaces)The CD enters the user's home directory;CD ~ Enter the user's home directory;CD- Returns the directory where the directory was before it entered;CD.. Return to the
1, the control of the standard inputSyntax: Commands Mail-s "Mail Test" [email protected] The file file1 as the content of the letter, the subject name is mail test, sent to the recipient.2, the control of the standard outputSyntax: commands > Files
Date: Time ManagementLinux:Real Time Clock RealtimeNTP (Network time): protocolHardware clock: Our command clock command is the hardware time displayedSystem clock: Our date command is the system time displayedThe two mutually converted
Tomcat, Linux ServerThe command to useDecompression command: TAR-ZXVF file nameConfiguration:Vi/etc/profilePress I to enter insert modeAdd the code at the end of the file:Export java_home=/usr/local/server/jdk1.8.0_91Export classpath=.: $JAVA
(not to be continued, in order to deal with the abominable 51cto Night audit system)1. Copy the/etc/rc.d/rc.sysinit file to the/tmp directory and add # to the beginning of the line with at least one whitespace character in the/tmp/rc.sysinit
Variable and variable type
Compiler, Interpreter
Programming Languages: machine language, assembly language, and advanced language
Static language: compiled language
Strong type (variable type): variables must be declared and initialized
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