In ubuntu, configure multiple NICs to access the network. Step 1: switch to the root user. Shell code su root Step 2: edit the network configuration file Shell code www.2cto.com vi/etc/network/interfaces Step 3: add the following Java code
RedHat 6.1 Nic binding 1. disable the NetworlManger service. Otherwise, the service NetworlManger stopchkconfig NetworlMangeroff www.2cto.com will conflict with the bond Nic. modify/etc/sysconfig/network-scripts/ifcfg-bond0 configuration file DEVICE
The simplest way to back up and restore the Ubuntu server system is to compress all the files in the/directory into a compressed package. What is needed is to decompress the package and overwrite it back. First, make sure it is the root user. Then
CentOS 6 build VPN Server # install yum source, and pptpd service rpm-Uvh http://poptop.sourceforge.net/yum/stable/rhel6/pptp-release-current.noarch.rpmyum install-y ppp pptpd iptables # edit sysctl. conf file, open the IP packet forwarding
In ubuntu, you can simply build a DNS server in ubuntu to understand how DNS works. 1. Install the corresponding server software. Apt-get install bind9 install bind9 2 and set the primary server domain and domain parsing file vim/etc/bind/named.
GVim in Ubuntu 10.04 Lucid Lynx cannot display the Chinese menu normally. Solution: After Ubuntu 10.04 Lucid Lynx is installed, GVim cannot display the Chinese menu normally. Error message: www.2cto.com reference: Gtk-WARNING **: Invalid input
Methods for obtaining IP and MAC Adr in Linux: struct ifreq {char ifr_name [IFNAMSIZ]; union {struct sockaddr ifru_addr; struct sockaddr Dr; short ifru_flags; int ifru_metric; caddr_t ifru_data;} ifr_ifru;}; www.2cto.com # include # include #
Save the following script as an nginx file and put it in/etc/init. d/nginx then you can use/etc/init. d/nginx start command to start nginx/etc/init. d/nginx stop command to stop nginx/etc/init. d/nginx restart command restart nginx boot
Linux learning-vnc remote learning vnc installation Shell code [root @ SC-026 ~] # Yum install vnc www.2cto.com vnc remote connection first, log on to the remote machine through ssh, use the command vncserver to open a port for the current user, and
Run the following command on the terminal to view the Ubuntu version number in Linux every day: cat/etc/issue can view the version number of the running Ubuntu. The output result is similar to the following content: Ubuntu 12.04.1 LTS \ n \ l method
In Linux, the explanation of/dev/null is in Linux/Unix. Generally, the information displayed on the screen is from stdout (standard output) or stderr (standard error output. Many people will ask why output is output and cannot be sent to the screen.
In linux, if you forget your password, how do you enter the system and want to access the linux system? However, if you forget all your passwords, you can find them online. The following method is a simple one! Restart the system www.2cto.com 1.
LAMP = Linux + Apache + MySql + Php.If you want to install this set of servers or a few of them, you can simply use a single command.Quick installationSudo aptitude install apache2 php5 mysql-server php5-mysql libapache2-mod-php5Admin MySQL requires
I don't know who sorted it out for Linux. I can see it from my friend's BLOG.The following content has been collected to K8 Information Security notepad for your convenience.1./etc/passwd 0x2F6574632F7061737377642./etc/shadow 0x2f6574632f742561646f77
Http://antsw.blog.51cto.com/936097/214975 this article from the "mountain twist" blog
Node1: 192.168.1.253Node2: 192.168.1.254VIP: 192.168.1.250 Environment centos5.2 (I used two machines here)1. Install ipvsadmYum-y install ipvsadm 2. Install
The official MS blog shows a very practical script to remotely wake up the system.
1. Check whether your system supports remote wakeup.
# Ethtool etho | grep 'ake-on'
Supports Wake-on: pumbag
Wake-on: g
G indicates that the instance has been started.
1. The basic concepts of svn will not be detailed here. The next generation of CVS.
2. Basic commands
(1) Search for help svn help
View the help svn help import. Here we have detailed usage of the import command.
(2) svn import
Add a project to svn.
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