If you have ever installed WordPress on Ubuntu 18.04 or similar you may have noticed the WordPress warning in site health dashboard for the included default of old PHP 7.2. – “PHP is the programming language used to build and maintain WordPress. Newer versions of PHP are created with increased performance in mind, so you may see a positive effect on your site’s performance. The minimum recommended version of PHP is 7.4.” Furthermore if you do any experimenting with Laravel you may have issues because the latest Laravel 8 is only compatible with PHP7.3 and newer, among other changes.
Continue reading “Upgrading PHP Nginx on Ubuntu 18.04”Setting private user home directory on Ubuntu
Recently it was announced that Ubuntu 21.04 will have private home directories. This would affect new users and new installs, but you can easily change this on your computer (or any Linux/unix computer) after checking your current setting…
Continue reading “Setting private user home directory on Ubuntu”FTP-able server with correct Apache permission settings
If you’re setting a local server you may want some trusted admins to upload to, one good way is the vsftp server. DigitalOcean has a good tutorial on it, but there are some odd issues.
Continue reading “FTP-able server with correct Apache permission settings”Fixing Ubuntu Python-Pip
After you’ve upgraded your Ubuntu machine a few times, you might find that free disk space is low and some Python commands have issues. Programs like Bleachbit can help you clear old packages or cache that you don’t need, but sometimes you need a minor manual fix as documented here. As you may know, Pip is the main package management you’ll use to install packages you use, so this can be problematic.
After upgrading 16.04 to 18.04, I got an error on command line “pip”:
Continue reading “Fixing Ubuntu Python-Pip”Removing old PPA from Ubuntu for stability and latest features
Once in awhile a package hangs out at an old version even after a system upgrade or two. This can cause odd things like that software portion not working like it should. In my case, an old salbabix ios PPA that was long defunct as Ubuntu 18.04 and later have no problem just plugging in updated iOS devices.
Continue reading “Removing old PPA from Ubuntu for stability and latest features”Building a Linux App part 7: Building an Installer File
There’s a big difference between having that quick python script set up with a GUI, and having a full desktop or mobile app ready to click install. In this post I’ll show the steps to build a Python script into an installable application.
Continue reading “Building a Linux App part 7: Building an Installer File”Installing Python modules even when they don’t behave… e.g. installing Scikit-image on Ubuntu 16.04
Usually when you are missing any Python library you happen to want to use, you can install it in Python and have it accessible from your scripts or terminal, simply by using:
pip install <name of package>
Continue reading “Installing Python modules even when they don’t behave… e.g. installing Scikit-image on Ubuntu 16.04”