So this hideo is a virtual machine running on Debian 12 KVM. The specs are:
- 16G Ram
- 6 threads
- 160Gb boot file
I started with my Standard Debian Install, then went through the following steps. Also, if anyone complains about the use of nano in this howto, i am 50 years old, and i have used vi and emacs, and they truly suck. If you disagree with me, well, build your own webserver and write your own howto 🙂 .
Update the system
apt update apt upgrade
change the hostname.
You need to edit two files to change the hostname. The first is /etc/hosts
nano /etc/hosts
you’ll see:
127.0.0.1 localhost.localdomain localhost 127.0.1.1 localhost.localdomain localhost # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
change the line that starts with 127.0.1.1 so it looks like the following, remember to change the values <computer name> and <domain name> to the values you need. <computer name> + . + <domain name> is called the Fully Qualified Domain Name (FQDN)
127.0.0.1 localhost.localdomain localhost 127.0.1.1 <computer name>.<domain name> <computer name> # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
Save the file by hitting ctrl-x, y and then edit /etc/hostname. change it so it contains your computers host name ie hideo, save it, and then restart networking by running the command
systemctl restart networking
To test if your changes worked, run the following commands:
hostname hostname -f
The responses should look like this:
jake@hideo:~$ hostname hideo jake@hideo:~$ hostname -f hideo.realityindustries.ca
Next you install stall some stuff. Specifically:
| Software | Description |
| Mariadb | Opensource relational database server and client software. It’s one of the gotos (heh) for databases on Linux and BSD. |
| openssl | Software to manage and secure Transport Layer Security (TLS) and Secure Sockets Layer (SSL) communications, as well as a general purpose cryptographic api and toolset. |
| rkhunter | detects rootkits, exploits and backdoors. |
| binutils | The GNU Binary Utilities, these allow you to create and manipulate binary files, and are used with the GNU compiler suite, as well other other software. |
| sudo | Allows a user to level up, so to speak to root privileges, to run a specific command. Thought by some to be more secure than su – , or logging in directly as root. I tend to think they both have a place, and i like to have root enabled, with a stupid random password, just in case i need it. Don’t tell anyone. I’m not linking to it, as it is a standard thing these days. it’s not in the base install of debian, however, so here we are. |
| Curl | Fetches things from and internet address. both it and wget should be part of the base install, imo. |
Run this command:
apt -y install mariadb-client mariadb-server openssl rkhunter binutils sudo curl.
Man, bout time.