> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crazynode.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Installing Common Software

> Quick install guides for Nginx, Docker, Node.js, MySQL, PostgreSQL, and other essentials.

Quick installation recipes for the software most CrazyNode VPS customers deploy. All examples assume Ubuntu 22.04+; adapt package names for other distros.

## Nginx (web server)

```bash theme={null}
apt update && apt install nginx -y
systemctl enable --now nginx
ufw allow 'Nginx Full'
```

Visit `http://YOUR_IP` to see the default page.

## Docker

```bash theme={null}
curl -fsSL https://get.docker.com | sh
systemctl enable --now docker
docker run hello-world
```

Add your user to the `docker` group to skip `sudo`:

```bash theme={null}
usermod -aG docker $USER
```

## Node.js (via NodeSource)

```bash theme={null}
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt install nodejs -y
node -v && npm -v
```

## MySQL

```bash theme={null}
apt install mysql-server -y
mysql_secure_installation
systemctl enable --now mysql
```

<Warning>
  Bind MySQL to `127.0.0.1` in `/etc/mysql/mysql.conf.d/mysqld.cnf` unless you need remote access. Never expose MySQL to `0.0.0.0` without a firewall rule.
</Warning>

## PostgreSQL

```bash theme={null}
apt install postgresql postgresql-contrib -y
systemctl enable --now postgresql
sudo -u postgres psql
```

## Python (with pip and venv)

```bash theme={null}
apt install python3 python3-pip python3-venv -y
python3 -m venv myenv
source myenv/bin/activate
```

## Certbot (free SSL certificates)

```bash theme={null}
apt install certbot python3-certbot-nginx -y
certbot --nginx -d yourdomain.com
```

Certbot handles auto-renewal via a systemd timer.

## Panels and control interfaces

If you prefer a GUI, popular options include:

* **CyberPanel** — free web hosting panel
* **Coolify** — self-hosted Heroku alternative
* **Portainer** — Docker management UI
* **Cockpit** — built-in server dashboard (`apt install cockpit`)
