FreeBSD-15.0 qcow2 images readme

  1. Upload your chosen qcow2 image to your VPS/VDS/DS provider as a custom image.
  2. Install it to a server at your VPS/VDS/DS provider.
  3. VNC to the server with the VNC address given to you by your provider. I use TigerVNC for my VNC client.
  4. Log on to your server with:
    user: root
    password: slacker
    
  5. Change the password to something more secure with:
    passwd
    
  6. Add a user to login to your server with:
    adduser
    
    Accept all the defaults except for "Invite user into other groups?" enter "wheel". That way you can switch to root with "su - root".

    If you want to be able to login as root, then edit /etc/ssh/sshd_config and change "#PermitRootLogin no" to "PermitRootLogin yes" to allow root login.

    Note! You can use "vi" or "mc -u" (Midnight Commander) to edit files. I use "mc -u" to edit files, it's faster and easier.

  7. Next we need to configure the network device:

    You'll need the following info about your server from your VPS provider:

    ip: eg. 111.222.33.44
    netmask: eg. 255.255.248.0
    gateway: eg. 111.222.333.1
    
    Edit /etc/rc.conf and change the following:
    Underneath hostname="slacker" add the following 2 lines:
    
    ifconfig_vtnet0="inet your_ip netmask your_netmask"
    defaultrouter="your_gateway"
    
    These latest FreeBSD qcow2 images are set to use their own local DNS resolver with Unbound. Check /etc/resolv.conf and make sure it matches what is below:
    nameserver 127.0.0.1
    options edns0
    
    Hopefully your networking will work now, and you can reboot and login with PuTTY.
  8. Reboot:
    reboot
    
  9. Then login to your server with PuTTY to finish the setup.
  10. Enlarge the root partition from 20gb to the max size of the drive it is on:
    /etc/rc.d/growfs start
    
  11. Set your timezone:
    tzsetup
    
  12. Set your hostname (FQDN), and of course adjust for your actual FQDN:
    sysrc hostname="mail.example.org"
    
  13. Then run the echo command below to set your /etc/hosts file, and of course adjust for your actual FQDN:
    echo "127.0.0.1 mail.example.org mail 
    127.0.0.1 localhost" > /etc/hosts
    
  14. Next we need to do a system update:
    pkg update
    pkg upgrade
    
    If your system was upgraded, then do a reboot:
    reboot
    
  15. Next we need to install some needed packages:
    pkg install -y gcc gmake cmake python php84 php84-pecl-imagick bind-tools 7-zip m4 git gnupg sudo perl5 openssl40 bash bsddialog \
    p5-App-cpanminus p5-App-cpanoutdated mc htop neofetch gzip unzip shared-mime-info ca_root_nss bzip2-1.0.8_1 pftop gsed vim
    
    A lot of stuff was added, so do a reboot:
    reboot
    
  16. You can install SlackerMail-FreeBSD now if you want by going here. It takes about 4-5 minutes to install.

    If you want to install SlackerMail-FreeBSD by hand start here. It will take about a day to finish.

  17. After you get SlackerMail-FreeBSD installed you'll probably want to switch from the self signed certs to the Let's Encrypt certs. Go here for the how-to.






Powered by: Slackware64-15.0 Slackware Lunux Apache v2.4.68 Apache SlackerMail v0.63.1 SlackerMail

Please send any feedback to: wjack@the-slacker.com