Support Guides

VPS Guides

Guides for Virtual Private Server users, covering control panel installation, CLI usage, and server management.

How to schedule automatic server reboots with cron

Run sudo crontab -e and add the line 0 2 * * * /sbin/shutdown -r now to reboot daily at 02:00. Use the full path to shutdown, because cron runs with a minimal environment. Running sudo crontab -l confirms the entry was saved. After the scheduled time, search…

How to install ImageMagick and Imagick on cPanel

In Web Host Manager (WHM), open EasyApache 4, click Customize on the current profile, enable ea-imagemagick, then click Review and Provision. In MultiPHP Extensions Manager, select each PHP version your sites use, tick imagick and click Save. Running a php -r…

Managing your VPS with Claude Code

Install Claude Code on a Linux VPS with Anthropic's native installer script, then run claude from the directory you want it to work in. Claude Code reads your real logs and configuration files, so its fixes suit your server. Typical jobs include diagnosing…

How to set up SSH agent

Start the agent on Linux or macOS by running eval on the output of ssh-agent -s, or set the ssh-agent service to Automatic in an administrator PowerShell on Windows. Load a key with ssh-add ~/.ssh/id_ed25519 and enter its passphrase once. The agent then…

How to manage Node.js versions with NVM

Install Node Version Manager (NVM) with its official curl install script, then reload your shell with source ~/.bashrc. Run nvm install 20 to add a version and nvm use 20 to switch to it for the current session. The command nvm alias default 20 sets the…

How to connect to PostgreSQL using Node.js

Install the node-postgres driver by running npm install pg in your project folder over Secure Shell (SSH). Create a Client from pg with your host, database, user and password, then await client.connect() before calling client.query(). Close the connection…

How to install npm packages

Inside a project folder, run npm install followed by the package name to add it to node_modules and package.json. Add the -g flag to install a command-line tool globally. Running npm install with no package name installs every dependency listed in…

How to create and manage symbolic links in Linux

Run ln -s /path/to/target /path/to/link to create a symbolic link in Linux. Running ls -l shows each link with an arrow pointing to its target. Linux cannot edit a link's target, so remove the link with rm and create it again. Leave off any trailing slash…

How to install Node.js on Linux

Run sudo apt install -y nodejs npm to install the Node.js version in your distribution's repositories. For current releases, add the NodeSource repository and install the nodejs package, which includes npm. Node Version Manager (NVM) installs versions in your…

How to check open ports on Linux

Run ss -tuln to list every port that is listening for network connections. The older netstat -tuln gives the same view but needs the net-tools package on newer systems. Running sudo lsof -i -P -n with grep LISTEN shows which process owns each open port. The…