When installing software in Windows, you only need to double-click the software installation program, or decompress the software by Using Zip or other decompress to install the software. Installing software in Linux is more difficult for beginners
Cursor control command
Command cursor Movement
H or ^ h move one character to the left
J or ^ n move down a row
K or ^ p move up a row
L or move one character to the right by Space
G move to the last row of the file
NG moves to the nth line
◆ Video conversion in Linux: mencoder
Make mpeg4 videos suitable for watching on smartphones and PDAs.
On Linux, there is a powerful video/audio conversion software, that is, the mencoder (Mplayer's Movie Encoder) that comes with MPlayer ).
Update-alternative in Ubuntu/Debian is used to manage the same software of different versions in the system. For example, the GNU Java compiler and SUN Java compiler may be installed in the system. You can use update-alternatives to set which of
KmailThe application is not extensive, and many questions are also an element. I will answer you one question below: how to solve the problem that Kmail cannot receive emails from the other party?
Because the transmission of mail is completed by
SendmailIs the most important mail transmission agent. We need to be cautious about Sendmail security. I will introduce the/etc/aliases file to you.
If not properly and strictly managed, the alias file is used to obtain privileges. For example, many
VsftpdIt is the most popular FTP server program in the Linux release version. It is very easy to use and I have spent a long time. Next I will introduce you to the vsftpd installation process, which is very simple!
VsFTPd software packages are
Figure-FireFTP
FireFoxIn addition to its security and efficiency, the charm of a browser should be its extension. You can add N more interesting or practical extensions on FF to do what you want.
For example, you often need to use FTP software
When using iptables, we need to use commands to execute various services. The following is an introduction:
I. Use IPTables
The first step to use IPTables is to start the IPTables service. Run the following command:
Service iptables start
Warning
ExploitationIPtablesSetLinuxOfFirewallThe procedure is as follows:
A typical firewall configuration includes two NICs, One inbound and the other outbound. Iptables reads the headers of inbound and outbound packets, compares them with the planning
Below is my summaryIptablesCommonCommand:
Command-A, -- append
Example iptables-a input...
It indicates that a new rule is added to a Rule refining, And the rule will become the last rule in the Rule refining.
Command-D, -- delete
Example iptables-d
IptablesIs an IP information packet filtering system integrated with the latest Linux kernel 2.6.x. Each person who uses iptables sometimes usesCloseAnd uninstall iptables. This article describes how to quickly close and uninstall iptables!
Disable
ConfigurationLinux KernelAnd useIptablesPort CreationIngThe specific work is as follows:
Host IP Address: 192.168.1.100
Destination IP Address: 192.168.2.101
Requests to host 192.168.1.100: 11101 must be mapped to the sshd service port of the
Let's take a look.Linux iptablesAdd multipleFtpThe specific method of server ing.
The following two steps are involved:
1. First, convert the source addresses of the three ftp servers to those of the gateway.
192.168.0.254 is the gateway 10.0.0.0/24
ViewIptablesAboutNatOfLogsThere are many methods. Here I will introduce a simple method.
Use iptables-t mangle-a postrouting-j LOG -- log-level debug -- log-prefix "out packets :"
Then modify/etc/syslog. conf
Add a line of kern.
I sorted it out for you.IptablesSo you don't need to turn to other materials!
Iptables Introduction
Iptables is a kernel-based firewall with powerful functions. iptables has three built-in tables: filter, nat, and mangle.
Filters are used to filter
LinuxSystemIptablesThe implementation of the terminal is described as follows:
Preparation: iptable has three groups (tables), mangle queue, filter queue, and nat queue.
1. The first is the mangle table which is responsible for the alteration of
Iptables matchTo onePolicyThen, we will not continue searching for the policy. Let's see why.
That is to say, when a packet arrives at the nic and iptables checks, it is checked one by one according to the rules set in/etc/sysconfig/iptables.
LAMP
LAMP Architecture
The first step in tuning any system is to understand how it works. In the simplest form, LAMP-based applications are written in scripting languages such as PHP and run as part of an Apache Web server running on a Linux
Figure-LAMP
InstallApacheYesLAMPImportant Step:
I have downloaded the required software package to/usr/local/src.
Ls/usr/local/src
Okay. install apache first. Enter the package directory
Cd/usr/local/src
Decompress apache
Tar-zxvf
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