sysconfig

Learn about sysconfig, we have the largest and most updated sysconfig information on alibabacloud.com

Virt-manager bridge settings

########## Make the physical network segment and Vm in the same network segment in the bridge mode ################## # Br0: Configure Bridging for eth0 Edit/etc/sysconfig/network-scripts/ifcfg-eth0, enter: # Vi/etc/sysconfig/network-scripts/ifcfg-eth0 Update it as follows: Device = eth0 3 onboot = Yes Ethtool_opts = "autoneg off speed 100 duplex full" Bridge = br0 Hwaddr = B8: AC: 6f: 65: 31: E5 Save a

Linux system iptables configuration commands

Start configurationLet's configure a Filter the firewall of the table .(1) view this institution in IPTABLES the setup situation[Email protected] ~]# Iptables-l–n[Email protected] ~]/etc/sysconfig/iptables[Email protected] ~]/etc/init.d/iptables Status|stop|start[Email protected] ~]/sbin/chkconfig–level 2345 iptables off|on(2) Clear Old rules .Whether or not you start a firewall when you install Linux, if you want to configure your own firewall, clear

[linux]--Build the LVS cluster for Dr mode

LVS load Balancing cluster in NAT modeClient: 1.1.1.254/8LVS Scheduler (Centos6.5) eth0 1.1.1.10/8 eth0:0 1.1.1.1Web server eth0 1.1.1.20/8 Lo 1.1.1.1Web server eth0 1.1.1.30/8 Lo 1.1.1.1Server for NFS 192.168.1.4/24Configuring the LVS Scheduler 1.1.1.10Loading modules[[Email protected] ~] #modprobe Ip_vs[[Email protected] ~] #lsmod | grep Ip_vsConfiguring IP Addresses and VIPs[Email protected] ~]# Cat/etc/sysconfig/network-scripts/ifcfg-eth0Configure

Linux under Basic commands (i)

than 1M in/etc directory[Email protected] ~]# find/etc/-size +1m/etc/selinux/targeted/policy/policy.24/etc/selinux/targeted/modules/active/policy.kern[Email protected] ~]#[Email protected] ~]# du-sh/etc/selinux/targeted/policy/policy.248.1M/etc/selinux/targeted/policy/policy.24[Email protected] ~]#[Email protected] ~]# Du-sh/etc/selinux/targeted/modules/active/policy.kern8.1M/etc/selinux/targeted/modules/active/policy.kern[Email protected] ~]#16. View the top 10 (1b=512 bytes) of a file larger

First knowledge of Suse--linux

manually:Create a file under/ETC/ZYPP/REPOS.D Iso_local.repoThe contents of the file are as follows:[Iso_local]Name=iso_localEnabled=1Autorefresh=1#以下为本地rmp文件夹路径Baseurl=dir:///mnt/isopath=/Type=plaindirKeeppackages=0To add a source on the network, in the way:#zypper ar Http://download.opensuse.org/repositories/home:/Thruth/openSUSE_11.0/My_home_ThruthSome of the related commands:SuSEfirewall2 Stop/start/restart (firewall)#vim/etc/sysconfig/susefirewa

Processing of five strings of Linux shell programming

delete the character starting at the beginning of everything in Word var=/etc/sysconfig/network-scripts/sysconfig/etc/cmd[ [Email protected] ~]# echo ${var#*etc}/sysconfig/network-scripts/sysconfig/etc/cmd2, ${string_var#*word}# in the string_var variable stored in the substring, from left to right, look for the first

Linux multi-NIC load balancing: Bond

input text.)[Root @heng ~] # cp/etc/sysconfig/network-scripts/ifcfg-eth0/etc/sysconfig/network-scripts/ifcfg-bond0Make sure the/etc/sysconfig/network-scripts/ifcfg-bond0 content is the same as the following[Root @heng ~] # cat/etc/sysconfig/network-scripts/ifcfg-bond0device=bond0Bootproto=staticbroadcast=192.168.1.255

Linux iptables settings in detail (GO)

In any case, iptables is a need for special care to set up something, in the event that the server is not around you, and you rushed to set up to prevent SSH, then wait for the boss scold it, hehe ...The following is written to prevent this from happening, of course, but the general server is sufficient:1. First introduce the instructions and related configuration filesStart command: Service iptables startRestart command: Service iptables restartShutdown command: Service iptables stopThen the re

Linux system basic Network configuration

1. Configure the host name to change:Temporary method:Hostname localhost# exit the current shell and re-login can take effect. This method can only be modified in a temporary way and fails after the system is re-established.Permanent method:Method 1:Vim/etc/sysconfig/networkhostname=localhostwq!#/etc/init.d/network restart#hostname localhost tip: This will guarantee the temporary effect, The restart system also took effect.Method 2:Additional modifica

Linux Static IP Configuration

Title: How to set a static IP address for a Linux system Centos OS 6.5Vi/etc/sysconfig/network-scripts/ifcfg-Default modification:/etc/sysconfig/network-scripts/ifcfg-eth0File:/etc/sysconfig/network-scripts/ifcfg-eth0 for eth0device=Eth0bootproto= none# This line ensures that the interface would be isbrought up during boot. Onboot= for most outbound connectio

Haproxy load Balancing +keepalived high-availability web clusters

192.168.1.40 httpd Haproxy+keepalived-1 Centos6.7_64 192.168.1.10 Haproxy, keepalived Haproxy+keepalived-2 Centos6.7_64 192.168.1.20 Haproxy, keepalived Gateway Centos6.7_64 192.168.1.1 Iptables Deploying Web-11. Configure the IP addressvim /etc/sysconfig/network-scrips/ifcfg-eth0DEVICE=eth0TYPE=EthernetONBOOT=yesNM_CONTROLLED=noBOOTPROTO=st

LINUX (FC Series) Start service detailed

Hat Linux has four tools for automating tasks: Cron, Anacron, at, and BATC. When your Linux host does not turn on all the time, this anacron can help you perform work that has not been performed during the "crontab" setting. For example, when your host shuts down at 12:00 in the evening, but crontab this routine work is done at 4:00, the routine work is not working. But it can be done with Anacron.Whether you need to start: If the host has been powered up 24 hours and Cron is running, then the

The summary of network configuration under Linux

: ########################## Temporary method: Hostname Oldboy Exit the current shell and log back on to take effect. This method can only be temporarily modified to take effect, and will fail after the system is reset. Tip: Many people use hostname hostname to modify, in fact this is only temporary, reboot will revert to the configuration before the host name. Permanent method: Law I: Step 1: Vi/etc/sysconfig/network Change the inside hostn

Shell script creates a virtual machine and configures the network card IP address (two scripts)

name:"echo "Please later ..."#将虚拟机的磁盘文件挂载到/media/virtimage Directoryguestmount-d $name-I $mountpointecho "---------------------------------------"Read-p "Please enter the IP address to configure:" IPRead-p "Please enter the number of subnet mask bits to configure:" num#静态地址Sed-i "s; (bootproto=).; \1none; "${mountpoint}/etc/sysconfig/network-scripts/ifcfg-eth0#开机自起Sed-i "s; (onboot=).; \1yes; "${mountpoint}/etc/s

Operation Record of binding network card under Linux

Mod_unload Modversions then the NIC binding settings [[emailprotected] ~]# C D/etc/sysconfig/network-scripts/[[emailprotected] network-scripts]# cat ifcfg-eth0device=eth0hwaddr=ec:f4: bb:dc:4c:0ctype=ethernetuuid=669f0694-9c52-4792-bd67-22c9d2c17acbonboot=yesnm_controlled=nobootproto= Nonemaster=bond0slave=yes[[emailprotected] network-scripts]# Cat ifcfg-eth1device=eth1hwaddr=ec:f4:bb:dc:4c : 0dtype=ethernetuuid=1d2f30f4-b3f0-41a6-8c37-54f03115f7bdon

Static Routing | Dynamic Routing | How the default route is configured

) using the route command, the machine restarts after the failure of specific see "Linux Routing Configuration Command route learning", the form is as follows: Route add-net 192.168.0.0/24 GW 192.168.0.1(2) The use of IP command, machine Restart after the failure of specific see the Linux Network Configuration command IP (ifconfig+route) Summary, the form is as follows: IP route add 192.168.10.0/24 via 192.168.5.100 Dev eth1(3) Configure the routing information in the/etc/

Linux Terminal display garbled solution __linux

It programmer development must-all kinds of resources download list, the most complete IT resources in history, personal collection summary. Putty Chinese Garbled Solution methodMethod One: Open Putty Main program, select Window-〉appearance-〉fontsettings-〉change ..., select Fixedsys font, character set select chinese_gb2312. In the window-〉appearance-〉translation, Received data assumed to is in which character set, change the use font encoding to UTF-8 if used frequently, Save these settings i

Install Oracle 11g in Oracle Enterprise Linux

Install Oracle 11g in Oracle Enterprise Linux. Prepare the server and operating system. 2. Check the redhat kernel version. [root @ redhat ~] # Uname-r 2.6.32-131.0.15.el6.i686 installation package check [root @ redhat sysconfig] # rpm-qa | grep binutils binutils-2.20.51.0.2-5.20.el6.i686 www.2cto.com binutils-devel-2.20.51.0.2-5.20.el6.i686 [root @ redhat sysconfig] # rpm-qa | grep compat- libstdc ++ compa

Linux Firewall prevents DOS and DDOS attacks

following command:Chkconfig -- add ipchainsSet ipchains to auto startNext, check whether the ipchains configuration file/etc/sysconfig/ipchains exists. If this file does not exist, ipchainsIt does not take effect even if it is set to automatic start. The default ipchains configuration file is as follows:# Firewall configuration written by lokkit# Manual customization of this file is not recommended.# Note: ifup-post will punch the current nameservers

Cent OS viewing Server Information

. LogMore/root/install. log | WC-l10 view installed software packagesRpm-QaRpm-Qa | WC-lYum List Installed | WC-l11 view the server keyboard layoutCAT/etc/sysconfig/keyboardCAT/etc/sysconfig/keyboard | grep keytable | cut-F2-D =View SELinux statusSestatusSestatus | cut-F2-D:CAT/etc/sysconfig/SELinux12. view the IP address and MAC address of the server Nic.In the

Total Pages: 15 1 .... 10 11 12 13 14 15 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.