ZeroInside-LAB

Little part of my stories on research and development.

How to Upgrade Nextcloud to the Latest Major Version

Introduction

Nextcloud is a free and open-source software suite for file hosting, collaboration, and communication. It is similar to other cloud storage services like Dropbox, Google Drive, and Microsoft OneDrive, but it can be self-hosted on your own server. I have running instance on https://drive.zeroinside.id with linuxserver/nextcloud image and use it for cloud storage, e-mail clients, and notes. This gives me more control over my data and privacy.

I decided to upgrade Nextcloud to currently latest version which is 27.0.0.8 from older version 24.0.7.1. The main reason is just because it gives me annoying old version in toast notification on the mobile apps.

Loading

Connecting Different Container Network

Introduction

Docker provides a bridge network on every service that defined in docker-compose file. On default, if we don’t specify the networks configuration, it will generate automatically based on project directory with _default suffix and each service will be in same network and can directly communicate. However, the problem comes when we have different container stack with new docker-compose file and we want to connect to existing services in the same network.

Loading

Somethings I Do After Move to New Domain

On 3rd November my old domain zeroinside.in has been expired, then I decided to buy new domain with TLD .id because I think its better to have my origin country domain . After search some provider sites that collaborate with PANDI, I bought it at 180k/years IDR on IDCloudHost.

I thought it was simple migration but it wasn’t. I must update some configuration and do somethings. What somethings? Here it was.

Setup New Domain

The first things I did was managed the nameserver to point the linode name server here

then I deleted IDCloudHost‘s dns manager that manage my domain, so I can use external dns manager that linode has.

Loading

Somethings I do after install Ubuntu or Debian based Distro.

It’s been a while after my sound on Ubuntu 20.04 didn’t working. I’ve been tried many way to fix the sound but still buggy. So, I decided to reinstall a fresh Ubuntu 20.04.02 LTS. The reinstall process is exciting and also suck tho, seems like repeat events that have ever existed but sometimes forget what to do.

In this article, I give my work-flow in configure and customize an Ubuntu from fresh installation. It can also be applied to others Debian based Distro, like Mint, Kubuntu, Xubuntu with several changes but i just give the point. I don’t cover a whole detail process, I cite the reference for further step.

1. Change to Mirror Repository.

Sometimes, the built-in repository give an error if I do “apt-get update”, so I need to change the repository. Beside that It will help get the best server that can improve package downloading time.

Open “Software & Updates”, “On Ubuntu Software” tab choose drop-down menu beside “Downloaded from :”, then click “Select Best Server”, finally click “Choose Server”.

If I encounter an error, just choose the “Main Server”.

Loading

How to make Smart Air Purifier and Diffuser

Introduction

For several people, bedroom is the most comfortable place in the house. Many people use the bedroom for activity and working too. But, how if the bedroom has uncomfortable condition, like there’s a strong smell from cigarette or the temperature and humidity are not ideal. The room conditions should be maintained for creating ideal and healthy air quality.

Based on that problem, I try to make Smart Air Purifier and Diffuser with Intenet of Things technology, so it can connect to the internet and get access from the smartphone. How this device works by filtering air using High Efficiency Particulate Air (HEPA) Filter and scent the room by aromatherapy steam. The device can be placed on the table and work 24 hours for keeping the room conditions. Beside that, there is alert mechanism by turn on the buzzer if somoone open the door when I’m sleeping, it prevent from theft.

Loading

How to Synchronize Server Files to Google Drive using RClone

I have a private server in the cloud, and I want to backup my home directory which has docker container config, volumes, and services files. I used rclone tools for backing up my files synchronously to google drive. The documentation available on https://rclone.org/.

In this article, I want to show you how I configured and run the rclone for my Ubuntu 20.04 server.

Loading

List of My Personal Used Sensor

I have been used many sensors for finished or on-going cyber physical projects. Sometimes the sensors work well as I expected and some sensors are not, easily configured or not, and cheap or expensive. It depends on the budgets for buying these sensor.

FYI, the sensor really has constrain. As we know the sensors manufacture like Senserion, DFRobots, Adafruits, etc build with their different specification.

In this article, I’ll give you the basic information about the sensors on several purpose of measurement.

I’ll keep updating the page.

Loading

Sensor and Actuator – The Bridge between the cyber and the Physical

A sensor is a device that measures a physical quantity. An Actuator is a device that alters a physical quantity. In electronic systems, sensor often produces a voltage that is proportional to the physical quantity being measured. The voltage may then be converted to a number by an analog-to-digital converter (ADC). A sensor that is package with an ADC is called a digital sensor, whereas a sensor without an ADS is called an analog sensor. A digital sensor will have a limited precision, determined by the number of bits used to represent the number (this can be as few as one). The actuator too, it’s commonly driven by a voltage that may be converted from a number by a digital-to-analog converted (DAC). An actuator that is package with a DAC is called a digital actuator.

Loading

Powered by WordPress & Theme by Anders Norén