Ubuntu Mate 16.04 ARM

I used to write about Kubuntu when its new version was released. But for now, since my HDD is rather broken, and I have bought Raspberry Pi instead, so I want to write about Mate flavor of Ubuntu which fit to the ARM platform. Actually I want to install KDE on it, but I’m not sure about the performance.

Last month, the new long-term supported Ubuntu version was released. The main flavor with Unity has not yet brought awaited Unity 8 with Mir display server. And for my favorite flavor, Kubuntu, it has brought the newest KDE Plasma 5 for the desktop. Unfortunately I cannot play with it until I repair my PC. Maybe not only repairing, but also I ought to buy a new HDD as well.

Continue reading Ubuntu Mate 16.04 ARM

Advertisements

Set Up an OpenVPN Server Instantly with DigitalOcean Droplet User Data

OpenVPN is a full-featured open source Secure Socket Layer (SSL) VPN solution that accommodates a wide range of configurations. In this tutorial, we’ll set up an OpenVPN server on a Droplet and then configure access to it from Windows, OS X, iOS and Android. This tutorial will keep the installation and configuration steps as simple as possible for these setups.

Note: OpenVPN can be installed automatically on your Droplet by adding this script to its User Data when launching it. Check out this tutorial to learn more about Droplet User Data.

Setup VPS instance

First thing first, you need to create a Digitalocean account by clicking this link. Complete the registration by providing your payment method, either with credit card or Paypal account.

After you see the green button “Create Droplet”, click on it to proceed to the next step. Type in your preferred Droplet hostname, whatever you want. Then select size of droplet, in this case you’ll choose the pricing which fit you. In my case, I choose the lowest one, $5 /month droplet with 20GB storage and 512MB RAM. It’s kind of enough for me.

Then select the region you want the droplet located. This time, you may want to choose the nearest region from your country. Then select Image, it is the operating system for your VPS. Choose the Ubuntu 14.04 x64.

And finally, tick the “User Data” in the Available Settings section. When the text input appears, enter the script for creating the VPN server. Get the script by referring to the link at the bottom of this post. Find the “Note” section like above quotation. There you’ll find the link to the script. Just copy and paste it.

DO User data
DigitalOcean User data. This is just illustration, and that’s not the script you want.

And in the last section, you may skip that “Add SSH Keys”. Then you will receive the password required to login to the VPS in your email inbox. Check it later.

via How To Set Up an OpenVPN Server on Ubuntu 14.04 | DigitalOcean.

Auto build Launchpad Project on Commit

If you have a project hosted on Canonical’s Launchpad, then you have a choice to build it as soon as you push its Bazaar commit. The automatic build process is conducted by a “recipe”. Cited from official explanation, there are two options for when recipes get built:

Built daily
A build will be scheduled automatically once a change in any of the branches used in the recipe is detected.
Built on request
Builds of the recipe have to be manually requested using the “Request build” action.

You can create a recipe from project page, and look for “Create packaging recipe”. Then you need to choose the “Built daily” option to automatically build the DEB binary from source when you push the commit.

Build recipe Launchpad Canonical Ubuntu
Build recipe Launchpad Canonical Ubuntu

Then you can compose the packaging recipe by refering to the official documentation here: https://help.launchpad.net/Packaging/SourceBuilds/Recipes

How To Set Up Automatic Deployment with Git with a VPS | DigitalOcean

Introduction

For an introduction to Git and how to install, please refer to the introduction tutorial.

This article will teach you how to use Git when you want to deploy your application. While there are many ways to use Git to deploy our application,

melalui How To Set Up Automatic Deployment with Git with a VPS | DigitalOcean.

How to Block Device on OpenWRT Based on MAC Address

If you have an OpenWRT router, sometimes you need to block particular devices from accessing internet yet still can connect to its Wi-fi network. We can do that easily from the LUCI web-UI control panel.

Head for menu Network > Firewall.
openwrt1

There you can make a new firewall rule. Give it a name in New forward rule section. Then click Add and edit.
openwrt2

Then you have to choose the device’s MAC address to block.
openwrt3

Then choose option Reject in the Action dropdown list.
openwrt4

Then click Save and apply. Make sure you have the new rule is listed in the rules list.
openwrt5

Kubuntu Tidak Bisa Login karena…

Tadi habis mencoba-coba Google authenticator di Kubuntu. Hasilnya tidak bisa login karena gagal. 😦

Awalnya googling tentang authenticator, muncul saran kata kunci ‘google authenticator linux’. Karena penasaran, akhirnya mengarah pada: http://askubuntu.com/questions/193248/google-authenticator-for-desktop-lightdm-or-gdm-plugin dan juga http://brianpost.blogspot.com/2012/07/verifikasi-2-langkah-pada-ubuntu-hasil.html

Eh, ternyata ada yang salah… Saya belum tahu di mananya yang salah. Tapi yang jelas kedua sumber tersebut sudah lumayan outdated sih. Ini saya menemukan lagi yang lebih baru: http://www.cyberciti.biz/open-source/howto-protect-linux-ssh-login-with-google-authenticator/ tapi kelihatannya sama saja, hanya beda desktop environment.

Mudah-mudahan ini: http://ubuntuforums.org/showthread.php?t=1156240 bisa mengatasi masalah gagal login saya ini, dan saya bisa menulis kelanjutan ceritanya…

Acang Plasma Mawakit (Plasma Widget Mawakit) di Kubuntu 14.04 Trusty Tahr

Judulnya aneh ya? Saya lupa padanan kata terbaru untuk “widget” selain acang.

Mawakit adalah acang untuk lingkungan desktop KDE yang berguna untuk menampilkan jadwal waktu shalat. Saya mencari-cari PPA-nya tetapi tidak menemukan, sepertinya saya harus bertindak nih 😀 . Sepertinya dulu pernah ada tutorial berbahasa Indonesia yang menerangkan cara kompilasi Mawakit, tetapi sudah tidak ada di Google.

Selain Mawakit, ada aplikasi lain yang juga berguna untuk mengingatkan jadwal shalat, namanya Minbar. Tapi karena Minbar berbasis GTK+, saya lebih memilih Mawakit. Bukannya saya tidak suka GTK+, tapi saya ingin agar aplikasi yang saya install punya integrasi dengan KDE, jadi saya lebih memilih Mawakit. Selain itu, Mawakit tidak perlu autostart, karena merupakan acang plasma yang mana akan dimuat seketika log masuk lingkungan KDE. Continue reading Acang Plasma Mawakit (Plasma Widget Mawakit) di Kubuntu 14.04 Trusty Tahr