Share your own linux backup script (webdata + mysql) the function is used with crontab to automatically back up the website directory and mysql local copy ftp copy mailbox copy local and ftp automatically delete 3 days ago linux requires sendmail
The scheduled reboot of EmbeddedLinux under the friendly ARM Micro2440 recently used timed restart for the ARM server in the internship company, so I checked the relevant information today. I found that there was no specific method for my current
Vi (vim) is a commonly used editor on Linux. by default, vi (vim) is installed in many Linux distributions ). There are many vi (vim) commands, but if they are used flexibly, the efficiency will be greatly improved. Vi is the abbreviation of
Linux learning a & mdash; vnc Remote learning vnc installation Shell code [root @ SC-026 ~] # Yuminstallvncwww.2cto. comvnc remote connection first, log on to the remote machine through ssh, use the command vncserver to open a port for the current
Completely solve the problem of insufficient TCP client ports [problem] when making large concurrent performance calls at www.2cto.com, we often encounter a problem: the client port is exhausted. [Cause] after analysis, the main cause is that there
This article describes how to use iptables to create NAT in linux. we can use it as a gateway so that multiple machines in the Lan can use a public IP address to connect to the Internet. the method I use is to override the source address and target
Destination NAT changes the destination IP address of the data packet. when a data packet from the Internet accesses the public IP address of the network interface of the NAT server, the NAT server converts the destination address of these packets
About iptables firewall configuration in linux, the relationship between Iptables and netfilter modules in the firewall in linux is not a service, but a module loaded into the kernel. This module is the netfilter module. We use iptables to manage
On the eth0 server, the external address eth0: 192.168.1.223eth1 is set to the internal address eth1: 11920.2.1. the function to be implemented now is to limit the entire exit to 512 kbit (upload traffic ), download traffic of the 192.168.2 network
1. use shell to compress and decompress File 1. compression: tarcvfztarget file source file 1[source file 2..w.tarcvfzm.tar.gz hello. cpphello. h // m.tar.gz is the target document, hello. cpp and hello. h is source document 2. decompress:
Iptables-F # Allow packets to enter iptables-AINPUT-ptcp from port 22? Dport22-jACCEPT # The packet that allows access from port 22 returns iptables-AOUTPUT-ptcp? Sport22-mstate? StateESTABLISHED-jACCEPTiptables-AOUTPUT-pudp? Dport5
Iptables-F
#
In linux, iptables proxy is used for Internet access. 1. Gateway/proxy server (proxyserver) iptables: the firewall software iptables in linux has two features: 1, firwall2, nat address translation rpm-qa |
Raid is a tool installed by default using raidtools. add hard disk raid members as hard disk partitions first to hard disk partitions 2. install raidtools3. process modification script raidstop/dev/md0cp/usr/share/doc/raidtools-1.00.3/raid1.conf.
1. after adding a new hard disk, you can use fdisk-l to view and confirm the new hard disk. In linux, device files are stored in/dev: 1) IDE hard disk is represented as hd, SCSI is represented as sd, 2) The first block is represented as. The second
In vi/vim, you can use the: s command to replace the string. : S/vivian/sky/replace the first vivian in the current row with sky: s/vivian/sky/g, replace all vivian in the current row with sky: n, $ s/vivian/sky/replace the first vivian from row n
Note: System: debian6.0.4IP address: 192.168.21.166 subnet mask: 255.255.255.0 Gateway: 192.168.21.2DNS: 8.8.8.88.8.4.4 operation: System O & M reminder: qihang01 original content copyright, reprinted, please indicate the source and original article
[Notes about swap] 1. swap is generally referred to as a "swap space" and serves as a "virtual memory" on Windows ". 2. swap is actually a space on the hard disk. 3. the data stored in the swap cannot be directly used by the CPU. If the CPU wants to
Because many configuration files have been renamed, such as/boot/grub. conf seems to have changed to/boot/grub. although cfg is relatively small, it may affect compatibility. Most linux and unix use. conf to change the configuration file name to.
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