Linux Users and Groups
Resource allocation (3A):Authentication CertificationAuthorization AuthorizationAccouting| Audition Audit
User: (the system uses UID to determine user information)Token token identity: for verifying identitiesLinux Users:
1, start a Linux, open the terminal, with FDISK-L to detect disk information2. Add a disk and click on the virtual machine settings asAt this point you can see a new disk, and the actual use of this disk requires a reboot of the Linux system3,
SOURCE command:The source command, also known as a Point command, is a dot symbol (.). The source command is typically used to re-execute the initialization file you just modified to take effect immediately without having to log off and log back on.
Linuxinstallation and connection of virtual machinesThe purpose of this experiment: Use Vmware Workstation Create Linux Virtual machine installation system, used after installing the operating system Xshell make a remote access connection. Lab
Linux file system hierarchy standard FHS
/etc===== and host-related system configuration file edit the Configure
/home===== User Home Directory
/usr====== a two-tier hierarchical directory. The default is the largest.
/dev=====
Common Linux Disk OperationsDF-PH # View Hard disk capacity Df-t # View disk partition Format Df-i # View Inode node if the inode is full and cannot create the file du-h Directory # detects all file sizes in the directory # Du-sh * # shows the
LS \ View root directory fileBin: This directory holds the most frequently used commandsBoot: Some of the core files used when starting Linux, including some connection files and image filesDev: This directory is a Linux external device, access to
/etc/init.d/sendmail Start # Start service /etc/init.d/sendmail Stop # Close service /etc/init.d/ SendMail Status # View the current status of the serviceecho Content | /bin/mail-s "title"
1. Display all files or directories with L, ending with a lowercase letter, and with at least one digit in the middle of the/var directory2. display files or directories that start with any digit in the/etc directory and end with a non-digit3,
Let's review the previous section:1. Basic introduction of user and user group,uid,gid, user type (normal user, system user, root user)2. User and Group Common command id,groups,who command, add user name parameter and no user name parameter
First paragraph: Common file types-Normal fileD catalog FileB-Block fileL Soft links (equivalent to shortcuts in Windows)Second paragraph: Permissions* * * Three-bit for a groupTop three: Represents the file's owner's permissions on the
boot loader (Boot loader) is a small program that runs before the computer loads the operating system kernel. With this applet, you can initialize the hardware device, set up a map of the memory space, and load the system's hardware and software
User-related filesCreate User User1Each user is created, a message is added to the passwd filepasswd files: Storing user informationRoot:x:0:0:root:/root:/bin/bashUser name: Password placeholder (blank means no password): UID (User ID number): GID
/etc/hosts: The corresponding analytic table of user IP and domain name/etc/sysconfig/network: Machine name, network card startup, gateway and other configuration/etc/fstab: Record boot automatically mounted file system/etc/rc.local: Boot-loaded
Jmeter-run based on Ubuntu and Jmeter-run on Ubuntu
These days have been around for a long time. We have integrated a set of Automatic continuous integration tools for interfaces, starting with the most basic Jmeter operation. Because I deploy a
Code tutorial for Redis remote connection in Linux, linuxredis
After Redis is installed in Linux, connect using Java. the Java code is as follows:
Package com. wzj. demo. test; import redis. clients. jedis. jedis;/*** Created by wzj on 2018/3/29.
Use vim commands in Linux to edit and modify text content
Enter vim -- help
VIM-Vi IMproved 8.0 (2016 Sep 12, compiled Jul 26 2017 20:13:43)
Usage: vim [parameter] [file...] editing the specified fileOr: vim [parameter]-read text from standard
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