Xshell is a remote control of Rhel software, and many others, with nothing (according to the company).Let's install the following tool:Double-click exeClick Next:Choose Free then Next: (Free feature is enough)Click Accept, and then next:Choose a
Linux system acquires NIC IP1, authentic there are 6 ways to take the IP sed (3) +awk (2) +egrep (1)
SED (replacement): () \1 [^0-9.] Pinch Head | To the end
awk (delimiter): [:]+ addr| Bc
ERGEP (-O): ([0-9]{1,3}\.?) {4}
2.
~ ll /etc/rc.d/rc.local-rwxr-xr-x 1 root root 810 Oct 9 09:30 /etc/rc.d/rc.local ~ cat /etc/rc.d/rc.local#!/bin/bash# this FILE IS ADDED FOR COMPATIBILITY PURPOSES## It is highly advisable to create own systemd services or udev rules# to run
Linux directory configuration standard:FHSThe primary purpose is to let the user know which directory the installed software is usually placed in.FHS defines a three-tier home directory:/,/usr,/var 1./(root, root directory)(1) root directory
Properties of the fileUsing commandsLs-alCan get the relevant information of the file, the format is as followsPermissions Link Owner [User Group] [File Capacity] [Date Modified] FileNameThe permission description consists of 10 characters
Account: 1. You can log into the operating system2. Access control can be performed (different user permissions differ)Group accounts: Easy to manage user accounts (permissions)User account and group account unique identifier: UID GIDAdministrator
Check user information:vi/etc/passwdOne of the records is this: Hadoop-f4:x:1000:1000:hadoop-f4:/home/hadoop-f4:/bin/bashVi/etc/shadow: Store the encrypted password.ID User name: View user information.Three ways to add groups to users:1,
First step: Activate the NICAfter the system is installed, the default NIC is eth0, which activates the NIC with the following command.# ifconfig eth0 upStep Two: Set the NIC to boot when it enters the systemIf you want to get IP address
Vim/etc/profilenet.ipv4.tcp_syncookies=1--Protect against a small amount of SYN attacksnet.ipv4.tcp_tw_reuse=1--Turn on Reusenet.ipv4.tcp_tw_recycle=1--enable fast recovery of TCP time_wait socketsnet.ipv4.ip_local_port_range=10000 65535--does not
According to the online code, this script is divided into two files, one is to execute the file backup.sh, and the other is to back up the project file Backup.txt. Backup.txt This file is better understood, is a text file, each line of it represents
1. Download the script file to copy the contents of the script file
12
chmod+x resize.shsudo./resize.sh
Enter the above command and you will see the following results
1234
[email protected]:~#
/etc/profile: This file sets the environment information for each user of the system, and the file is executed the first time the user logs on. and collects the shell settings from the configuration file of the/ETC/PROFILE.D directory.The English
... Install Ius,ius provides Red Hat package Manager (RPM) packages for some newer versions of select Software.... https://ius.io/GettingStarted/Yum UpateYum Install https://centos6.iuscommunity.org/ius-release.rpmInstall the latest version python3.6
MongoDB command operations
In the previous article, I recorded how to install the MongoDB database on Centos7. We will learn the basic operation commands together.
After the installation is complete, enter mongo in shell interactive mode to log on
Linux: Never mindLearn the Linux determination plan
My name is Yan changxue. I am from dengzhou City, Henan Province. After five months of study in the education O & M class for old boys, I must earn 11000 yuan, to achieve this goal, I will take
Vim-ide,
Use vim to create your own editor
1. vimrc is the vim configuration file, which can be modified in two locations
1. etc/vim/vimrc // the general configuration files are suffixed with rc
2 .~ /. Vimrc // exists in the user
Vim edit operation, vim Edit
VimInsert modeAfter a cursorEnd of lineO The next row of the cursorO the top row of the cursorI cursor frontFirst line IS. Delete the characters at the cursor position and enter the insert mode.Command modeD. DeleteDd
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