BLOG

This is not the life I wanted

A thought, just one. A microsecond, not even. But it contained everything. And it wasn’t even the first time. That blue in the sky, I’ve always appreciated it. The few times in life where my disability was conquered. No pain. Just void. And yet, the moment would pass and you grow up and learn that […]

Continue Reading

How to forcefully restart iPhone 11 Pro Max

On the older iPhones with Touch ID you’d have to hold down both the Sleep/Wake button and the Home button. On the newer Face ID devices this can be a bit different. You might notice if you try Volume + Sleep, that it wants to shut down or even call emergency services. So that’s not […]

Continue Reading

Ubuntu 18 : How to import a MySQL .sql database

ssh to your server with a user that can sudo up, and have your details ready, and change to the directory where the .sql dump is located. Of course, maybe make a new database in the mysql server, so you don’t accidentally override anything. mysql -u dbusername -p dbname < file.sql The dbusername is the […]

Continue Reading

How to make a tarball backup of public_html

There’s a lot of different (type) of files in the public_html directory of your web server. You should manually back this up, and back it up properly. I recommend using tar, it can gzip it for you. And it can respect the permissions and relative path. It’s an easy tarball as they call it, that […]

Continue Reading

Ubuntu 18 : PHP Allow bigger file uploads

I found that the default is 2 megabyte with post upload limit of 8 megs. This is not enough these days anymore. I found in Ubuntu 18 with PHP 7.2, that I have my php.ini file to reside here: /etc/php/7.2/apache2 Edit it: sudo nano -w /etc/php/7.2/apache2/php.ini And find: post_max_size = 8M Change this to a […]

Continue Reading

XenForo : How to get Friendly URL to work

If you don’t use managed hosting solutions for your forums, you might have to install everything yourself. By default the directive for AllowOverride is set to None, meaning even if you enable the friendly urls in XenForo, it will show you 404 not found pages. Step 1. If you already have a .htaccess file, get […]

Continue Reading

Ubuntu 18 : How to add Virtual Hosts to Apache2

Assuming you’ve properly installed Apache2, MySQL, PHP, and read some of the other blogs I’ve written, it’s time to add domains that point to the IP of the server, to the Apache2 as virtual hosts. This makes it easier to add files to load, per domain, even if you have multiple domains on the same […]

Continue Reading

Ubuntu 18 : Install PHP

Assuming you’re going for a LAMP setup, which is Linux, Apache, MySQL and PHP, and have followed some of my other blog posts, we’re at the point where you might find out that PHP isn’t installed on Ubuntu 18 on most hosting solutions. Hopefully this quick guide will get you started. sudo apt install php […]

Continue Reading

Ubuntu 18 : Add MySQL database and user

After installing the MySQL server and setting it all up as per this blog post: https://mrfloris.com/article/3288/ubuntu-18-how-to-add-basic-firewall-with-ufw/, it’s time to add a database, and a user to this database. Assuming you’ve followed the previous blog post, connect to the mysql server with the mysql root user as such: mysql -u root -p It will look like […]

Continue Reading

Ubuntu 18 : How to install MySQL server

By default Ubuntu 18 usually has the Apache2 server installed, but the MySQL server might not be there. We will require it for omgboards.com and other websites. So we’re going to install it. ssh to the server, login with a user that can sudo up, and type from the command line: sudo apt install mysql-server […]

Continue Reading