Objective:In Linux, in order to better understand and make the server in order to run, the administrator needs to do the process and scheduled tasks to do the appropriate operation, so as to better complete the maintenance task.Here we do some
Linux Common commands:uname-a | Cat/proc/version Viewing the system versionVi/etc/systemd/system/crane.serviceSystemctl Daemon-reloadSystemctl Restart Crane.serviceReids:Redis-cli-h 10.10.10.190Info clientsConfig get maxclientsMore 2017-12-12.log |
The deployment and use of the Linux-based git platform
System environment#cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core)
Install Git##yum安装git#yum -y install git
Create a git user and set a password#useradd git#passwd git
The function of the DF command in Linux is to check the disk space usage of the Linux server's file system. You can use this command to get information about how much space the hard disk is taking up, and how much space is left.Grammar:DF [-ahikhtm]
6.5.3 Cat &1Reads data from standard input stdin (0) and displays it in standard output stdout (1)6.6 unameView Kernel version InformationUname-r3.10.0-327. El7. x86_64Major version minor version rhel7 64-bit operating system6.7 LscpuDisplaying
The previous section made a note of the basic properties of the file, and the last note notes on the properties and attribute groups of the Linux fileI installed the virtual machine operating system version also kalilinux but the system boot speed
Examples of case usages on Linux:#!/bin/bash# This is a script forTest CaseAsk_count=$1#从参数获取该变量的值 #if[-Z"$ASK _count"] #判断ASK_COUNT变量是否为空, NULL output 1, NOT NULL output 2 Then Echo "1"Else Echo "2"fiEcho "ask_count: $ASK _count" Case$
A basic commandcan add path after LSCD ~LS-A lists hidden folders A lot of them start with.LS-L lists permissions modification times for filesmkdir Creating a folder mkdir-p contiguous foldersPWD Displays absolute pathsTouch Create empty
In this article we will introduce the famous pipes and nameless pipes in the inter-Linux process.A. Nameless pipe
Nameless pipe is a special type of file, the corresponding resource in the kernel is a special memory space, this space is
1. InstallationExecute yum-y Install vsftpdNote: (1) You can check whether the VSFTPD is installed by Rpm-qa|grep vsftpd .(2) The default configuration file is/etc/vsftpd/vsftpd.conf2. Create a virtual user for the VSFTPD server(1) Select Create FTP
SSH service for managing remote Linux host services, using SSH serviceView Linux host SSH Package command: RPM-QA | grep OpenSSHThe SSH service is divided into server side and
1. Add user with Useradd user name command2. Use the passwd user name command to set the user password3, the user new success, at the same time will affect the following files:The ①/etc/passwd file will increase the user's rowExecute CAT/ETC/PASSWD
In Linux, it is common to use crontab to do planning tasks. This document records a troubleshooting processFault descriptionSet up Scheduled Tasks in Crontab, execute the script 3 o'clock in the morning every dayConrtab (3 points) Tomcat
Building a Zen Road in Linux
1. One-click installation in linux
The linux one-click installation package has built-in applications such as apache, php, and mysql. You only need to download and decompress the package to run the Zen Road.
Download
Linux two-way linked list operation implementation tutorial, linux tutorial
Linux bidirectional linked list operation implementation tutorial
The code is located in include/linux/list. h. The linked list is initialized:
static inline void INIT_LIST_
Two methods for compiling and installing httpd2.4 in Centos 6: centoshttpd2.4Method 1: Download and decompress
wget http://mirrors.hust.edu.cn/apache//httpd/httpd-2.4.29.tar.gzwget
Linux Rserve installation tutorial, linuxrserve
Linux Installation
The R language is applicable to multiple versions of Linux.
Linux versions are different. You can use the yum Command, as shown below:
Install R
Yum install R
However,
Details of common linux tail commands and linuxtail commands-----------------------------------------------------------------------------Tail: the last few lines of the output file.It is convenient to view logs in linux. Assume that the log file is
Configure jdk environment variables in Linux and linuxjdk Environment Variables
1. Download the JDK linuxinstallation package from the official Oracle website. Here, jdk-8u11-linux-i586.tar.gz is used]
Note: run the command to view the number of
How to install tomact in linux
1. Download tomact
2. decompress the tomact address.
Tar zxvfapache-tomcat-8.5.27-deployer.tar.gz
3. Move tomact to the usr/local/toamct directory and name it tomact.
Mvapache-tomcat-8.5.27/usr/local/tomact
4.
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