Seven weeks Five sessions (March 23)10.19 iptables Regular backup and recovery10.20 Firewalld 9 Zone10.21 Firewalld About zone operation10.22 Firewalld about service operations10.19 iptables Regular backup and recoveryBackup, command as
Command audit, using logger method to record information to/TMP, the directory can also be modified by their ownThis is according to the user to classify, if it is not convenient also can use time to classify also lineThis is only in the root user
37.1 Mkbootdisk: Create a standalone boot floppy for running the system
37.2 chroot: Switch the root directory environment
37.3 badblocks: Searching for bad blocks of devices
37.4 MKINITRD: Creating an image file to load RAMDisk
37.5
The uname command is used to print information about the current system (kernel version number, hardware architecture, host name, operating system type, and so on).-A or--all: displays all information;-M or--machine: Displays the computer type;-N or-
Ctrl + U Delete the characters before the cursor to the beginning of the lineCtrl + K Deletes the character before the cursor to the end of the lineCTRL + C cancels the current line Input command, which is equivalent to CTRL + BREAKCtrl + A cursor
10.23 Linux Task Scheduler cronExecutes the command 3 o'clock in the morning every day and the task is scheduled to #crontab-e0 3 * * */bin/bash/usr/local/sbin/123.sh >>/tmp/123.log 2>>/tmp/123.logEvery Monday, five of the even-numbered months of 1-5
Relative path Absolute Road strength:Absolute path: Absolute path is/1/2/3 is the front with rootRelative path: Relative to the road is not with the front/, that is, when switching the directory is not with/1/2/3 if you are under 1 to switch to 2
View Timecal : Displays the current date.Cal 2018 : Displays the year-round calendar. / cal-y Displays the current year calendar.Date : Displays the current time.These few generally do not use to understand.viewing process informationPS : Displays
Linux DNS Configuration Modification tutorial, linuxdns configuration tutorialQuestion
A problem occurs at work. You need to modify DNS resolution.
Solution
Change the/etc/resolv. conf file to the following Configuration:
Nameserver
Non-active users in Linux exit automatically.
Let's imagine this scenario. One of your servers is often accessed by multiple users in different systems on the network. Some users may forget to log out of the session to keep the session in connection.
Manage Users and user groups in Linux and linux User Groups
Step 1: View users in Linux
All user files in the system are stored in/etc/paswd, which can be viewed by running the vim/etc/passwd command.
Step 2: view the user password and validity
Compress and package CentOS documents.
.Rarcompressed file is not identified in linux, and .zip can be used in windows and Linux.
. Gz: Files compressed by gzip
. Bz2: Files compressed by bzip2 compression Tool
. Tar: A file packaged by the tar
Nginx + Lua configuration request replication, nginxlua configuration request
Configure nginx to copy requests and forward them to other applications. The following are the steps you have set up and your understanding to facilitate future use.
1.
Silent Installation of weblogic12c under centos6.8,
Environment:
Centos6.8 No desktop environment
Jdk1.7.0 _ 25
Disable iptables and selinux
Preparations before installation:
1. Create a weblogic user and set the weblogic password.
useradd
Installation and configuration tutorial for the Linux operating system and Virtual Machine VM VirtualBox,
Before use, make sure to download and install the following software:
I operate Linux using a vmvm in Windows.
Virtual Machine: VirtualBox
Nginx STARTUP script (centos/rhel6) tutorial, nginxcentosNginx script
After nginx source code is installed, the script is not started, which is unpleasant. Here, the nginx installation path is/usr/local/nginx.
# Vim/etc/init. d/nginx
#!/bin/bash.
Configure NFS sharing to share files between linux and linux. nfslinux
Configure NFS sharing to share files between linux and linux.
This article uses two virtual machines to simulate
Use one of them as the client and one as the service
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