Click Back to learn the path of the Linux command line and shell script7.3-linux Sharing filesThe way to share files on a Linux system is by creating groups.1. Linux Stores 3 additional bits of information for each file and directory:
suid
Click Back to learn the path of the Linux command line and shell script7.1-linux user accounts and groupsThe core of the Linux security system is the user account.Each user who can access the Linux system is assigned a unique user account, and the
Some of the common Linux commandsls CommandList current or specified directory files and directories
-L Options : List details, shaped like Drwxrwxr-x 2 ...
D represents the directory, followed by read and write execution permissions
The key steps of the HDFS cluster environment are recorded in the Linux environment. Media version: hadoop-2.7.3.tar.gz Number of nodes: 3 nodes. First, download the installation media Official website: http://hadoop.apache.org/releases.html
1.useradd"Command Action" creates a new user in the systemCommand syntax Useradd (options) (parameters)"Common Options"-g Specifies the group to which the user belongs-G additional groups for the specified user-U Specify the user's ID"Parameter
Special Permissions Set_uid,set_gidSUID:Valid only for binary programsPerformer requires x permission for the programThe performer owns the permissions of the program owner while the program is runningFor example:The normal user executes the passwd
1, install the FTP service, you can directly yum install VSFTPD.2, set the random start, Chkconfig vsftpd on.3, start the FTP service vsftpd start.4, configure Nginx static resource redirection.Let's say we store a static resource file in our custom
Problem: Ipconfig:command not found[email protected] root]# ipconfig-bash:ipconfig:command not foundMethod:1. After installing the CentOS5.5, Ipconfig cannot find the instructions to configure the ipconfig command to an environment variable.2, the
A problem solved a while ago, seems to be a small problem, actually solve this problem took one weeks to take the night off time, record share.Problem Description:In the Linux kernel configuration, the NLS (native language support) has selected the
Process Management view ProcessTo view a process:ps auxps -leTo view the process tree:pstree pstree -p // 查看每个进程的id号,会展开折叠进程pstree -u // 查看进程的用户Top command:
Options
-D Number of seconds: Specifies that the top command is updated
First do one thing, modify the hosts, the file server's IP and Domain name Mapping (single-machine trackerserver environment), because many of the configuration inside to configure the server address, IP changed, only need to modify the hosts
First, Linux cluster overview
Divided into two categories according to function: High availability and load balancing
A highly available cluster is typically two servers, one working, the other being redundant, and redundancy will take over as
Create a user and set a password to give the user root privileges.1. Add a new user account using the Useradd command with the following syntax:Code:#useradd User Name ExampleUseradd yangjianqing2. To create a password for the specified user:#passwd
? Under Linux, locate the file you want to modify. Use the cd+ Directory command to make the directory where the file resides, and use the LS command to see if the file is available.? Open the file by using the vim+ file name? Quickly find the place
之前又个客户说自己的linux机器有,活动链接数大,CPU高的特点。 客户初步处置:断网,下线,重启。 我给他们提了个处置步骤,结果就没下文了。。。。。The recommendations are as follows:(0) View History command, recently opened file.(1) Confirm the server daily application, application process name, file path, process open
1. Check whether the Linux machine is a 32-bit or 64-bit method:File/sbin/init or file/bin/ls/sbin/init:elf64-bitLSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU /linux 2.6.18, strippedIf the display 64-bit is
OpenGL ShadowsIn a three-dimensional scenario, in order to make the scene look more realistic, you often need to add a shadow to it, OpenGL can use many techniques to achieve the shadow, and one of the very classic implementations is to use a shadow
Create users and their home directoriesUseradd-d/home/tomcat-m TomcatThen change the passwordpasswd TomcatUsermod-s/sbin/nologin + username Disable login sshUsermod-s/bin/bash + username default Add user This mode can be directly logged into
commands to learn in this section:TR,TEE,WCSkills learned in this section:The composition of the computerI/O Management and redirectionUse of pipelines Knowledge Point nine: Management and IO redirection (4_3)Computer composition:Arithmetic,
Driver compilation is divided into static compilation and dynamic compilation ; Static compilation is to compile the driver into the kernel directly, and the dynamic compilation is to compile the driver into a module.Dynamic compilation is also
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