Skip to content

Reality Industries LLC

  • Reality Industries
    • Manifold Plex
    • Login
  • Tech Stuff
    • Tech News
    • Linux and FreeBSD
      • Linux Cheatsheet
      • FreeBSD Cheat Sheet.
    • Recipes and Howtos
      • Add Debian box to Active Directory
      • Configure automatic mounting of SMB shares using CIFS and fstab on Debian 12
      • Install SQL Server 2022 on Debian 12
    • Windows
    • The Jargon File
  • Other Stuff
    • Stuff going on worldwide
    • Stuff going on in Canada
    • Stuff going on in the Maritimes
    • Funny Stuff
    • Various Services and Stuff
    • Interesting Stuff
  • About
    • About Me
    • Privacy Policy
    • Reality Systems
    • Contact Us
  • Toggle search form

Finally! How I Rebuilt This Webserver

Posted on May 21, 2022November 12, 2025 realityadmin By realityadmin 1 Comment on Finally! How I Rebuilt This Webserver

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.
Technology

Post navigation

Next Post: Finally! I rebuilt this webserver.

More Related Articles

Finally! I rebuilt this webserver. Canada
Cool Programs and Utilities to help you tame Windows 10 and 11 Technology
New Content! Holy crap! Reality
Windows is garbage software. Technology

Comment (1) on “Finally! How I Rebuilt This Webserver”

  1. Jeremy Sutherland says:
    June 10, 2021 at 12:47 am

    Man, bout time.

Comments are closed.

Reality Search

  • Ars Technica
  • Tom's Hardware Guide
  • Anandtech(RIP)
  • Slashdot
  • PC World
  • Hardware Canucks
  • Canada
  • Halifax
  • News and Events
  • Nova Scotia
  • Reality
  • Technology
Log in

Copyright 2025, all rights reserved, except for when they are not.