Ls
The code is as follows:
$ ls #查看当前目录下文件conf lnmp_install.sh README vhost_ngx_pagespeed.shinit.sh ngx_pagespeed.sh Source vhost.sh
The code is as follows:
$ ls conf #查看conf目录下文件index.html nginx.conf pureftpd-mysql.conf tz.phpInit.d.nginx pure-ftpd.
PS1 (is the number 1 instead of the letter L), there may be a small difference in the special notation within each version of Bash's PS1 variable, and you can bash the man first. The following are the meanings that the default special symbols in the
ATS (Apache traffic server) is a high-performance HTTP proxy and cache server, the latest version of June 21, 2016 is 6.1.1.
Download Address: Http://trafficserver.apache.org/downloads
Compile and install ATS
Install Dependency Pack
# yum
The IO performance of a disk is an important indicator of the overall performance of the computer. Linux provides the IOSTAT command to obtain disk input/output (i.e. IO) statistics, and Windows provides a WMI interface that allows you to write a
512M VPS Optimized Apache memory
View current memory consumption
Ps Aux|grep httpd
Basic one occupies about 50M
PS Aux|grep httpd | Wc–l
A total of 13, minus the grep httpd line of 12, indicating a footprint of about 600MServer 512M memory
Building a git server requires a machine running Linux that is strongly recommended for use with CentOS:
Create a git user to run the GIT service:
Useradd gitSu-git//Switch to git under this userThe public key for all users who need to log on is
1. Linux Fork Bomb Command :() {: |: &};: Known as fork Bomb, is a Linux system that rejects service attacks. :() {: |: &};: is a bash function. As long as it is executed, he will keep repeating until the system is frozen. You can only reboot the
One, what is Coredump
We often hear that the program core dropped, need to locate the solution, the majority of this refers to the corresponding program due to a variety of anomalies or bugs caused in the operation of the abnormal exit or stop, and
Beijing Time September 25 news, Linux users today again got a "surprise"! The Red Hat security team found a cryptic and dangerous security breach in a widely used bash shell in Linux. This vulnerability is referred to as "Bash bugs" or "Shellshock".
Sosreport is a supportconfig tool, Sosreport is a tool written in Python that works for CentOS (like Redhat, package name is SOS), Most versions of Linux, such as Ubuntu (its next package is named Sosreport). The managed pages sosreport on GitHub
You can count the current number of connections by following this command
Netstat-n | awk '/^tcp/{++s[$NF]} end {for (a in S) print A, s[a]} '
This statement returns the following results
1.time_wait 3462.FIN_WAIT1 853.fin_wait2 64.ESTABLISHED 1
There are usually 4 ways to copy files between different Linux1.ftp2.samba Service3.sftp4.scp
The above three methods, are more cumbersome, here do not repeat. The simplest approach is the SCP, which can be understood as the CP command under the
Under Linux, use FDISK to partition the hard disk: first delete the original partition, and then create a new partition
1) Delete partition
The code is as follows
Copy Code
[Root@standby root]# FDISK/DEV/SDC The number
rsync (remote synchronize) is a data synchronization tool that synchronizes files between local and remote hosts using the rsync algorithm.The advantage of rsync is that only two files are synchronized in different parts, the same parts are not
HD is IDE HDD SDA is SCSI hard diskFor example , Sda2: Represents the first 2 partitions of a SCSI hard disk ;linux 4 partitions ( primary and extended partitions ) 1-4 start the logical partition starts at 5 . First Partition sda1
DNS and Bind (2)Installation configuration for bind:Bind:berkeley Internet Name Domain, isc.orgDNS: protocolAn implementation of BIND:DNS protocolNamed:bind process Name of the program runningPackage:Bind-libs: A library file used by the programs in
Linux process and Job management (2)CentOS 6:http://172.16.0.1/fedora-epel/CentOS 7:http://172.16.0.1/fedora-epel/Process Management class Commands:Htop command:Options:-D #: Specify the delay interval;-U UserName: Displays only the process of the
QT Cross-platform, that must be on the Linux platform to compile a can run under Windows QT Program, of course, and qtcreator environment to get together. Working environment: Centos 7yum Install qt5-qt* ming32-qt5-qt* ming64-qt5-qt* # installs all
Use kettle to insert the text file content into the mysql table under the Linux Virtual Machine. kettlemysql
I. decompress the kettle package
1. Copy the package to Linux.
Mysql driver package
2. decompress the zip package
Enter the command:
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