Run cat/dev/net/tun to check whether tun/tap is enabled before installation.[Root @ lx_web_s1 ~] # Cat/dev/net/tunCat:/dev/net/tun: File descriptor in bad stateIt indicates that tun/tap has been enabled. you can install and configure openVPN.
VPN
TFTP is the simplest network protocol used to download remote files. It is implemented through UDP.
1. install two software
Tftp-0.49-7.el6.i686 (TFTP client software)
Tftp-server-0.49-7.el6.i686 (TFTP server software)
# Yum install tftp
# Yum
Determining the Referer of a request can effectively prevent leeching. This function can be implemented using the corresponding HTTP Referer module of nginx.When the Referer field in a request header contains some incorrect fields, this module can
Because CentOS python needs to be configured multiple times, simply write a script.
Use version: CentOS release 6.3 (Final). Other versions have not been tested.
One-statement installation (sudo or root required ):
[Plain] view plaincopy
Wget
Codeblocks is a cross-platform C/C ++ IDE, but it is not installed on CentOS. We need to install it manually:1. Download wxWidgets (wxGTK) and CodeBlocksDownload the latest release: wxGTK-2.8.12.tar.gz at http://www.wxwidgets.org/downloads/Download
HttpsHttps: Hypertext Transfer Protocol Secure created an httpsHttps is the http that uses the ssl/tls protocol for communication # the current version of SSL/TLS # SSL: Secure Socket Layer v3 # TLS: the importance of SSL/TLS for Transport Layer
(1) CGI scripts can also be used to create Web pages
CGI: Common Gateway Interface public Gateway Interface Protocol
On the httpd server, you can use CGI to create web pages.
CGI mechanism: Convert scripts to Client browsers to identify the
# Group Account ManagementLinux Group Management=- =-= -- =1. group classificationPrivate Group: Only one user can be included (automatically created by the created user)Standard group: can contain multiple users2. Group InformationGroup Name: Group
Today, when I played fail2ban, I suddenly thought of saving the rpm dependency package downloaded by yum. so I found some information on the Internet and sorted it out for future use.
The default path for saving the downloaded yum file is/var/cache/
1. locate ---> searches for the database generated in advance, fuzzy searches, and updatedb updates the locate database.-I: Ignore the case sensitivity of file names.-N: show only the first n rows eg: locate-n3passwd2. find ----> real-time search,
Check the CPU, memory, operating system version, and other information of the Linux server, and summarize common commands for future reference.1. view the CPU model (8 logical CPUs)[[Root @ mail ~] # Cat/proc/cpuinfo | grep "name" | cut-f2-d: | uniq-
Step 1: Create the partition root # fdisk/dev/had à and go to the newly added hard disk.The number of cylinders for this disk is set to 10402. there is nothing wrong with that, but this is larger than 1024, and cocould in certain setups cause
How to install and upgrade an RPM package?Solution: to install an RPM package, you must have an RPM package for the software you want to install. You can download the appropriate RPM package from a website. Of course, the Red Hat Network provides
Convert big5 encoding to utf8. What should I do at this time? Is it hard to convert each file to utf8? This is not required! Use the iconv command!
In the terminal environment, you can use the "wget URL" to download the above files! Laruence
After CenOS 6.4x64 minimal is installed to a minimum, no setup command is available. Nic IP addresses cannot be set in character menu mode or updated using yum.
1. ifconfig eth0 192.168.0.10 netmask 255.255.255.0 // temporarily set the IP address
Vi editor's text description mode: Command mode, edit mode, and last line mode. Switch Mode: Command mode → I → edit mode, edit mode → Esc → command mode, command mode →: → last line mode. Function: Command Mode: controls the movement of the cursor,
In linux, how does one analyze the resource usage of a process? The top command is used here.
#top PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1 root 15 0 2160 636 548 S 0.0 0.1 0:01.36 init 2 root
Meaning of each partition in Linux hard disk partition:Although Linux can be installed in a single large partition according to the partition principle we have mentioned, a better idea is to separate it. Considering the simplicity of a single
1. What is LVM?LVM: (Logical Volume Manager) Logical Volume Manager. LVM combines several physical partitions or disks into a seemingly independent large disk (VG) through software, and then divides this large disk into usable partitions (LV:
When we use the CentOS system, we may feel that some settings are not suitable for ourselves. Although they do not cause great errors, they do cause us a lot of trouble, next I will give you some suggestions to modify your DNS, gateway, and IP
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