-
-
Notifications
You must be signed in to change notification settings - Fork 28
2.3 Insta Setup Linux Server
Tomato6966 edited this page Nov 26, 2022
·
6 revisions
Info - This is the same as 3.0 All in One - Linux Setup
apt-get install -y sudo wget
sudo su
cd ~
3. download & update serverSetup-script as well as make it executable and start it!
wget -O serverSetup.sh https://raw.githubusercontent.com/Tomato6966/Debian-Cheat-Sheet-Setup/main/serverSetup.sh
chmod +rwx serverSetup.sh
./serverSetup.sh
This script installs:
- basic utility packages and libs such as
gcc
,build-essentials
,build-utils
- programming languages like:
python2
,python3
,java18
,nodejs@16
,npm@latest
,yarn@latest
- encoders like:
ffmpeg
andothers
- global managers like:
pm2
,yarn
,npm-check-updates
- It uninstalls default package:
apache
if installed - It configures your .bashrc file with
oh-my-bash
(a bash style and intellisense package), including some .bashrc functions to ensure your usage of linux - It recommends my setup for linux security
Once it's finished it should end up showing these:
Applied custom .bashrc, to load it do: source ~/.bashrc, or reload the current session
Installed speedtest
Everything is setup
A reboot is recommended
If you want more security against other user logins, check out
https://github.com/Tomato6966/Debian-Cheat-Sheet-Setup/wiki/7-Linux-Security
This is a Wiki from Tomato#6966 how he secures his VPS servers on a quick and easy base.
NOTE If it ends with something like this:
than execute the following:
rm ~/.bashrc && wget -O ~/.bashrc https://raw.githubusercontent.com/Tomato6966/Debian-Cheat-Sheet-Setup/main/.bashrc
You'll then be done! The only thing missing is the pronts... which are just echos so just reboot and reload the server than your fine, maybe add Linux Security too!
-
1 All needed Console Commands
- 1.1 Directory Navigation
- 1.2 System Information
- 1.3 Hardware Information
- 1.4 File and Directory Cmds
- 1.5 Process Management
- 1.6 File Permissions
- 1.7 Networking
- 1.8 Archives (Tar Files)
- 1.9 Search
- 1.10 File Transfers
- 1.11 Disk Usage
- 1.12 User Information and Management
- 1.13 Speedtest
- 1.14 Clear Cache
- 1.15 Disable Sleeping Processes (Suspending)
- 1.16 Remove Welcome Message