View source for Commands - Basic
Jump to:
navigation
,
search
[[Category:Linux]] [[File:linux.png|thumb|350px]] Here is our mini selection of some basic & commonly used commands, see other pages for more in depth command lists == Creating Users / Groups == See our full in depth guide on [[Linux_User_Management|Linux user Management]] ==== Creating Users ==== Having multiple user accounts can be a great idea if you are having multiple people manage the server or parts of it. <pre>useradd username</pre> Once you have created a user you will want to set the password for this user, Use command <pre>passwd username</pre> This will then prompt you for a password for this user. ==== Creating Groups ==== Groups are very useful for managing a group of users that you want to have the same permissions e.g. You might want a group that will be able to edit files for all of your Counter Strike Servers, or just some. By adding users into groups you only have to set the access rights for a group not for every single user <pre>groupadd groupname</pre> If you want to add an existing user to a group you can user command (-a for Add, -G for Group) <pre>usermod -a -G groupname username</pre> == Installing / Removing & Updating Software == As you use your server / install programs on it, you may find you need some software to run it. For example Minecraft Server requires you have Java installed as its main component. ==== Installing Software ==== <span style="background:#ff0000"> Depending on your system there can be some slightly different commands for CentOS based servers you mainly use the "yum" command & for Debian/Ubuntu based servers you use the "apt-get" command (Make sure you adjust the commands below to match your OS)</span> Installing software on Linux based systems is very easy via commandline all you have to do is type the name of the software you want installed & if the main distribution servers have it, your server will be able to download & install this software for you. Replace software name with the software you want to install <pre>apt-get install software</pre> ==== Removing Software ==== For any reason that you want to uninstall software you can use a similar command to do that for you. (Note with some software it may leave configuration files behind, what you may have to delete before re-installation) <pre>apt-get remove software</pre> ==== Updating Software ==== <pre>apt-get update software</pre> You can also use this command below to update all software packages (this will just download the updates) <pre>apt-get update</pre> Use the command below to install the updates you just downloaded (if you done the step before) <pre>apt-get upgrade</pre> == Server Monitoring == == File / Folder Management ==
Return to
Commands - Basic
.
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
Actions
Search
Navigation
Main page
Recent changes
Random page
Help
Categories
Linux
Windows
Source Based Servers
HLDS Based Servers
Minecraft
2047Servers Control Panel