1. Edit Firewall configuration: Vi /etc/sysconfig/iptables Firewall Add New port 7022-a input -m state --state new -m tcp -p tcp --dport 7022 -j accept=================================
#chkconfig命令: Run-level information primarily used to start/stop and query system servicesDisplays the health status information for all run-level system services:[[email protected]_168_102_centos ~]# chkconfig --listabrt-ccpp
GPASSWD (1) User commands GPASSWD (1)NameGPASSWD-Administrators/etc/group and/etc/gshadowBigGPASSWD [Options] GroupStrokeThe GPASSWD command is used to Administer/etc/group, And/etc/gshadow. Every group can has administrators, members and a password.
I understand that the Linux system boot sequence is as follows, if there are differences, can be explored together.The order in which Linux systems boot up is:
BIOS self-test, check hardware, select boot media such as CD or HDD Oru disk and so
2005years4Month7Day,Linus Torvaldsreleased a new generic tool package called "git "(The Git Source code management system). "Git "(source code control System), General people do not, but, system developers must, especially large system development.
Use the shortcut keys under Linux
Ctrl + a switches to the command line start
This operation is the same as the home implementation, but the home is not available in certain UNIX environments, it can be used, the VIM under Linux is
Groupadd (8) System administration commands Groupadd (8)NameGroupadd-Create a new groupOutlineGroupadd [Options] GroupDescribeThe Groupadd command creates a new group account using the values specified on the command line plus the default values FR
1:yum Install subversion?2: input rpm-ql subverionrpm-q app---software is installed svn-help---can see how SVN is used? 3: Create SVN repository directory mkdir-p/VAR/SVN /svnrepos?4: Create a repository svnadmin create/var/svn/svnrepos the command
Linux timed TasksThe crontab command option is basic only for user action options:-U Specify user-l List A user task schedule-R Delete a user task-e Edit a user taskView a user's scheduled tasks crontab-u root-lTo view all users can only enumerate
File system:Rootfs: #根文件系统FHS: Linux/boot: #系统启动相关的文件, such as kernel, INITRD, and Grub (bootloader)/dev: #设备文件 block device: Random access, block character device: linear access. by character/etc: #配置文件/home: #用户的家目录, each user's house directory
Configure yum local in Linux 6.2, linux6.2yum
Yum
1. Mounting the iso file
[Root @ localhostmedia] # mount/dev/cdrom/media
2. Install createrepo
Createrepo is the configuration tool for configuring the YUM source. Check whether the createrepo
RHEL6.5 Delete desktop starters (computer/Home/recycle bin) and rhel6.5 starters
First install gconf-editor to get the gconftool-2 command
Terminal command:
Gconftool-2 -- set/apps/nautilus/desktop/computer_icon_visible -- type = bool
Precautions for Centos7 Installation
I recently purchased a new server. Most servers and PCs do not have optical drives. I used usb to install the system this time.
The server performs raid 1.
1. Prepare a USB flash drive of about 8 GB;
2;
3,
Disable UseDNS to accelerate SSH Login through CentOS
Users who often log on to SSH can feel that every time they log on to SSH, they always have to wait for a moment to connect. This is because the OpenSSH server has a DNS search option, UseDNS is
Configure static IP for centos7
Centos7 is installed along the way according to the developer type during initial installation. It is already set to bridge Mode in vmware. It is said that the network is automatically connected according to DHCP, but
Centos memory release command
An old PHP backend server was checked with free-m today and found that the memory was full.
Next, press shift + m, that is, sort by memory usage percentage, and find that the process ranked first occupies 0.9%. What
Modify the number of TCP connections in CentOS
I. Modify the limit on the number of files
(1) vi/etc/security/limits. conf
Join:
* Soft nofile 32768
* Hard nofile 32768
Save and exit. Log on to an ssh window (or log on to the local machine again)
Enable FTP service in CentosStep 1: # chkconfig vsftpd on // start the vsftpd service at startupStep 2: #/etc/init. d/vsftpd start // enable the vsftpd serviceStep 3: # vi/etc/vsftpd. conf // edit the vsftp configuration fileFind the following and
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