Manage Linux commands on the server

1. check whether webshell Trojans are placed in the root directory of the site. determine if they are PHP Trojan scripts based on the statement # find/storage/www/-name & quot ;*. php & quot; | xargsgrep-in -- color & quot; eval (& quot; # grep-I --

Install and use MySQL in Linux

I. introduction I have been using Linux for a long time. I have never studied Linux since I have no hard tasks or systems. Recently, I have to use MySQL in Linux for my work. I thought I had experience using SQLServer in Windows and thought it would

Implementation of printf in Linux kernel (printk and vprintk)

We should be looking for the implementation of printf, which is actually available in the linux kernel. I would like to check how to output text since linux covers the interrupt vector table? Check the printk code and find that the original printk

Parameters of the LinuxShell script

$0 ---- the name of the current program is actually an internal parameter, different from $1, $2... because it must have! $ # ---- The total number of parameters passed to the program, that is, the legendary array size $? ---- When the previous code

Basic linux cluster knowledge

Generally speaking, a cluster is an architecture that combines several electric brain cells in a certain way to complete each specific task. LB and loadbalancing can achieve load balancing to a certain extent to achieve high availability of HA,

Use rsync to back up images from linux to linux or to windows

Rsync is a data Image Backup tool in Linux. it can be seen from the software name & mdash; remotesync. Rsync supports most Unix-like systems, including Linux, Solaris, and BSD. The latest version of rsync can be downloaded from http: // rsync

U disk boot, grup write

G: \ Boot \ grub use notepad to open menutitle [12] windows ** chainloader/bootmgr (hd0) + 1linux, vmlinuz, initrd. copy the img and images files to the USB flash drive title [12] and install RHEL6kernelmlinuzinitrd/initrd. jia Xiaoyang, img author

Real-time synchronization of a large number of small files in sersync2

Sersync2 can synchronize a directory on a machine to multiple machines in real time, which is very suitable for a large number of small files such as web pages. 1. configure the synchronization target server # vi/etc/rsyncd.

Rsync + inotify for real-time unidirectional synchronization

SOURCE Server 10.13.114.16 destination server 10.13.114.17 objective: to synchronize the source server 10.13.114.16/home/admin/www/Folder files to the/home/admin/www Directory of the target server 10.13.114.17 in real time: install rsyncwgethtt on

Linux environment variable display

Env name: run a program in a modified environment: env [Options] & hellip; [-] [NameValue] & hellip; [Command [Arg] & hellip;] description: in the environment, set the Name Value to Value and run the specified Command options:-I, -- igno. Env Name:

Linux startup process

Because of the different BIOS functions, it consists of two parts: the POST code runtime service. After the POST is completed, it will be cleared from the memory, but the BIOSruntime service will be retained for the target operating system. In order

Common rpm commands

Common rpm commands 1. install a Pack # rpm-ivh2. upgrade a Pack # rpm-Uvh3. remove a Pack # rpm-e4. installation parameter -- force installation even if it overwrites files belonging to other packages -- nodeps if the RPM Package's

Configure the Java development environment in Linux

1. Deploy (RPMinself-extractingfile, j2sdk-1_4_2_06-linux-i586-rpm.bin ). 2. upload to the Linux service... 1. go to the http://java.sun.com/j2se/1.4.2/download.html to download a Linux Platform JDK, it is recommended to download RPM self-Extract

Comparison between Linux and doscommands

Command description doscommand Linux command Copy file copycp transfer file movemv list file dirls clear screen clsclear close Shellexitexit display and set date datedate delete file del/rmrm display output on screen echoec... Command

Create swap partition

The swap partition in Linux is similar to the virtual memory in windows. it is used to replace some memory pages that are not used in the memory into the file system through some algorithm, so as to free up more memory to run other programs. when

Set static IP addresses in Linux

The first thing to do after installing Linux is to set an IP address to access the internet. This article describes how. set static IP addresses. (1 ). command line setting (this method is only temporary setting and will expire after the system is

Use stardict to obtain words in vim

1. installation, mainly install plug-in sdcvsudoapt-getinstallsdcvstardictstardict-tools2. it is perfect to add the script gvim, because vim does not have the calltip function, so it can only split the window & hellip; details are as follows: in ~ /.

Modify the host name in redhatlinux

View host name: uname-a modify host name: modify host name in redhat Step 1: # hostnameoratest Step 2: modify hostname in/etc/sysconfig/network Step 3: modify the/etc/hosts file suselinux: modify the/etc/HOSTNAME file. in this file, ensure that...

Php restart nginx script

Restart nginx by executing/usr/bin/nginxdrestart. the script content is as follows :#! /Usr/local/php/bin/php & lt ;? If ($ argv [1] & quot; start & quot;) {echosystem (& quot; ulimit-SHn51200 & quot;); echosystem (& quot;/u Restart nginx by

Shell records dangerous commands executed by the alarm system

#! /Bin/bashcd/u1/Operation_log/# formatlogforiin 'ls-l | awk & amp; #39; {if (NR1) next; print $ NF} & amp; #39; 'docat $ I | perl-pe & amp; #39; s/\ e ([^ \ [\] | \[. *? [A-zA-Z] | \]. *? \ A) // g #! /Bin/bash Cd/u1/Operation_log/ # Format logFor

Total Pages: 2732 1 .... 1975 1976 1977 1978 1979 .... 2732 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.