Operating system consists of-kernel-hardware-command interpreter programDevelopment History of Linux1969 Unix Born in Bell Labs1977 Unix was born a more important branch BSD system, since then the major manufacturers began to develop UNIX billing
For CentOS, for example, there is no C language and C + + compilation environment, need to install manually, the simplest is to use Yum installation, the process is as follows:1. Installing GCCYum Install GCCAsk if, press Y to enter, orYum-y Install
Tag: Install the virtual machine operating system.I. The beginning of study1. Give yourself a position (your position, where to go in the future, set a goal for yourself)Two. ConventionsUsing CentOS 7.4, VMware Workstation Pro 14, Xshell, Baidu
12.21 PHP-FPM's Pool
Requirements background:Suppose Nginx has multiple sites, each with its own pool, so that when a site has a problem (such as a 502 error), other sites are unaffected.
The following is an example of setting up [www] and
Common commandsIptables-l-N view firewall rules;Iptables-f to clear all rule chains in the preset table filterIptables-x Clear Preset table rules in user-defined chains in filter/etc/rc.d/init.d/iptables save to write the changes to
Linux Network relatedIfconfig View the IP of the NIC (yum install net-tools)Ifup Ens33/ifdown Ens33 to start and close the NICSet the virtual NIC Ens33:1The place to change is IP and name, and then reboot.If you cannot add a backslash to the colon
Six week fourth session (March 15)ReviewExtendedPrint the contents of a row to a line http://ask.apelearn.com/question/559Print content by keyword, #sed-n '/\[abcd\]/,/\[rty\]/' p testPrint content by number of lines,# sed-n ' 4,8 ' P testsed
Installation and partitioningTwo Ubuntu were installed on the virtual box on OS X and WIN10.Installation and simple shell commands do not say, no big gains.There was a problem in the middle because deft on hand did not allocate enough memory to the
One, create a new disk as swap1. If the system itself has swap, stop swap# swapoff-a2. Create a new disk partition using FDISK, or the parted tool3. Format Swap# MKSWAP/DEV/SDC14. Start a new swap# SWAPON/DEV/SDC15. Add to System Auto mount# Vim/etc/
Note: Almost all device structures contain the structure of "Strcut kobject kobj" and "Srtuct list_head list".struct Kobject kobj:This structure is used to build the model of Linux device driver model.struct List_head{struct List_head
The meaning of the file color in Linux, and the meaning of the linux color
Color
Description
Red
Compressing a file or package
Blue
Directory files
Light blue
Link file
Basic usage of vi/vim in ubuntu, ubuntuvim1 Overview
Vim is a text editor. Code Completion, compilation, error jump, and other convenient programming functions are particularly rich and widely used by programmers. The following describes some
Ssh password-free login, ssh password login
Ssh password-free Login
Note:
Ssh password-less logon requires the public key and private key.
In linux or mac systems, you can use ssh-keygen to generate public/private key pairs.
1. Generate a
L04-Linux CentOS7 network configuration (can be connected to the Internet), l04-linuxcentos7
Although the system demonstrated here is CentOS7, it is also applicable in RHEL6.5, RHEL7, and CentOS6.5.
1.Tool: virtualbox, virtual machine: CentOS7
2.
Role of systemd
In the morning, the group discussed the role of systemd, which also led to a person's direct withdrawal from the group. In the spirit of seeking knowledge, he searched for some systemd and made some corresponding sorting;I. The birth
CentOS6 and CentOS7 install jumpserver and centos6jumpserver1.1 jumpserver Installation
Synchronization time: ntpdate ntp1.aliyun.com
Disable selinux
Disable Firewall
System font changed to English1.1.1 install dependencies (the epel source is
In Ubuntu, the command line is used to create (delete) files (folders ).In many cases, we create and delete files/folders on the terminal.
Press ctrl + alt + t to open the terminal:
Create File: touch a.txt create Folder: mkdir NewFolder delete file:
C Language exercises in Linux: pointers for mystrcmp, mystrlen, and mystrcmpmystrlen
C Language exercises in Linux: pointers for mystrcmp and mystrlen
# Include
# Include
Char * mystrcmp (char * str, char * str1) {while (* (str ++)-*
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