The Lynis is a UNIX-system security audit and hardening tool that enables deep-seated security scans to detect potential time and advise on future system hardening. The software scans general system information, fragile packages, and potential
???/etc:linux System Configuration FileConfigure the following static address parameters for the virtual machine server– Host Name: server0.example.com? ? – IP Address: 172.25.0.11???? – Subnet Mask: 255.255.255.0– Default gateway:
One, the Linux operating system support function library BranchStatic libraries: LIBXXX.A, compiling libraries into executable programs at compile timeAdvantage: No external function library is required in the program's running environmentCons:
In Linux, often parsing a domain name, the first will find /etc/hosts file, if the /etc/hosts file does not correspond, will go to find DNS, then what is the way to let the host first look for DNS it?Of course, it's defined in the /etc/nsswitch.conf
To use Mininet and OvS, to get a lightweight Linux environment, install Docker on your Mac and experience the convenience of Docker.1. Installation Environment requirementsSystem Requirements:docker for Mac would launch only if all of these
1. Introduction1.1. Official website: https://www.rabbitmq.com/2. Installation and configuration:See: Https://docs.openstack.org/ha-guide/shared-messaging.html#rabbitmq-configure2.1. Install: Do it on each nodeInstalled directly with Yum, the
One, add and root permissions of the same user1.AddUser Adminpasswd Admin (change password)Then enter the password (the password is easy to pass)You are prompted to enter a confirmation password and then enter it again. OK to add success.2. Modify
Grasping Writer: Li Pengju No.: 20179203
(
original Works reproduced please specify the source )
(Study course: "Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000)
First, the
After installing ZSH, the default startup execution script becomes ~/.ZSHRC.Workaround:Mac:Modify the ~/.ZSHRC file to add: Source ~/.bash_profile, source ~/.BASHRC; Note: Under Mac there will be a. zlogin file, which is the first to start, and then
https://www.ibm.com/developerworks/cn/linux/l-ipc/Introduction to several main means of interprocess communication under Linux:
Pipe and well-known pipe (named pipe): Pipelines can be used for communication between affinity processes, and
In writing shell scripts, we often have to deal with some input parameters, it is more convenient to find getopts in the process, and can handle the parameters and parameter values of user input very well.Getopts is used to process user input
When debugging a project under Ubuntu, use the Tomcat container, and after setting up the appropriate Tomcat LOCAL path and related information, click Debug Project to appear:Unable to open debugger port:java.net.SocketException "Socket
Linux Programming Implementation PWD commandIn Linux, everything is file. Directory is actually a kind of file, but this file is very special, it is stored in a corresponding table, that is, the file name and I node of the corresponding relational
1. Delete a 0-byte file0 -exec rm-rf {} \;2. View the process#按内存从大到小排列-E "%c :%p:%z:%a"|sort-k5-nr3. By CPU utilization from large to small arrangementPs-e "%c :%p:%z:%a"|sort -nr4. Print out the URL in the cacheGrep-r-a jpg/data/cache/*
MySQL database master-slave separation configuration method, mysql database master-slave Separation1. Introduction
Setting read/write splitting for the MySQL database enables write and read operations on the database to be executed on different
Sed commands use metacharacters with regular expressions, and sed commands use regular expressions
1. IntroductionSed is a non-interactive editor. It does not modify the file unless you use shell redirection to save the results. By default, all
Centos7.3 build wordpress by compiling and installing LAMP Based on source code
Software environment:
Apr-1.6.2.tar.gz
Apr-util-1.6.0.tar.gz http://apr.apache.org/
Httpd-2.4.27.tar.bz2 http://httpd.apache.org/
Php-7.1.10.tar.xz
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