Prerequisites
Before installing basic tools, make sure you have:
- SSH access to your VPS (username:
hxroot) - Your server IP address and password
- Internet connection on your VPS
Why These Tools?
These essential tools will help you manage your server more effectively:
- curl - Transfer data from/to servers (API calls, testing)
- wget - Download files from the internet
- git - Clone repositories and manage code versions
- nano - Simple text editor for configuration files
Step 1: Connect to Your VPS
ssh hxroot@YOUR_SERVER_IP -p 22Step 2: Update Package Lists
apt updateStep 3: Install All Basic Tools at Once
For Ubuntu/Debian:
apt install curl wget git nano -yFor CentOS/Rocky/AlmaLinux:
yum install curl wget git nano -yOr using dnf (newer versions):
dnf install curl wget git nano -yVerify Installations
Check each tool version:
curl --versionwget --versiongit --versionnano --versionIndividual Installation (If Needed)
Install curl only:
apt install curl -yInstall wget only:
apt install wget -yInstall git only:
apt install git -yInstall nano only:
apt install nano -yBasic Usage Examples
curl examples:
Download a webpage:
curl https://example.comSave output to file:
curl -o output.html https://example.comCheck API response:
curl -X GET https://api.example.com/datawget examples:
Download a file:
wget https://example.com/file.zipDownload in background:
wget -b https://example.com/largefile.zipDownload entire website (mirror):
wget -r https://example.comgit examples:
Clone a repository:
git clone https://github.com/user/repo.gitCheck status:
git statusPull latest changes:
git pullnano examples:
Open/create a file:
nano filename.txtNano shortcuts:
Ctrl+O - Save file
Ctrl+X - Exit
Ctrl+W - Search
Ctrl+K - Cut line
Ctrl+U - PasteAdditional Useful Tools
Consider installing these as well:
apt install htop -y # Better process viewer
apt install unzip -y # Extract zip files
apt install tar -y # Extract tar files
apt install net-tools -y # ifconfig, netstat commands
apt install software-properties-common -y # Add repositories✅ Basic tools have been installed. You can now use curl, wget, git, and nano on your Hostxpeed VPS.