If you need to manually enable a lot of services after the server is restarted, the work and future maintenance are relatively cumbersome, we have summarized the knowledge and methods involved in the linux automatic startup script, as follows: 1.
Linux time management functions in LInux, the difference between UTC time and LocalTime must be clarified for time management. 1) UTC: GMT (GreenwichMeanTime) 2) localTime is the default time zone configuration file of the local time system. The
Linux process communication (IPC) destination data transmission: a process needs to send its data to another process, and the data volume sent is between one byte and several megabytes. Share Data: multiple processes want to operate on shared data.
Using openssh to implement chroot to secure users who do not want to log on via SSH to browse the files in our system at will and only fix the activities in specified places. Environment: RedHatEnterpriseLinuxServerrelease6.2openssh requires a
The FTP server iptables configuration system: CentOS6.2 software: vsftpd. after iptables is installed, the default iptables rules only allow packets in the RELATED, ESTABILISHED status and SSHD status to enter the server, after vsftpd is installed,
The firewall in Linux is a packet filtering firewall implemented by the netfilter/iptables network architecture. it can implement most of the hardware firewall functions. Therefore, it can be used as a substitute for the hardware firewall in
Similar to iptables, ebtables is a configuration tool for network packet filtering in Linux. Since it is called a configuration tool, that is, the filtering function is supported by the kernel underlying layer, these two tools are only responsible
Iptable-AINPUT-ptcp-dIP -- dport25-jACCEPTiptable-AINPUT-ptcp-dIP -- dport110-jACCEPT1, how do I close all ports? IPTABLES-AINPUT-DPROT1-65535-JDROP2 in the specified port that needs to be opened? (For example: 22) IPTABLES-AINPUT
Iptable-a input-p
Iptables-Fiptables-Xiptables-F-tmangleiptables-tmangle-Xiptables-F-tnatiptables-tnat-X first, clear the three tables and the self-built rules. Iptables-PINPUTDROPiptables-POUTPUTDROPiptables-PFORWAR
Iptables-FIptables-XIptables-F-t mangleIptables-t
The instance disabling ssh port only allows remote ssh login on 192.168.62.1, and prohibit ssh # iptables-AINPUT-s192.168.62.1-ptcp from other computers? # Iptables-AINPUT-ptcp? Dport22-jDROP disable proxy port # iptables-AIN
Instance with
Iptables command: 1. (-N) create a new rule table 2. (-X) delete an empty Rule Table 3. (-P) change the default policy of the built-in rule table. 4. (-L) list rules in the rule table 5. (-F) clear the rules in the rule table. 6. (-Z) clear the rule
Advanced editors all contain macro functions. vim cannot be missing. it is very convenient to use macros in vim: qx starts to record macros, and save the result to the register xq exit record mode @ x play record macro commands in the register x to
Objective: to install a 64-bit Debian system, which adopts the network installation method and Gnome as the desktop system. I. content to be prepared: 1. Debian installation disk (1) Download the installation disk image I chose
Configuring Samba server 1 on Debian introduces that if a certain unit and their desktop computer must use the M $ Windows platform, they may inevitably need Windows server products, for example, WindowsNTServer or Windows2000Serv...
Configuring
In both Linux and Windows, programs that use ports such as nginx, mysql, and apache cannot be started. The following describes how to check whether a port is occupied by that program on Linux and Windows respectively. Www.2cto. comLinux: use the
Use the Shell script in Linux to switch the settings of Maven. xml File 1. Problem background www.2cto.com because there are separate maven configurations in the company and at home, you need to modify settings frequently. the activeProfile in xml
Syntax: iptables-Dchainrulenum [options] Where: chain indicates the chain, that is, the attribute rulenum such as INPUTFORWARD indicates the rule number. Start from 1. You can use iptables-LINPUT -- line-numbers to list... syntax: iptables-D chain
Common parameters for linux network configuration and ifconfigifconfig are described as follows: -a: view the status of all NICS-V: view the version information of the ifconfig command-s: view the statistical information example: Set the IP address
In Linux, the most traditional disk file system (filesystem) uses ext2. therefore, to understand the file system, you must start with ext2. I. file system features the partition must be formatted after the disk partition is completed before the
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