How To Complete Nextcloud Backup With a Simple Script

I really like self-hosted solutions in my daily drive. Nextcloud is one of them and most appriciated one. So, if you have this kind of a setup then you need a nextcloud backup. The nextcloud has solid documenting for almost every configuration. I looked there and create a simple script for backup process. It has few simple steps to do:

  • creating a folder that will include all the nextcloud data
  • create a mysql dump for nextcloud database
  • and zip them all
  • remove folder that created in first step

Continue reading →

Raspberry Pi Cast – Alternative to ChromeCast

I do love to use my RaspberryPi 3 for various tasks. I use it as my test server, bittorrent client, cache proxy server,  and so on. Beside all of these, my favourite daily usage is to use it as streaming device just like a chromecast. Therefor, I want to introduce 2 solutions for this unique task. One of them is an open source project which it has great android app, Chrome/Firefox extensions and also a very nice web interface. The other one is only an android app but it has further features. The best side of this two softwares are that you can use them together.

Before the start use raspberry pi for streaming I strongly suggest config your raspberry device IP address as a static ip. Than, you may want to edit your host files as well.

Continue reading →

A Complete Guide – Installation of Nextcloud on Ubuntu 16.04

Nextcloud is a dropbox like cloud service which is run on your private server. Best side of this project is being open source.  There are detail information and well document on their official sites. So, I wont keep long introduction of this post. Let’s begin to installation.

I will put some links for initial setup here. Then we will make some configuration for smooth cloud experience.

Initial Setup

        Nextcloud installation is required LAMP server and An SSL certificate. So, there is a digitalocean document for initial setup and I think it is the best one of out-here.

When you finish this setup there will be a almost ready to go cloud server. But, still need some fine adjustment for best experience.

Continue reading →

Static IP on Raspberry Pi

Open terminal or connect via ssh. Than type:
sudo nano /etc/dhcpcd.conf
Your dhcpd.conf file should look like this. Change these as you wish and correctly for router address (a.k.a. gateway) .
interface eth0
static ip_address=192.168.1.200/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
interface wlan0
static ip_address=192.168.1.201/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
sudo reboot
and it’s done!