Hard LinksThe new file is an alias for a file that already exists, and the new file is still available when the original file is deleted.Hard Link Features:1, with the same I node and the same storage block fast, can be seen as the same file2, can
Distributing applications on Linux is not always easy. There are a variety of package formats, basic systems, and available libraries, all of which are a headache as distributions are released over and over again. Now, however, we have something
Linux Kill is a command to terminate a process. By sending a different signal to the corresponding process.Kill command parameter:
-L signal, if no signal number parameter, then use the "-L" parameter will list all the signal names-a The
XCache is an open source opcode cache/optimizer, which means that he can improve PHP performance on your server. By buffering data from the compiled PHP to shared memory to avoid duplication of compilation, he can increase speed by directly using
First, the installation of Mutt
1 yum-y Install SendMail
2 #需要安装sendmail并开启防火墙的25端口, if you need mail, 110 ports are open.
3 Yum-y Install Mutt
Second, configuration information
About the configuration information, there is a point to explain,
The following summary from Bird Brother's Linux private dish-Server (third edition), while the students like Linux are recommended to learn to read.
For Linux Kernel 2.6+
I. Schematic firewall
Diagram Firewall
The diagram above is very
Explain if you are configuring your network.
[Root@arch ~]# ls/sys/class/net/#查看有哪些可用网络eno16777736 Lo[Root@arch ~]# ip addr add 1.1.1.21/24 dev eno16777736 #给接口eno16777736配置ip为1.1.1.21 Subnet Mask bit 255.255.255.0[Root@arch ~]# IP link set eno16777
First enter the folder you want to back up to, and then execute the following commandBack up database, SSH command: mysqldump-p database name-u database username > bak.sql (also can be the file name you want)Do not compress backupsMYSQLDUMP-P
Method OneSuppose we currently have two servers:(A) *.111(B) *.222Now we are going to copy all the files in the/temp/directory on the *.111 server to the/test/directory of the *.222 server;Let's do the command line mode:Type the following
Download jdk1.6
Access to Oracle official website, select Downloads-->java se--> pull down the bottom of the page, click Previous Releases-java Archive after the Doenload button, select Java SE 6, select Java SE Development Kit 6u45, download this
Under Windows WinRAR almost unified compression software market share, WinRAR is only a RAR in the Windows environment of the graphical interface, the core function or RAR, then how to install RAR in Linux?
1. Download rar
Download Address: http://
The problem should be that the/usr/home/boot partition disk detected a problem.
Give root password for maintenance
(or type control-d to continue): After entering the password, it appears:
(Repair filesystem) 1 #
Execute the following command:
#
Iptables IntroductionIptables is a core based firewall, very powerful, iptables built-in Filter,nat and mangle three tables.Filter is responsible for filtering packets, including the chain of rules, input,output and forward;NAT is concerned with
Another disadvantage of "Postfix", which is widely used in mail services, is much less, or it is designed to address the shortcomings of sendmail. Corresponding to the shortcomings of SendMail, it is also relatively mature in all aspects. Therefore,
The recent VPS often unstable, vps easy to die and no swap swap space, card after the death of automatic restart, the installation of CentOS when the MySQL did not boot up, resulting in each reboot can not access the Web site, must manually connect
In a Linux hierarchy, users can create a new directory using the mkdir command in any given directory, or you can use the CD command to convert from one directory to another. However, there is no prompt to tell the user which directory is currently
Method One, filter some IP access to this server
To shut down an IP, use this command:
The code is as follows
Copy Code
Iptables-i input-s ***.***.***.***-j DROP
To unlock an IP, use the following command:
1 Crond Service not started
Crontab is not a function of the Linux kernel, but relies on a crond service that can be started and can be stopped as well. If you stop and you can't perform any scheduled tasks, the workaround is to open it:
Crond
Or
This is a program developed by Red Hat following GPL rules. It has an interactive operation interface that allows you to easily set the time zone of the system time by using the arrow keys and space keys.SyntaxTimeconfig [-- arc] [-- back] [-- test]
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