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. Set your timezone:
    tzsetup
    
  7. 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.

  8. Enlarge the root partition from 20gb to the max size of the drive it is on:
    /etc/rc.d/growfs start
    
  9. If Contabo is your VPS provider you'll have to go through some extra configuration to get it to work. If you have a Contabo server older than about 1 year
    you porbably won't need to worry about doing any extra configuration. Contabo doesn't support non systemd auto networking configuration anymore, so
    Slackware Linux and FreeBSD networking has to be manually configured now.

    You'll need the following info about your server:

    ip with prefix: eg. 111.222.33.44/20
    netmask: eg. 255.255.240.0
    gateway: eg. 111.222.333.1
    
    You can get this info at your Contabo control panel at the IP Management section. Just hover over the i caption of your server's ip to see this information, and
    up above that there are addresses for forwarding nameservers you can use as your nameservers.

    Edit /etc/rc.conf and add the following:

    ifconfig_vtnet0="inet your_ip/prefix netmask your_netmask"
    static_routes="gw"
    route_gw="-host your_gateway -interface vtnet0"
    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.
  10. Reboot:
    reboot
    
  11. Then login to your server with PuTTY to finish the setup.
  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 openssl35 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 better do a reboot to be safe:
    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.







Powered by: Slackware64-15.0 Slackware Lunux Apache v2.4.66 Apache SlackerMail v0.60.0 SlackerMail

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