2.3 Insta Setup Linux Server - Tomato6966/Debian-Cheat-Sheet-Setup GitHub Wiki
Info - This is the same as 3.0 All in One - Linux Setup
1. Install sudo and wget
apt-get install -y sudo wget
2. Go to root user and to home dir
sudo su
cd ~
serverSetup-script as well as make it executable and start it!
3. download & updatewget -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!