Goal
Turn a Linux Mint laptop into a basic home server.
What I did
- Installed Linux Mint on the laptop
- Set up user account and basic environment
- Connected to campus WiFi
- Verified internet access
SSH Setup
This is basically for remote access-ing into my server-laptop from anywhere*.
Installed SSH server:
sudo apt update
sudo apt install openssh-serverChecked status:
sudo systemctl status sshEnabled SSH:
sudo systemctl enable sshFinding IP Address
hostname -IUsed this IP to connect from Mac:
ssh my_username@<ip-address>Directory Structure
Created basic folders:
mkdir ~/Plex
mkdir ~/Jellyfin
mkdir ~/MoviesLater organized into:
~/Jellyfin/
├── Films
└── TVBasic Script Setup
Created simple scripts:
nano script.shMade executable:
chmod +x script.shMoved scripts to global path:
sudo mv script.sh /usr/local/bin/scriptNow usable as:
scriptPermissions
Checked folder permissions:
ls -ld ~/JellyfinChanged ownership when needed:
sudo chown -R akwastaken:akwastaken ~/JellyfinNotes
- SSH worked only inside the same network initially
- IP changes after reconnecting to WiFi
- Needed repeated use of
hostname -I - Learned basic file permissions and script execution