sysconfig

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

Linuxiptables firewall settings FAQ

no unified approach. -- In RHEL and Fedora Linux, the boot script itself is/etc/init. d/iptables. Therefore, you can manually disable the script: /Etc/init. d/iptables stop You can use chkconfig to disable this service item if it is enabled each time. Chkconfig iptables off --If SLES is used, modify the/etc/sysconfig/network/config configuration, which can be found in: # With this variableyou can determine if the SuSEfirewall when enabled # Shocould

Linux Firewall prevents DOS and DDOS attacks

ipchains Function First, check whether the ipchains service is set to auto start: Chkconfig -- list ipchains The output is generally: Ipchains 0: off 1: off 2: on 3: on 4: on 5: on 6: off If the column 345 is on, the ipchains service has been set to auto start. If not, run the following command: Chkconfig -- add ipchains Set ipchains to auto start Next, check whether the ipchains configuration file/etc/sysconfig/ipchains exists. If this file does not

[note] The general structure of the script under/etc/init.d/

http://sunxiaqw.blog.163.com/blog/static/99065438201111715813443/Let's take named as an example:#!/bin/bash## named this shell script takes care of starting and stopping # Comment: Give the script a role# named (BIND DNS Server).# # chkconfig:-45 # comment : gives named start /off level , such as /etc/rc3.d/s55named. /init.d/named /etc/rc6.d/k45named. /init.d/namedchkconfig:345 85 15 (This is interesting, 345 means that the setting is on in that level, if one does not want to be

High Availability lnmmp

=/var/tmp/nginx/scgi--with-pcre--with-file-aiomakemakeinstall Provide service scripts for nginx #!/bin/sh##nginx-thisscriptstartsandstopsthenginxdaemon##chkconfig:-8515#description:NginxisanHTTP(S)server,HTTP(S)reverse#proxyandIMAP/POP3proxyserver#processname:nginx#config:/etc/nginx/nginx.conf#config:/etc/sysconfig/nginx#pidfile:/var/run/nginx.pid#Sourcefunctionlibrary../etc/rc.d/init.d/functions#Sourcenetworkingconfiguration../etc/

Linux host anti-DDoS and CC attack Solutions

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 through# Firewall; such entries will ** not * be listed here.: Input accept: Forward acceptUtput accept-A input-s

Linux iptables firewall setting FAQ

Distro and disable clearing rules? Each release version provides its own firewall script to automatically bring in the setting rules at startup, so there is no unified approach. -- In RHEL and Fedora Linux, the boot script itself is/etc/init. d/iptables. Therefore, you can manually disable the script:[Copy to clipboard] [-] CODE:/Etc/init. d/iptables stop You can use chkconfig to disable this service item if it is enabled each time.[Copy to clipboard] [-] CODE:Chkconfig iptables off --If SLES i

Common Linux operations

using common centos commands DF-H Fdisk-l You can also view partitions. Du-SH The occupied space is displayed. DU/etc-SH The directory size is displayed. 8. Use common centos commands to view installed software packages View the software packages installed during system installation Cat-N/root/install. Log More/root/install. log | WC-l Check the software packages that have been installed. Rpm-Qa Rpm-Qa | WC-l Yum List Installed | WC-l But it is strange that the number of installation packages I

Commands and methods for viewing the kernel, CPU, memory, and component versions in Linux

the cpu is 32-bit or 64-bit View CPU bits (32 or 64) # Getconf LONG_BIT # Echo $ HOSTTYPE # Uname- Iv. view the current linux version # More/etc/RedHat-release # Cat/etc/redhat-release V. view the kernel version # Uname-r # Uname- 6. view the current time Date 7. View hard disks and partitions Df-h    Fdisk-l You can also view partitions. Du-sh The occupied space is displayed. Du/etc-sh The directory size is displayed. 8. View installed software packages View the software packages installed du

CentOS command for viewing various service information

CentOS command for viewing various service informationView the server CPU Model Grep "model name"/proc/cpuinfo | cut-f2-d:View server memory capacity Grep MemTotal/proc/meminfo Grep MemTotal/proc/meminfo | cut-f2-d: Free-m | grep "Mem" | awk '{print $2 }'Check whether the server's CPU is 32-bit or 64-bit Getconf LONG_BITView the current Linux version More/etc/redhat-release cat/etc/redhat-releaseView Linux kernel version Uname-r Uname-View Current server time DateView server hard disks and parti

Common CentOS commands and common centos commands

. 8. View installed software packagesView the software packages installed during system installationCat-n/root/install. logMore/root/install. log | wc-lCheck the software packages that have been installed.Rpm-qaRpm-qa | wc-lYum list installed | wc-l 9. view the keyboard layoutCat/etc/sysconfig/keyboardCat/etc/sysconfig/keyboard | grep KEYTABLE | cut-f2-d = 10. View selinux InformationSestatusSestatus | cut-

SuSE 10 Nic binding

Suse10 Nic binding 1. Create a configuration file Localhost:/etc/sysconfig/Network # Touch/etc/modprobe. d/bonding. conf Localhost:/etc/sysconfig/Network # Vim/etc/modprobe. d/bonding. conf Alias bond0 Bonding Options bond0 miimon = 100 mode = 1 2. Configure the NIC Localhost:/etc/sysconfig/Network # Touch ifcfg-bond0 Localhost:/etc/

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

Linux NIC Configuration and binding

NIC Binding technology has been out for a long time, in different platforms under the name of different, in Linux called BONDING,IBM called etherchanel,broadcom called Team, but the name of how to change, the effect is to two or more network card as a network card use, Increase the bandwidth at the same time can also improve redundancy, seven modes, generally used more is to improve redundancy, respectively, and different switches connected to improve reliability, but sometimes the server bandwi

Linux Viewing hardware environment

installation packages I've queried through RPM, and Yum, is not the same. No reason was found.Nine: View the keyboard layoutCat/etc/sysconfig/keyboardCat/etc/sysconfig/keyboard | grep KEYTABLE | Cut-f2-d=Ten: View selinux statusSestatusSestatus | Cut-f2-d:Cat/etc/sysconfig/selinux11: View Ip,mac AddressIn the Ifcfg-eth0 file you can see Mac, Gateway and other in

About Iptables on Linux

There are several commands: 1, service iptables staus 2, service iptables start 3, service iptables Restart there is a configuration file/ect/sysconfig/iptables execute the first command When found no response, to the/ect/sysconfig/directory is not iptables this file, should be iptables not installed, then through the Yum command to install1 Yum install-t iptablesReference Information Link: http://www.cnblo

Linux Change Static routes

One: Use the route command to add use the route command to add the route, the machine restarts or the network card restarts after the route is invalidated, method: //added to the host Route #route add–host192.168.1.11deveth0#routeadd–host 192.168.1.12gw192.168.1.1//routes added to the network #routeadd–net192.168.1.11 netmask255.255.255.0eth0#routeadd–net192.168.1.11 netmask255.255.255.0gw192.168.1.1#routeadd–net 192.168.1.0/24eth1//Add a default gateway #routeadddefaultgw192.168.2.1/ /Remove R

Linux single, dual NIC configuration and mismatch

When all the machines are configured with the IP, it is easier to set up with Setup and then edit the configuration file for configuration.A, the Eth0 configuration IP address of a network card:Vi/etc/sysconfig/network-scripts/ifcfg-eth0:Device=eth0Onboot=yesBootproto=staticipaddr=192.168.1.20gateway=192.168.1.1netmask=255.255.255.0-------------------------------------------------------------------------------------------B, a network card eth0 configu

Linux under the network card configuration supplemental __linux

The NIC configuration file for RedHat 9.0 can be located in the following three locations. /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/networking/devices/ifcfg-eth0 /etc/sysconfig/networking/profiles/default/ifcfg-eth0 Only the configuration files located in/etc/sysconfig/network-scripts/are present by d

Remove Eth0.bak and redundant network cards from Linux systems __linux

Remove Eth0.bak and redundant network adapters from Linux systems Deleting redundant ifcfg-eth0.bak in a VM CentOS a Eth0.bak configuration backup file appears after the system changes the NIC or Nic MAC address Workaround: /etc/sysconfig/networking/devices directory, delete Ifcfg-eth0.bak /etc/sysconfig/networking/profiles/default, remove Ifcfg-eth0.bak /etc/sysco

View hardware information in CentOS

packagesView the software packages installed during system installationCat-n/root/install. logMore/root/install. log | wc-l8. view the keyboard layout using common CentOS commandsCat/etc/sysconfig/keyboardCat/etc/sysconfig/keyboard | grep KEYTABLE | cut-f2-d =9. Use common CentOS commands to view selinux InformationSestatusSestatus | cut-f2-d:Cat/etc/sysconfig/s

Total Pages: 15 1 .... 7 8 9 10 11 .... 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.