Today brings you a tutorial on database backup and recovery, when our hands are cheap or do not know what causes the database crash, or even delete the database, you can not run it? So it is necessary for us to do daily backups and related
1 environment variable Path1 Environment variablesThe variables of Linux can be divided into two categories: environment variables and local variablesenvironment variables, or global variables, exist with all the shells, and when you log into the
Standard I/O library common functions use1.fopen functions: Input and output for files and terminals.#include FILE * fopen (const char* filename, const char *mod);2.fclose function: Closes the specified file stream stream.#include int fclose (FILE
[Email protected] ~]# free-m total used free shared buffers cachedmem:258090 218423 39666 665 1930 68694-/+ buffers/cache:147798 110291 swap:24575 4 24571 [[email protected] ~]#Here is an explanation of these values:Second line (MEM): In
How to install SVN under Linux system, here is not introduced, as for the want to see, please: Https://help.aliyun.com/document_detail/52864.html? Spm=5176.product25365.6.748.tdnkrcIn the SVN installation directory there is a hooks folder, modify
The first applet in the book "Python stunt" first showed the ability to hack against the shadow file password in a UNIX system, because it was previously just a phase where the shadow file was stored in the user's password, but was not studied in
I am engaged in the development of UTM, recently encountered out of memory killer. Here's a little bit of information.BrieflyWhen system memory is low, the system triggers Oom-killer.Oom-killer mechanism is to choose to kill the most suitable
The partition of the disk is briefly described in the previous section.So, here is the basic management of the partitions on Linux disks in Linux systems:CreateDeleteModifyView basic management commands such as.And a brief introduction, and then
A 1:ls directory and file under the specified path2:ls-l can display file detail properties650) this.width=650; "title=" 36017290510466862.png "alt=" Ee72d2a591b98a2c65e282696fa0dae5.png-wh_ "src=" https://
Graphical interface and command interface switching># init 3//Switch to command interface># init 5//Switch to graphical interfaceView the executable file location for the instruction> which directiveDirect output file contents to Terminal> Cat
Getting Started with Linux and basic operations5. User Login The user is broadly divided into two types, ordinary users and root users, the difference is: The root user is a special management account, also known as Superuser, Root has nearly
PWD Displays the current locationCD Jump DirectoryLS View contentCd.. /Return to Parent directoryLs-l ViewLsMans LSQ return. DMRCLs-all Show all files including hidden filescd/home/user/Desktop/a/b Path entryCD./switch to the current directorycd ^SU
Fileio1.open () system callHeader file#include #include #include Prototypeint open (const char * name,int flags);int open (const char * name,int flags,mode_t mode);Flags o_rdonly o_wronly O_RDWR O_append each write operation to the end of the fileO_
Categories of basic permissionsAccess mode (permissions):-read/write: Allow viewing of content-read R-Write: Allow content to be modified-write W-Executable: Allow to run and switch-execute xFor text files:R:cat Head Tail LessW:vimX: RunPermissions
1. Introduction to SEDSed is an online editor that processes a single line of content at a time. When processing, the currently processed rows are stored in a temporary buffer called pattern space, followed by the SED command to process the contents
Pxe + kickstart deploy multiple versions of Linux operating system (I) --- principles, pxekickstartPXE Overview:
PXE (Pre-bootExecution Environment), Pre-start execution Environment
Start a computer through a network interface
The workstation
Linux disk device Partition1. View and use devices 1. device status 1) discover devices in the system
fdisk -l
cat /proc/partitions
2) devices discovered by the system that are ready for use but not in use
blkid3) discover devices in use
Df # The
View centos system information
System
# Uname-a # view kernel/OS/CPU information # head-n 1/etc/issue # view OS version # cat/proc/cpuinfo # view CPU information # hostname # view computer name # lspci-TV # list all PCI devices # lsusb-TV # list all
Install vsftpd on Centos7 (FTP Server)
1. Install vsftpd through yum
yum install -y vsftpd
Ii. modify the configuration file of vsftpd
vi /etc/vsftpd/vsftpd.conf
Modify the configuration file as follows:1. Anonymous Access not
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