Configure a NIC for the centos server (linux and automatic startup of the NIC)

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

Linux FAQ 1

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 reverse CT technology is used to support automatic password input.

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 &

Refresh DNS cache command

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

Use a virtual machine to install ubuntu on the TF card

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.

How does Ubuntu use apt-get to update the Internet through proxy?

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

Configure iptables firewall for CentOS to allow external MySQL access

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 |

How to configure iptables firewall in CentOS

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" and "configure" in ubuntu. The "TAB key" cannot be used 」

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

Recent linux commands grep, awk, cut, uniq, wc Practical Application examples

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; &

Use AB for nginx stress testing

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

Change the terminal color of the LinuxSSH terminal to 256 colors

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

Set up cacti on nginx

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

Use the Linux editor nano

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

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 artifact

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

Build the LAMP environment in ubuntu12.04 (for contianer-based PaaS)

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

Configure the virtual host domain name in centos

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

Implement dual-host hot backup for Ftp service in Linux

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

[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,

Total Pages: 2732 1 .... 191 192 193 194 195 .... 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.