Manually Restoring A cPanel Hosting Service To Another Server is Not Too Difficult If You Have The ContextDate Published: Sun, 2 Jun 2019 14:47:43 +0200
I'm by no means an expert at this but with my recent hosting provider unable to restore my Drupal site under their cPanel I was forced to my own crash course on how to restore it to my new hosting service at DigitalOcean. There are always going to be small details that trip you up but the context I can give here may help many others in this situation who want to give it a try. If you are just restoring straight back into your previous hosting domain name and structure, this process is not required, and a straight restore in Softaclous will normally do the trick. But if you are changing providers or host URL's then you'll want to consider this.
There are generally these layers of service you'll encounter:
1. The server OS with Apache web server, MySql and PHP running or the so-called LAMP stack
2. Softacluous running under a cPanel or Webuzo for shared hosting services. I'm using a free-standing Webuzo install for a single user to manage the Softaclous scripts.
3. MySQL service with a database per service.
4. Folders per service that have their configuration files, PHP script files, and data files.
If you have a Softaculous backup and you've downloaded that backup file, it can be copied to the new root web folder, and be expanded there. Usually, it will create the sub-folder structure there with all the files and folder, and also include a .sql file in the root of that folder. That sql file is the database. You also want to make sure that all the files and folders are owned by the web server user, or the Softalulous user (in other words, not root user).
You need to now file the following info from a config file in those folders: database name, database user name, database user password. You could create new ones but I've found with Piwigo, for example, it hard codes some info in its database. So for Drupal the config file is named "settings.php" and found in "public_html/drupal/sites/default/" whilst for NextCloud the config file is named "config.php" and found in "public_html/nextcloud/config/". The details can differ a bit depending on what sub-folder you have created as the root web directory, but hopefully, you get the idea.
Armed with that info you can go to your new cPanel or Webuzo and open phpMyAdmin and you want to create an empty database with the same database name you found in the config file. Then create a new user account also in phpMyAdmin with the user name and password you got from the config file, and lastly give that user full permissions for that database.
If your database is not bigger than 50MB or so you could have maybe imported that SQL file from the root folder directly into phpMyAdmin, but most of mine were bigger and I had to import them from the command line. To import from CLI log in via SSH as root user and change directory to the root folder where you unpacked all the files ie. same location where that SQL file is. Then run the command "sudo mysql -uID -pPassword newdatabase < olddatabase.sql" where ID is the database user name, Password is the DB user password, newdatabase was the name of the empty database you created, and olddatabase.sql is the database file that was lying in that root web folder and which you want to import.
If the database import gives errors it could be because your user is not linked to the new database or you did not grant it full permissions.
Make sure after this that the config file does match the new database, user and password before trying to start the app from a web browser. You should have a domain name already pointing to that web folder.
If you want to manage backups and updates within Softaculous there is an easy way to "import" this installation into Softaculous. Just go to Softacluous and navigate to the app's overview where you'd normally go to install it, but instead of clicking on Install, click on Import instead, and choose "From this Server" and fill in the details and click on the Import button.
I've glanced over quite a bit of finer detail as the aim here was to give a contextual overview of the process. Remember because you are working from a backup file you can keep fixing and retrying until you get it right so don't panic. It took me 2 or 3 days to get right as I had to retry many times. Point is it will come right with patience and some Google searching.
A case is made for the Merkur 34C not being the best choice as a Beginner Safety Razor and the alternatives are also MerkursDate Published: Sat, 1 Jun 2019 21:14:46 +0200
I found this interesting as I've always hands down recommended the 34C as the best razor to start out with - it's a very easy mild shave with plenty of forgiveness which creates a good first impression and inspires confidence. But Sheldon makes a case here for tow other Merkur contenders that may be a better choice for a beginners razor.
The Merkur 34C is Merkur's best seller worldwide but is it the best choice for a beginner?
MY LEAST FAVORITE BEGINNER RAZOR! I know that a few of my readers may thumb their nose at me for the sentiments expressed above, but the Merkur 34C is, in my opinion, is not the best safety razor t…
Telegram Messenger 5.7 further enhances privacy, improves group and channel features, and has public channels not requiring registrationDate Published: Sat, 1 Jun 2019 18:06:54 +0200
Telegram Messenger 5.7 further enhances privacy, improves group and channel features, and has public channels not requiring registration
Always good to see Telegram's excellent options continually being expanded and being more and more useful.
Here's the Play Store changelog:
- Choose who can see your phone number in Privacy & Security settings.
- Add groups to "Always/Never Share" exceptions in privacy settings. Permissions will get updated as users leave and join the groups.
- Enjoy improved design when confirming actions, searching for messages and adding users to groups.
- Connect a discussion group to your channel.
- View any public channel, even without a Telegram account.
- Seamlessly integrate bots with web services.
To get June started off right, Telegram just released v5.7 for Android. The main focus continues to be on privacy and improving those elements, but... by Jordan Palmer in Applications, News
The McMojave GTK theme allows Linux users to transform their desktop environment into something that looks close to the new Mac OS Mojave update. It supports all Linux desktops (so long as they support the latest GTK2 or GTK3), including Gnome Shell, XFCE4, Cinnamon, and others.
McMojave comes with a few variations, including Mojave Light, Mojave Dark, Mojave Light transparent, Mojave Dark transparent, and more. Here’s how to get the McMojave Linux theme pack working on your Linux PC!
Note: the McMojave theme is built with GTK. As a result, it will not work well with the KDE Plasma 5 desktop environment, or the LXQt desktop environment. But you will find under Plasma 5 that it has its own McMojave theme that you can install and it looks pretty much the same.
How to install the McMojave Linux theme
Microsoft PowerPoint is essential in an office or school setting if you’re required to make presentations. But what if you use Linux and don’t have access to PowerPoint? What do you use?
Here are five very good alternatives at https://www.addictivetips.com/ubuntu-linux-tips/microsoft-powerpoint-alternatives-for-linux-users/
5 Microsoft Powerpoint alternatives for Linux users
If disaster strikes in the US northwest, amateur radio operators like Woody Linton are ready to spring into action.
During disasters, communication lines are the first thing to break down, Linton said — bad news for emergency responders. That’s why a new high-frequency radio station recently installed at the City of Kenora Fire Station One’s emergency operations centre is so vital, Linton said.
Linton is a member of the Amateur Radio Emergency Service, a Canadian and American corps of volunteer amateur radio operators who assist in emergency communications during times of disaster.
“When things go amuck, the essential services — police, fire, ambulance, social services — quite often are overwhelmed with what they have to do,” Linton said in the lobby of the City of Kenora Fire and Emergency Operations Centre. “Quite often, regular landlines are overloaded, and our cell service goes down because it can’t take the stress — it’s not designed for a maximum load.”
The new communications station, bought with a $4,100 grant from the Kenora and Lake of the Woods Regional Community Foundation, isn’t dependent on the usual means of communication, only requiring emergency power to operate on.
The idea is to allow unimpeded communication between emergency services agencies. Here is South Africa we have a similar arrangement with Hamnet operating from various Disaster Management Services locations in cooperation with other local agencies. Volunteers are part of scheduled preparation exercises and these radios can communicate locally as well as far as 100's of km and sometimes right around the world with no aid from telephone, cellular or Internet services.
If disaster strikes in the northwest, amateur radio operators like Woody Linton are ready to spring into action.During disasters, communication lines are the first thing to break down, Linton said …
Low-carb, high-fat (LCHF) nutrition saw a popular resurgence in 2018 as the ketogenic diet was the most “googled” diet of the year. Probably you’ve heard about it many times, including from patients.
Of course, low-carb eating isn’t new. The whole foods that compose a low-carb diet are similar to what humans have been eating for thousands of years. The recent popularity of low-carb diets, however, has come with a new scientific recognition of their multitude of health benefits.
Scientific studies of varying quality and duration show low-carb diets (generally less that 100 grams of carbohydrates per day) and ketogenic diets (less than 20 grams of carbohydrates per day) provide numerous health benefits including:
- Improved weight loss
- Treatment of diabetes
- Lowered blood pressure
- Treatment of fatty liver
- Increased HDL and reduced triglycerides
- Reduced hunger, increased energy and improved mental performance
- And more
Unfortunately, no matter how popular they may be, and despite the numerous health benefits identified in the scientific literature, many physicians continue to consider low-carb and ketogenic diets unhealthy and dangerous. Why is there such a deep disconnect? The short answer is a misunderstanding of the science of dietary fat and an even greater misunderstanding of the potential benefits and risks of low-carb diets.
This guide will help explain the science surrounding low-carb, high-fat diets. If you are a healthcare practitioner, this guide will hopefully help you reexamine the risk/benefit balance of low-carb diets.
Low-carb, high-fat (LCHF) nutrition saw a popular resurgence in 2018 as the ketogenic diet was the most “googled” diet of the year. Of course, low-carb eating isn’t new. The whole foods that compose a low-carb diet resemble what humans have been eating for thousands of years.
4 open source mobile apps for Nextcloud (DropBox alternative and much more) - Increase Nextcloud's value by turning it into an on-the-go information hubDate Published: Fri, 31 May 2019 18:31:25 +0200
I've been using Nextcloud (and before that, ownCloud), an open source alternative to file syncing and storage services like Dropbox and Google Drive, for many years. It's been both reliable and useful, and it respects my privacy.
While Nextcloud is great at both syncing and storage, it's much more than a place to dump your files. Thanks to applications that you can fold into Nextcloud, it becomes more of an information hub than a storage space.
While I usually interact with Nextcloud using the desktop client or in a browser, I'm not always at my computer (or any computer that I trust). So it's important that I can work with Nextcloud using my LineageOS-powered (or Android) smartphone or tablet.
6 Open Source Android Alternative Operating Systems For Mobiles... because you DO have freedom of choiceDate Published: Fri, 31 May 2019 18:26:00 +0200
In the wake of the ongoing US-Huawei-Google tussle, many Android enthusiasts are wondering about the different alternative phone operating systems that are out there. We have Apple’s iOS at our disposal, but the cost of owning an iPhone makes it an impossible choice for many (and for me its restrictions were just too much).
But here is a list of alternatives of which LineageOS probably has the widest support for different devices at https://fossbytes.com/android-alternatives-open-source-linux/
Ubuntu uses ‘.deb’ packages for installing applications on system & RPM is the default package manager for RHEL/CentOS. But can we install RPM packages on Ubuntu? YES, we can.
To install RPM packages on Ubuntu, we need to install a tool called ‘alien’. Alien allows us to convert the ‘.rpm’ packages into ‘.deb’ packages which can then be installed on Ubuntu systems or without converting, alien can also directly install ‘.rpm’ packages onto Ubuntu systems.