On the centos server, configure a Nic configuration (linux and automatic Nic startup). The Nic configuration file is stored in the directory:/etc/sysconfig/network-scripts/specific configuration file: ifcfg-xxx; if eth0 is ifcfg-eth0, lo is ifcfg-lo
In linux, # is used in Shell scripts to express comments, which is equivalent to the C language // comments. But if # is at the beginning of the first line and is #! (Shebang) is an exception. it indicates that the script uses the specified
In linux, scp is used for remote file transfer, and the reverse CT technology is used. The password can be automatically entered. 1. edit copycgi. sh. the main user filters the files to be transferred. the content is as follows :#! /Bin/bashpath &
Commands used to refresh DNS cache are often used but are often forgotten. record it here to be prepared. hahaha, this may also be a cup of opportunity for many attacking lions and programmers. Run the command ipconfig/displaydns to check the dns
I installed ubuntu on the TF card using a virtual machine and recently studied Linux. considering that I may not carry my notebook around in the future, I hope to carry a Ubuntu system with me, you cannot install a Linux system on another computer.
Ubuntu accesses the Internet through proxy, and how to use apt-get to update. if your company's network architecture accesses the Internet through a proxy server, Ubuntu may encounter problems when using apt-get updates. Even if you have configured
Abstract: By default, the iptables information filtering system is installed in centos. Currently, you need to configure the system to allow remote access to mysql. Related Knowledge: iptables related 1. iptables service/etc/init. d/iptablesstart |
I. basic iptables configuration 1. view the settings of IPTABLES on the local machine [root @ tp ~] # Iptables-L-nChainINPUT (policyACCEPT) targetprotoptsourcedestinationChainFORWARD (policyACCEPT) targetprotoptsourcedes 1,
IptablesBasic
Create a new user named "add ROOT permission" "configuration" "cannot use the TAB key" in ubuntu. 1. create a user named www.2cto. comadduser create user name passwd create user name add new user 2. create home directory # cd/home1. create home
Recently, the linux commands grep, awk, cut, uniq, wc are used to calculate the number of players who use commands every day. comgzip-c-dnohup.out. 'date + % Y % m % d '*. gz | grep/web/api/logic/logicDispatcher | awk & amp; #39; {FS & quot; &
Nginx is famous for its high concurrency and memory saving. I believe most people who install nginx want to know their nginx performance. I would like to share with you the stress testing methods and results of using the AB tool. AB is a performance
Generally, Xshell is used to connect to and manage the Centos/Debina server terminal through SSH. by setting the terminal type, 256 colors can be enabled to display more colorful colors. View the current terminal type: echo $ TERMxterm-color view
CactiCacti built on nginx is a set of network traffic monitoring graphical analysis tools developed based on PHP, MySQL, SNMP and RRDTool www.2cto. comCacti and Nagios are now using a large number of network monitoring software. The difference
In the Linux editor, nano is used. 1. When will nano be used? Generally, the network is very stuck. When Using vim/vi for ssh, the window will die, or the server will crash. 2. how to use it? Open www.2cto.com or create a new file # Disable
The most detailed mrtg settings in history indicate that Mrtg can be used to monitor linux parameters. if you do not understand them, you can search for them. today, I mainly want to explain how to set it. i. early stage ??? Ww.2cto.com (1) MRTG
Sftp command copy artifacts when you want to copy files from one server to a local, or even from one server to another. So, you don't have to look for a USB flash drive. you can use sftp, an artifact! Www.2cto.comsftptest@192.168.1.1 after entering
Objective: to start a ubuninerinstance with ubuntu12.04-amd64 installed through lxc, and then build a LAMP (Linux + Apache + Mysql + PHP) environment in this instance. specific steps: www.2cto.com (1) install mysql: sudoapt-getinst...
Objective: to
For centos to configure the virtual host domain name, first comment out DocumentRoot/var/www/html. for example, we configure two virtual hosts with IP192.168.0.3. Edit/etc/httpd/conf/httpd at www.2cto.com first. conf configuration file
Linux Ftp service dual-machine hot standby system: opensuse11.332 bit hot standby service software: LVS: ipvsadm-1.26-3.1.i586.rpmKeepAlived: keepalived-1.2.2.tar.gzwww.2cto.com installation steps: A, lvs rpm Package installation is more convenient #
[O & M personnel? Why? 02] 20 built-in monitoring tools for Linux: vmstat and netstat? Communications Administration? Song? Too many ?? Yellow? Argon? [O & M personnel? Why? 01] 20 built-in monitoring tools for Linux systems: top-level gossip,
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