Getting Nextcloud ready is lots of fun, but getting it to a very stable state is tedious. I gathered the best of the best resources on the web from putting it up to backing it up.
Installing LAMP server
Follow it! It works for Linux Mint and Mariadb > MySQL.
Installing Nextcloud, Let’s Encrypt for HTTPS, Redis Cache
I was very impressed with the ease at installing and the correct suggestions, like separating the nextcloud config and nextcloud-data folders.
Mounting External Hard drive
Representing this site!
Backups with rsync (daily, weekly, monthly)
I tried many other solutions like fwbackup, bacula, etc. But doing it on the command is going to give you the most options for doing it correctly.
f.lux and Redshift are the two major players for making your laptop screen turn red. I had f.lux working on Linux Mint but recently upgraded to Linux Mint 18 and it stopped working. I cannot get the applet to show so I cannot turn f.lux on or off.
My workaround was to install Redshift. It does not have a GUI, so it is even less customizable, but at least you get a red screen. It can easily be installed from the Software Manager and you need three packages to get it to work. The Goeclue2 is needed or Redshift will not start!
If you know how to get f.lux to start on Linux Mint, let me know!!
In Windows 8 and 10, Microsoft added a “Fast Startup” feature that saves a state of the computer to disk. This is like Hibernation, which for a while has prevented Linux from mounting a Windows partition. This new feature makes hibernation much more frequent, so dual-booting machines will start to see this much more often.
In this source, how to disable Fast Startup is explained. I also suggest disabling Hibernation when you close the lid, since Linux will boot when you turn the screen back on.
The Brother HL 2140 is a good printer but getting it to work on Linux Mint is a bit of a hassle. There are many forums online with the problem of the Brother printing many blank pages. Finally, I found one with the solution.
First, be familiar with the CUPS page on your machine: localhost:631/jobs/. Here, you can see/add/remove your printers and your print jobs. The CUPS drivers were installed by default for me on Linux Mint 18.
On this website, you can add a printer, for which it should detect your Brother printer on USB. When selecting the driver though, you need to select “Brother HL-2140 Foomatic/hpijs-pcl5e“. For me, it was no longer recommended, but it was the only driver that did not print only blank pages. A test page will verify your printer is working.
After this, you should try out Google Cloud Print so you can print from your phone and when you are on the road to your home printer.
I am very impressed with the Plex Media server. It runs on all your operating systems but I have it running on Linux. It sets up the server and accessing the server through any of the Plex apps. It then will scan your folders on your hard drive, gather TV Shows into series and seasons, download an image for each TV Show or movie, description for each, and then keep track of your watched status. It works at home on a local network, on your phone, or at someone else’s house. The streaming is fluid. As long as you keep your laptop on, you got a home media server ready. It also is good for streaming your own, home videos to your TV. I highly recommend it.
They offer a Plex Premium account that has good features like offline content for smartphones and syncing with devices and the cloud.
- Have needed to restart my laptop after the server had trouble indexing.
- Lost TV show progress when upgrading the Plex Media server.
An old laptop that is going to be running a home server is going to be limited on computing resources, so it is worth looking into running your server with as little overhead as possible.
I was looking for the server to have less software so upgrading would be less of a hassle. Less software packages means less downloads, less chance of problems, and less dependency issues. Less also means more performance!
I tested out the Ubuntu Server since it seemed to be the most well built of the Linux server distros. I was not impressed.
The Live USB created in Linux Mint did not load. I needed to flash from Windows with USB Pen Drive and with Lili USB Creator. During installation, you need to select the type of server you want to run and the programs you will need, something I was not ready to select. After that, Ubuntu Server was installing GRUB onto the USB flash drive. I forget how I got around that but the installation would hang when creating the ext2 file system. After 1-2 hours to complete the installation, I had a command line. Trying to experiment with just a command line is annoying. I want a GUI to do updates, install software packages, use Google Chrome.
So after all of that, I wanted a normal Linux distro with some overhead of a GUI, a web browser, print drivers, and everything else. So I put Linux Mint on the laptop and installed server software that I needed, when I needed it.