Modify firewall port opening method under Linux

CentOS7 's firewall has been replaced by firewall, here are some records, here are some commands:To add an exception port:# Firewall-cmd--add-port=8080/tcpTo remove an exception port:# Firewall-cmd--remove-port=8080/tcpTo view the exception port:#

7 Levels of Linux

The Linux system has 7 runlevel (runlevel): RunLevel 0: System down state, system default RunLevel cannot be set to 0, otherwise it will not start normally RunLevel 1: Single User working status, root privilege, for system maintenance,

II: Linux Users and user groups

Linux is a multi-user system, no time there are many accounts on the system login, operation, so it is important to manage users.1. User article--/etc/passwd,/etc/shadow1. Add Account--useradd Useradd [-u uid] [-g gid] [-d home] [-m] Span class=

One, Linux installation

1. Install the virtual machinevmware-workstation-full-12.5.62. Install Linux operating systemUbuntu-16.10-server-amd64Note: Do not configure the keyboardDo not turn off the power of the virtual machine directly, just like a direct power outageEnter "

Modify swap partition size under Linux

It is understood that there are two ways to create swap space under Linux, one is to create a swap partition, and the other is to create a swap file. This article records the method of creating a swap file, because I'm using this method:To add a

Common compression commands in Linux

. zip Format compression Zip compressed file name source file Compress files Zip-r compressed file name source directory Compressed directory . zip Format Decompression

Shutdown and Disk Management commands in Linux

Common shutdown commands Shutdown -H shutdown -R Restart Halt Poweroff Reboot restart Logout Exit Login Command Disk Management Commands Df -h displays disk capacity

Linux File Search command

Locate file name Search by file name in the background database, search faster Background database location for search/var/lib/mlocate The background database defaults to an update one day, you can force the update by using

The path of Linux learning

Chapter III pipeline character, redirection and environment variables  The pipe command , "|", is used to treat the standard output of the previous command as a standard input to the latter command,Format: "Command a| command B"  input and output

Linux operations, architecture-git version Management

First, the common version management system1. SVNCentralized version control system, only one central data warehouse, if the central data warehouse is hung or inaccessible, all users cannot use SVN, cannot commit or backup files2. GitDistributed

Linux command----chmod

Function: Change the file's ownership rightschmod [OPTION] ... Mode... FILE ...u userGroup Go OtherA All users (default)+ Add Permissions-Delete Permissions= Reassign PermissionsR ReadW WriteX executions set user (or group) ID numberT set the sticky

Configure Squid agent under Linux

agent tools, xxx ToolsYum install-y Squid (Install squid service)Configuring the Forward proxy (for access control in the enterprise, etc.)vim/etc/squid/squid.conf (Edit squid config file)......ACL http Proto http (add protocol)ACL good_domain

FTP installation and configuration under Linux

Pure-ftpdcd/usr/local/src/wget http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.42.tar.bz2 (Download pureftp source package)Tar jxvf pure-ftpd-1.0.42.tar.bz2 (unzip)CD pure-ftpd-1.0.42./configure--prefix=/usr/local/pureftpd--without-

Linux Directory Detail Daquan (recommended)

Linux Directory detailed description, convenient for you later reasonable planning and management "/": the root directory of the Linux file system. It is also the highest and most important directory. In addition to other directories, and the

The first day of Linux learning

1. User Login SwitchLogin with adminSu or su-Admin Switch General user (Guowei)Su-guowei (user name)2. Directory switching3. View the directory in which you are locatedPWD (Displays the directory in which it resides)Cd.. /(Go to previous layer)

The CentOS7 of Linux

FirewallSystemctl Stop firewalld.service #关闭firewallsystemctl disable Firewalld.service #禁止firewall开机启动SYAVINGCSelinux#关闭SELINUX vi /etc/selinux/config#selinux=enforcing replace selinux=disabled:wq! 0 #使配置立即生效SYAVINGCModify Time ZoneLN

Three more special permissions for Linux

Linux also has three more special permissions, namely:setuid,setgid,stick bit .-: Indicates generic fileD: Represents a catalog fileL: Indicates a linked fileB: Represents a block deviceC: Indicates a character deviceP: Indicates pipelineS:

One error on Linux bridge

I. BACKGROUND notesRecently participating in a private cloud project, network mode leverages the CENTOS7 default bridging mode. The operating system is CentOS7.4, the customer installs it himself, and then tells us that the usual toolkit is

The difference between Linux and Windows

The current domestic Linux more is applied to the server, and the desktop operating system more use of Windows. The main differences are as follows compare Windows Linux interface interface

Thinkphp is working properly in Windows, uploading to a Linux server, the view does not push in the wrong solution

The graph does not exist when it appears;Ken may be the case of the view template file because it is;For example, the presentation view file written in the controller is named for the small hump; Goodslist; the name of the view file is, try to keep

Total Pages: 5467 1 .... 3756 3757 3758 3759 3760 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.