Home >System Tutorial >LINUX >Open source China APP newly launched: dynamic return, integrated large model dialogue, and easy reading of technical reports

Open source China APP newly launched: dynamic return, integrated large model dialogue, and easy reading of technical reports

王林
王林forward
2024-03-09 08:14:13475browse

Open source China APP newly launched: dynamic return, integrated large model dialogue, and easy reading of technical reports

[Open source China APP newly launched] "Move" returns, integrates large model dialogue, and reads technical reports

Step one: Log in to the existing Linux system and use the root account linux to set user group permissions. After logging in, as shown on the right:

In this way, log in to the Linux systemlinux sets user group permissions, and log in as the root user

Note: If you want to create users and user groups for Linux scheduled tasks, then the user you are currently logged in must have root permissions, or the logged in user is the root user

Step 2: Create a group

If you don’t know the format for creating a group, enter: groupadd --help, and the prompt shown above will appear

Note: When creating a group, you can specify the group ID and whether the group ID is repeated, etc. The basic creation sentence: groupadd group name

Step Three: Create User

Same as creating a group, if you don’t know the creation command, just enter: useradd --help, and a prompt will appear

Basic creation sentence: useradd-d/home/user root directory-m-g user group username

The -m in the sentence inside is to create a directory, and -g is which group the user belongs to

In this way, we have created the user group and user, so the next step is to change the password for the newly created user

Step 4: Change Password

Change the user's password, enter the password twice as prompted, and the prompt changes successfully. In this way, the user we created can log in like a normal user, and so far, the user we created cannot execute like root. Commands, etc. Since we have not given permissions to the newly created user, we will give permissions to the user

Step 5: Grant permissions to users

As shown in the picture above, this is the prompt message of chown--help. Next, let’s write an empowering sentence

Sentence format: chown-R owner: user group file or directory, -R means loop traversal, and all files in the directory belong to this owner.

Step 6: Change folder permissions

As shown, the previous is the chmod--help prompt message

Sentence format: chmod-R777/home/directory or file that needs to change permissions, -R means recursive, change the permissions of all directories under this directory to 777

At this point, log in to root, create a user group, create a user, specify a directory for the user, and specify permissions for the directory to complete the Linux version of qq. Finally, here are the screenshots of the organization and user to which the folder belongs

The above is the detailed content of Open source China APP newly launched: dynamic return, integrated large model dialogue, and easy reading of technical reports. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:itcool.net. If there is any infringement, please contact admin@php.cn delete