OpenSim server issues fixed

I happily run my own OpenSim server that is hooked onto OSGrig.org. My account there dates from 2007 and it got broken after the big crash in 2010.

It took quite a long time for them to restore the data and after a few years I decided to go back and see if i could revive my sims from the backups. And in 2013, I did so, successfully. You have no idea how great it is to see a backup rise from the dust and see, live, a sim being rebuilt. Since then, another 9 sims have been added and more landscaping has been done. Go have a look!

Sometimes though, my server crashes and I think I have now fixed it. Perhaps things got a bit too busy on a few cores, so I reserved 4 specifically for this server. Let’s see how that works! ^^

in-game screenshot of one of the opensim simulators. There is a railroad visible, some brushes and a house with a large waterwheel.

If the link to the grid does not work then open your viewer, log into the OSGrid and look for one of the following sims:

  • RynFox HQ1
  • RynFox HQ2
  • Himalchuli
  • Cho Oyu
  • Pumori
  • Saipal
  • Nuptse
  • Annapurna
  • Makalu
  • Yangra
  • Shishapangma
  • Lhotse
  • Jannu
  • Kangchenjunga
  • Dhaulagiri
  • Manaslu

If you detect a recurring theme in this list, then you are absolutely right 😉

 

Loading

A working Apache2 server with PHP7.4

I was in need of a server solution that could be quickly deployed as a VM.

      1. Install Debian 11 as a VM with web- and SSH server
      2. Create a USER next to your root account during the installation
      3. Find the IP address of the new installation. The easiest is if you have NoVNC running. Log in as USER and type
        ip a
      4. Time to so the sudo thing
        su

        log in as root

        apt-get update && apt-get install -y sudo
        usermod -aG sudo USER
        exit
        exit

        log back in as USER

      5. Okay, let’s install some more stuff but first we do an update
        sudo apt-get update && sudo apt-get upgrade -y

        Now we want some essentials

        sudo apt-get install -y dirmngr gnupg2 nano wget gpg curl fail2ban ufw software-properties-common

        Preparing the PHP install

        wget -q https://packages.sury.org/php/apt.gpg -O- | sudo apt-key add -
        echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list
        sudo apt-get update
        sudo apt-get install -y php7.4 libapache2-mod-php7.4 php7.4-mysql php7.4-curl php7.4-gd php7.4-mbstring php7.4-xml php7.4-xmlrpc php7.4-zip

        And restart the Apache2 Webserver

        sudo systemctl restart apache2
      6. Alright, that’s done. Next step is to test things.
        sudo nano /var/www/html/test.php

        Enter this into the php file and press Control X and type Y to save and exit.

        <?php
        // Show all PHP information
        phpinfo();
        ?>
      7. Go to the IP address of the server you just created and type
        HTTP://IP ADDRESS/test.php
        

        If you see a PHP page with all sorts of data, you’re good. If not, go fix. Don’t ask me, I’m not there yet!

Loading