This repository contain a script that can be used to set up an environment for:
The virtual machine that will be used is VirtualBox.
sudo ./setup.sh
and choose option 1. Vbox (Desktop)
to initiate the setup, install the required applications, and end up the setup.git clone https://github.com/ba1x/env-setup.git
cd env-setup
sudo ./setup.sh
and choose option 2. Vbox (Server)
to initiate the setup, install the required applications, and end up the setup.Make sure to add the SSH keys
in the Client Area before starting the setup below.
SSH Keys
(that already added) for the Authentication.ssh root@SERVER_IP_ADDRESS # login using SSH
git clone https://github.com/ba1x/env-setup.git
cd env-setup
./setup.sh
and choose option 3. Cloud (DigitalOcean/Hostwinds)
to initiate the setup, install the required applications, and end up the setup.Create an unmanage Linux VPS hosting with the required specification and choose SSH Keys
(that already added) for the Authentication.
Log in to the server using SSH:
ssh root@SERVER_IP_ADDRESS # login using SSH
Download and install the prerequisite apps (Git and UFW).
sudo apt update && sudo apt install git ufw -y
Clone this project and open the folder.
git clone https://github.com/ba1x/env-setup.git
cd env-setup
Run command ./setup.sh
and choose option 3. Cloud (DigitalOcean/Hostwinds)
to initiate the setup, install the required applications, and end up the setup.
git clone https://github.com/ba1x/env-setup.git
cd env-setup
sudo ./setup.sh
and choose option 4. Physical Server
to initiate the setup, install the required applications, and end up the setup. [^1]: VirtualBox 6.1.26 r145957 (Qt5.6.2)
[^2]: Minimal Installation
[^3]: Partition for 10 GB
HDD/SSD and 1 GB
RAM.
/ 7.0 GB ext4
/boot 500 MB ext4
/home 500 MB ext4
/var 1.0 GB ext4
SWAP 1.0 GB swap
[^4]: Partition for 1 TB
HDD/SSD and 8GB
RAM.
/ 240 GB ext4
/boot 2.5 GB ext4
/home 500 GB ext4
/srv 2.5 GB ext4
/usr 100 GB ext4
/var 20 GB ext4
/var/lib 50 GB ext4
SWAP 16 GB swap