Knowledge Point: Linux database backup

Server-side Enable binary loggingIf the log does not start, you must enable Binlog, to restart MySQL, first, turn off MySQL, open/etc/my.cnf, add the following lines:[Mysqld]log-binAnd then restart MySQL, will produce hostname-bin.000001 and

The practice collection of regular expressions in Linux

1. Find the IPV4 address of this machine in Ifconfig "NIC name" command resultIfconfig | Head-n 2 |tail-1 |tr-s "" |cut-d ""-f32. Find out the maximum percentage value of partition space utilizationDF |tr-s "" |cut-d ""-f53, identify the user UID

Common basic commands for Linux: Three musketeers command-awk ternary expression

awk 3-tuple expression, if...else structure can be overridden with a 3-tuple expression[Email protected]:~/linux/awk$awk-V fs=":" '{type=$3>=1000? " Normal user ":" System User ";p rint $1,type}'/etc/passwdroot System User Daemon system User Bin

Linux package installation and uninstallation

three ways to install packagesRPM Package IntroductionMount mount/dev/cdrom/mnt/Usage: Install RPM-IVH rpmUpgrade Package RPM-UVH rpmUninstall RPM-E directly behind the parking nameQuery the installed package RPM-QARPM-Q Package Name, query whether

Linux changes activemq to self-booting

1, under the root permission to operate2, Ln-s/USR/LOCAL/ACTIVEMQ/BIN/ACTIVEMQ/ETC/INIT.D/ACTIVEMQ3, VI/ETC/INIT.D/ACTIVEMQ4, add in the second line# # # # BEGIN INIT INFO # provides: activemq # required-start: $remote _fs

Linux Multicast implementation

Server#include #include #include #include #include #include #include #include #define Server_port 8000#define client_port 9000#define MAXLINE 1500#define GROUP "239.0.0.2" int main (void) {int sockfd; struct sockaddr_in serveraddr,

"Forensic analysis" Linux information collection

# 1, Forensics tools-LiME memory Acquisition tool-volatility memory analysis tool # 2, machine information collection #sysinfo 16# # View current logged on user who > who.txt# # Displays user information for the currently logged in System W > w.txt#

Linux Performance monitoring: Memory

In the operating system, the virtual memory is divided into pages, and the size of each page on the x86 system is 4KB. The Linux kernel reads and writes virtual memory on a "page" basis, transferring memory to the hard disk swap space (swap) and

Linux installation ImageMagick and Imagick extensions

Installing with CommandsRun the following command in turnYum Install ImageMagickYum Install Imagemagick-develYum Install Php-pearThe php-pear is installed to use the phpize in PECLYum-y Install Php-devel2. Installing the C compilerYum Install GCCIf

Linux NFS Introduction

The NFS (Network File system), which is one of the file systems supported by FreeBSD, allows computers in the network to share resources across TCP/IP networks. In an NFS application, a local NFS client application can transparently read and write

Linux View server open port number

Related concepts:In Network technology, ports (port) consist of two types: logical port and physical port.A physical port is a physical port, such as an ADSL Modem, a hub, a switch, an interface on a router that is used to connect to other network

Xshell log in to a remote Linux host

1. OverviewThere are many ways to log on to a Linux host. According to the region is divided into local landing and remote landing.For the physical machine, the local landing is the engine room inside the display and keyboard mouse, some high-end

Expect non-interactive features of Linux

In my last blog post , SSH key authentication for Linux has been used to authenticate each other, but each time I use SSH to log on to another server or enter a password. Expect is a tool that provides automatic interaction, automatically connects

Linux Delete empty line operations: awk, grep, tr, sed

Tag: enter lang \ \ Keep www www. How to enter blankAs follows: How to delete blank linesShen\nshen\\nsensehseheshesheTo really delete empty lines, you can use VIM: Delete empty lines through command mode. Vim in command mode (enter English

"Linux learning is not difficult" process management (4): Kill process kills command

20.4 "Linux learning is not difficult" process management (4): Kill process kills CommandTo close an application can be done by killing its process, and if the process cannot be killed at the moment, it can be forced to kill.Use the KILL command to

Linux (i)

User Directoryis located /home/user , referred to as the user working directory or home directory, the means:/home/userLinuxMain Catalogue Quick Check table /: root directory, only directory under the general root directory, under Linux there is

Linux File management Tools

Linux File management tools: CP, MV, RM1, Cp:copySource file: Destination fileSingle source copy: CP [OPTIONS] ... [-T] SOURCE DESTIf the dest (target) does not exist, the data stream is created and copied to the target file;Eg: Copy the etc/passwd

A summary of the first phase of Linux learning

1. The Dev directory roleDEV is the acronym for Devices. Here the main storage device, CD-ROM, hard disk (under Linux, all files).2. tmp directory PermissionsThe permissions for the/tmp directory are 1777, the last one for other users is t, the

Example of the awk instance of Linux

An instance of awk is detailed in the instance file: 1 root x 0 0 root /root /bin/bash 2 bin x 1 1 bin /bin /sbin/nologin 3 daemon x 2 2 daemon /sbin /sbin/nologin 4 adm x 3 4 adm /var/adm /sbin/nologin 5 1p x 4 7 1p /var/spool/1pd

Linux Common commands

SU User name Switch userShutdown–r now restartShutdown–h now shutdownInit 0 shutdownMV old filename rename new file nameMV FileName Directory Move fileTouch File name creation fileMkDir Folder name Create FolderRm–r Folder name Delete folderRm–f

Total Pages: 5467 1 .... 2125 2126 2127 2128 2129 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.