Simple Linux Command learning notes, linux learning notes
1. View Processes
Ps-ef | grep keyword/* keyword is service name */
Netstat-unltp | grep keyword/* the keyword is the service name or port */
2. Killing Processes
Kill-9 process no./*
How to build a tomcat https server in Centos (original) and centoshttps
IInstall java jdk to configure Environment Variables
1. Uninstall the original openjdk
Yum-y remove java-1.7.0-openjdk *
Yum-y remove tzdata-java.noarch
2. Download and
Simple configuration of Samba in Centos6.5, centos6.5samba
The purpose of this article is to describe how to configure a simple and available samba service in CentOS6.5 environment and access its files through windows.Install related software
# yum
CentOS7 -- iptables configuration, centos7 -- iptables
In the Red Hat RHEL7 SystemFirewalld ServiceReplacedIptables serviceBut can still be usedIptables commandTo manage the netfilter of the kernel.
Common Control types in the iptables command
System Service commands and how to enable system servicesCrontab-l view current task crontab-u User Name Current user Task Plan crontab-e change plan crontab-r Delete task time command minute day month week 0 */8 *** every eight hours execute this
Commands for linux IP address encapsulation: the command for a single IP address is iptables-I input-s 211.1.0.0-j DROP www.2cto.com. The command for IP address encapsulation is iptables-I INPUT-s 211.1.0.0/16-j. DROP iptables-I input-s 211.2.0.0/16-
Linux (10) ___ iptables firewall, linux ___ iptables
I. Functions of the firewall
Iii. Classification of firewalls
III. Basic iptables Syntax:
Table:
Filters are commonly used. nat is used for address ing conversion.
Configuration file:
/Etc/
How to check whether a Linux server is under DDOS Attack
Address: http://www.phpthinking.com/archives/427
Log on to your server and run the following command as the root user to check whether your server is under DDOS Attack:Netstat-anp | grep 'tcp \
In Centos 6.9, the default port of SSH is modified.
There are a lot of blogs about modifying the default SSH port of Centos6.5 in Linux. I won't bother here, but in the face of Centos 6.9, there will be a big pitfall;
After modifying iptables, run
Linux iptables firewall basic application tutorial, linuxiptables
Iptables is a common firewall software in Linux, the following describes how to install and clear iptables rules. iptables only supports the specified port. iptables shields basic
Install XRDP on CentOS for Remote Desktop Access
After obtaining the root permission, we will install the Fedora source to facilitate the subsequent use of the yum command to install the required software package. Install the Fedora source file on
Clusters and high availability, clusters available
1. Cluster:
With the development of the Internet, a large number of client requests are flocking, and the server load is also growing. However, the load on a single server is limited, in this way,
Install Bugzilla 4.4 On CentOS
For open-source tools, Bugzilla is a bug tracking software that tracks defect databases based on web records. It is also a free and open-source software (FOSS ), its bug Tracking System allows individuals and
Enable remote access to centos mysql, centosmysql
Log on to MySQL: mysql-u root-p db;
To change the password, use mysqladmin-u root password NEWPASSWORD for the first time.
Set: mysqladmin-u root-p 'oldpassword' password newpassword
Run the
Set up IPSec VPN in CentOS 6.31. install required Libraries
CentOS:1yum update2yum install pam-devel openssl-devel make gcc
2. Download strongswan and decompress it (* indicates the current Strongswan version number)1 wget http://download.strongswan.
Iptables summary, iptables Summary
Iptables is a firewall in Linux that can filter data packets in Linux. The following describes the application of iptables.
① Iptables has five hook Functions in Linux)
PREROUTING: The data packet enters the host
Netfilter/Iptables, netfilteriptablesNetfilter/Iptables
The Linux kernel is developed and maintained by the www.kernel.org organization. The Netfilter/iptables discussed below is the firewall software developed for Linux by www.netfilter.org.
1. Check whether Samba is installed on CentOS.
# Rpm-qa | grep samba
Note the version number. If the main installation package of samba is missing, you need to download and install the main installation package based on the installed version, or
LNMP optimization (I)I. Preparation and configuration of Centos before optimizationPrepare the installation package and software:Http://pan.baidu.com/s/1chHQF download unzip to the u disk to installOther http://pan.baidu.com/s/15TUWf versions of
Background Environment: developers are not allowed to access the Internet, but some special websites are required to access the Internet. All websites that use squid for transparent proxy access previously thought of haproxy, later, it seems that
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.