How to connect to OpenVPN Server on Manjaro 17.0

This tutorial will show you how to connect to OpenVPN Server from Manjaro 17.0. I will connect to my existing OpenVPN Server installed on Debian 9 Server. If you build your own OpenVPN Server, make sure you download the .ovpn configuration file. This file will be used by the client to connect to the server automatically.

I assume you have a working OpenVPN Server and also you have .ovpn config file on hands. Next we can start configure Manjaro. Open Network, and the follow these steps shown below.

openvpn on manjaro[4]

Once connected, you can test or check your IP address via http://whatismyip.com. Your new IP address will be changed to the OpenVPN Server IP address.

I hope that helps and cheers.

Manjaro 17.0.2 Installation Tutorial

The new version of Manjaro 17.0.2 is now available for download. Today, I will show you how to install Manjaro 17.0.2 on our system. I choose the Manrao 17.0.2 GNOME on this tutorial. Manjaro 17.0.2 brings a lot of improvements. You can read my review of this new Manjaro 17.0.2 before deciding to install it.
Installing Manjaro Linux is very easy. The Calamares GUI installer is very helpful and informative. Anyone can install Manjaro in few steps.

Manjaro 17.0.2 Installation Steps

Step 1. Boot the computer

On the first boot screen, you may change the default language and some other settings.


Step 2. Open the installer


Step 3. Select Installation Language


Step 4. Select location

At this point, we need to select our location from the map. Also we can change the system language and locale.  

Step 5. Select Keyboard Layout


Step 6. Installation method

Select the installation method and disk partitioning. You may use the default disk layout or create manually.  

Step 7. Create new user

Step 8. Installation Summary

Step 9. The install process

The installation process should now begin. It takes some times to complete.

Step 10. Reboot Manjaro

Once the installation has been completed, reboot your computer and enjoy Manjaro 17.0.2

Manjaro 17.0.2 GNOME Review with Screenshots

The new Manjaro 17.0.2 has been released few days ago. This is the latest stable version of Manjaro Linux which has many improvements, bug fixes and some GUI updates. Manjaro is an Arch based Linux distribution. On this review, we install Manjaro 17.0.2 on Virtualbox as guest machine on top of Ubuntu 16.04 host. 

Desktop First Impression

Manjaro 17.0.2 GNOME brings a nice and beautiful desktop with Manjaro default wallpaper. I like the GNOME desktop layout with Menu on the top left panel. Arc Maia GTK Theme and icon looks pretty cool with Arc Maia Dark as the GNOME Shell theme. 


Inside Manjaro 17.0.2

Manjaro 17.0.2 GNOME comes with the following:
  • Linux Kernel 4.9.13
  • GNOME Shell 3.24.2

Manjaro 17.0.2 GNOME use very small CPU footprint on idle. It also only uses less than 100 MB of my system memory during idle time. But when running in Virtualbox, I feel some lag when I clicked some menus. But I think this won't be a problem when we install it on a dedicated machine.

Improved Calamares GUI Installer

I notice some updates to the Calamares GUI Installer. Now installing Manjaro 17.0.2 even easier with this tool.

Bundled Applications

There are not many applications that come with 1.3 GB Live ISO. You will only have Firefox, stock audio and video player, GParted and some minor applications. There is no Office suite such as LibreOffice or OpenOffice. But I don't think that its a problem. We can easily add and remove applications using Pamac GUI application manager. 


Bottom Line

Manjaro 17.0.2 GNOME is a great operating system which brings the latest software on board. With all features that come along, run it on USB Live mode or install it on a dedicated system is recommended. It does not run well on Virtualbox. The response is very bad. 

Manjaro 17.0.2 is now available

The new version of Manjaro 17.0.2 is now available for download. This updated version brings a lot of improvements, better hardware detection, new graphical installer (Calamares) and many more. Manjaro is an Arch based Linux distribution, rolling release version which comes with many desktop environment options.

Manjaro 17.0.2 Features:


  • Linux Kernel 4.9 series
  • Latest Xorg 1.19
  • Latest KDE Plasma 5
  • Enhanced Calamares graphical installer
  • Better hardware detection

Download Manjaro 17.0.2 ISO


Make your GRUB menu more eye catching with Vimix

Boring with the original black and white GRUB menu ? Don't worry, we can easily change or beautify GRUB menu using Vimix. Vimix is actually an addon for Grub Customizer that can be used to change the background of the Grub. It is good to have something like this upon system boot. 

Its nice isn't it? But how to make it? 
OK, first, we need to install two package. First, install Grub Customizer and also Vimix. You can use Pacman Software Manager or via Terminal. 
Search for vimix on the search box. And make sure you have enabled AUR repository. 
Install the package called grub2-theme-vimix-git. Don't forget to install Grub Customizer as well. 

How to change GRUB Background

  1. Open Grub Customizer and switch to Appearance Settings tab. 
  2. Select Vimix from theme list and then select background.png from the left panel.
  3. Load your own .PNG image using the Load file button at the bottom. 
  4. Once finished, go to File | Save.
  5. Reboot Manjaro.  


Grub Customizer, a GUI application to modify Grub menu

Grub Customizer is a special application that can be used to modify the Grub menu entries, color and some other settings. Its a handy application that comes with nice GUI. Grub Customizer can be installed on Manjaro via Pamac Software Center. When this post is being written, the Grub Customizer 5.0.6 can be installed through Pacman command or Pamac Software Center. 

install grub customizer on manjaro

What Grub Customizer can do?

  • Edit boot menu
  • Change Grub background color
  • Change the default Grub entry
  • Modify boot delay

How to install Grub Customizer

Use the following command to install Grub Customizer on Manjaro
sudo pacman -S grub-customizer
Thank you


How to install Gnome Desktop Environment on Manjaro 17.0

This tutorial is going to show you how to install GNOME desktop environment on Manjaro 17.0. As you know, we may install multiple desktop environment on top of a distribution. For example, we can run Budgie Desktop and GNOME together. So we can choose which one to use. Its pretty simple and straight forward to install GNOME on Manjaro 17.0.

Steps to install GNOME on Manjaro 17.0

Step 1. Update Manjaro

To update Manjaro, execute this command on Terminal
sudo pacman -Syu

Step 2. Install GNOME

Use this command to install gnome and gnome extra packages
sudo pacman -S gnome gnome-extra
Output example:
[dhani@dhani-manjaro ~]$ sudo pacman -S gnome gnome-extra[sudo] password for dhani: :: There are 47 members in group gnome::: Repository extra   1) adwaita-icon-theme  2) baobab  3) empathy  4) eog  5) epiphany  6) evince   7) gdm  8) gdm-plymouth  9) gnome-backgrounds  10) gnome-calculator   11) gnome-contacts  12) gnome-control-center  13) gnome-dictionary   14) gnome-disk-utility  15) gnome-font-viewer  16) gnome-keyring   17) gnome-screenshot  18) gnome-session  19) gnome-settings-daemon   20) gnome-shell  21) gnome-shell-extensions  22) gnome-system-monitor   23) gnome-terminal  24) gnome-themes-standard  25) gnome-user-docs   26) gnome-user-share  27) grilo-plugins  28) gtk3-print-backends   29) gucharmap  30) gvfs  31) gvfs-afc  32) gvfs-goa  33) gvfs-google   34) gvfs-gphoto2  35) gvfs-mtp  36) gvfs-nfs  37) gvfs-smb  38) mousetweaks   39) mutter  40) nautilus  41) networkmanager  42) sushi  43) totem   44) tracker  45) vino  46) xdg-user-dirs-gtk  47) yelp
Enter a selection (default=all): 
Press enter to install all packages. Follow on screen installation wizard until it completed. Please note that this step requires internet connection. Make sure you are connected to the internet. 

How to fix error: could not open file /var/lib/pacman/sync/extra.db: gzip decompression failed



I was trying to update/upgrade my Manjaro 17.0. I thing something went wrong with my internet connection and after that I got the following error:
error: could not open file /var/lib/pacman/sync/extra.db: gzip decompression failed
The error appear every time I tried to install package using pacman command. So actually Pacman was unusable at this point. 

How to fix this error?

I was searching around google and found a simple solution for this error. Simply run the following command on Terminal
sudo pacman -Syy
Wait until the repository synced and now the error should be fixed.

Manjaro 17.0.2 RC2 is now available

Manjaro 17.0 aka Gellivara gets an update version 17.0.2. Even it still in Release Candidate version, the Manjaro 17.0.2 brings a lot of refreshment on board. Manjaro 17.0.2 is available XFCE, KDE and Gnome edition for 32 and 64 bit systems. 

What's new on Manjaro 17.0.2

  • Updated stock kernel to linux49 4.9 LTS
  • Updated the Xorg-Stack to v1.19 series
  • Released Pamac v4.3 with native AUR-Support
  • Enhanced and improved our Manjaro Tools & Profiles
  • MHWD we adopted a more efficient way to handle libglx binaries
  • Some of our themes got updated and new got designed

ArchLabs 4.1, Arch based Linux distribution that ROCKS !!!

I was a bit skeptic before downloading ArchLabs 4.1. Downloaded, boot it and now I enjoy it. I was expecting a text based interface just like its ancestor Arch Linux, with no desktop GUI etc. But all my perception were totally wrong. ArchLabs brings a simple and beautiful Openbox desktop which is very lightweight.


I tried several Arch based Linux distribution such as Manjaro and Antergos. But this ArchLabs feels more "Archy" than those two. ArchLabs 4.1 codename "Yoda" was released few days ago brings some updates such as:
  • Decreasing initial boot times for live session
  • Decreasing wait times for first use of sudo/root
  • More wallpapers
  • Additional custom conky configs
  • Make the parts of ArchLabs a rolling release
  • Trim down ISO size
  • Implement a Welcome Screen
Please visit the official release note here.
For Manjaro users, ArchLabs should be familiar and if you want to switch to this distribution, should be no issues. ArchLabs 4.1 offers unlimited creativity and modifications. Conky, themes, icon theme are part that mostly tweaked to get a personalized look and satisfaction. 

ArchLabs Download

Interested? Go grab the ArchLabs ISO from this link. If you like, you can boot it onto Virtualbox. It comes with preinstalled Guest Additions, so full screen mode is enabled. Get it now and explore it your self.

Make your Manjaro looks more eye catching with OSX-Arc Theme

OSX-Arc Theme is a cool and beautiful GTK Theme. This tutorial will show you how to install OSX-Arc theme on Manjaro Linux. I am using Manjaro 17.0 MATE on this tutorial but it can be installed on any Manjaro Linux version and edition. 

INSTALLATION

OSX-Arc is available on AUR repository. Make sure you have enabled AUR on your Manjaro prior to the installation. You can read this post to see how to enable AUR repository on Manjaro. You can either install OSX-Arch via Terminal or using Pamac Software Manager.
There are several version of OSX-Arc Theme. You can choose or simply install them all. Once installation completed, you can activate it via Appearance or Tweak Tool.

How to install Budgie Desktop on Manjaro 17.0

This quick tutorial is going to show you how to install the latest Budgie Desktop on Manjaro 17.0 desktop. Why Budgie? Budgie is believed as a simple, lightweight and beautiful desktop environment for Linux. It was made popular by Solus OS. Budgie is actually a fork of GNOME desktop but way simpler and more lightweight.
In order to install Budgie Desktop on Manjaro, all you need is a working network connection. The Budgie Desktop is included in Pacman repository on Manjaro. You can either install Budgie Desktop via Terminal or Pacman GUI.

Install Budgie Desktop via Terminal

If you prefer to install using Terminal, use the following command to update and install Budgie Desktop on your Manjaro Linux.
sudo pacman -Syu
sudo pacman -S budgie-desktop
The download process will started and in few minutes, the Budgie Desktop should be installed.

Install Budgie Desktop via GUI

Open Pacman software manager and type budgie on the search box. You will see any packages related to budgie will show up. Select budgie-desktop from the list and mark it for installation. Press Apply to confirm and the process will started.
install budgie on manjaro 1
Optionally, you can also install budgie-wallpapers and manjaro-budgie-settings that will make Budgie Desktop more usable.
Once complete, simply log out and re login to the new Budgie Desktop. 

Arch-Anywhere 2.2.7 is now available

Arch-Anywhere is a GUI tool to help us to install Arch Linux on our system. By default, Arch Linux installation does not comes with any GUI installer like most Linux distribution. For you who new to Linux, this could be a pain in the ass since there are many things to do in order to get Arch Linux installed. Thanks to Arch-Anywhere that simplify all the steps to install Arch Linux. 

Arch-Anywhere 2.2.7 includes many bug fixes and improvements. User can choose the desired Desktop Environment for Arch Linux ranging from Gnome, KDE, MATE, and many more. Also we can choose the display manager for every DE we choose. We can choose from lightdm, gdm, lxdm, sddm (default lightdm).
Arch-Anywhere is distributed in ISO format. Simply boot your computer or VM with this ISO and you can start install Arch Linux right away.

Gstreamer update error, Could not satisty dependency Libsoup package

I am having issues with my Manjaro Budgie update process. Everytime I execute the update process, I always got the following errors:
Could not satisfy dependencies:gstreamer0.10-good-plugins: installing libsoup (2.58.1-1) breaks dependency libsoup-gnome
I am not sure why I always got this error everytime I want to update my Manjaro. As a fix, I remove the gstreamer0.10 since this package seems to be obsolete.

With this workaround my update is now works again. If you have the same issue with this, I think you should remove the gstreamer0.10 package before updating your Manjaro.

Install Cockpit, Web Based Administration Tool on Manjaro 17.0

Cockpit is a great web based management tool to manage Linux servers. It has many features to monitor your server, configure the storage, network and many others. This tutorial will show you how to install Cockpit on Manjaro 16.10. Other user with different Manjaro version can try this method as well. Cockpit now become a default package on Fedora 25 and newer. 
Before we go through here are some screenshots of Cockpit, The Web Based Administration Tool on Manjaro



I understand that most desktop users do not need to install Cockpit on their system. But, in case of you want to turn your Manjaro into your personal server or you just want to play around with it, you may consider installing Cockpit on your Manjaro.

Steps to install Cockpit on Manjaro 17.0

Step 1. Enable AUR Repository

Since Cockpit package is available on AUR repository, we need to enable it first. Please read this post in order to enable AUR repository on Manjaro.

Step 2. Install Cockpit

You can either install it via Pamac Software Manager or simply use the following command to install Cockpit. Please make sure you watch the Manjaro screen since this installation steps will ask your confirmation few times.
yaourt -S cockpit
Once finished, you can access Cockpit web dashboard using a web browser. Type your Manjaro IP address with the following format
https://your-ip-address:9090
Thanks for reading. 

How to connect to iSCSI disk on Manjaro Linux 17.0

I am currently working and testing my new iSCSI target server built on my FreeNAS 10 machine. I wrote a similar tutorial to connect to remote iSCSI disk/portal from my Fedora 26 server. Now I want to try to adopt it on my Manjaro. But mostly here done with command line. So, if you want to follow this tutorial, make sure you have an access to the remote iSCSI Target server.
My System configuration:
  • Remote iSCSI target server (FreeNAS 10 Corral) IP address: 10.34.0.211
  • iSCSI initiator client : Manjaro 17.0 Linux

Steps to connect to iSCSI target on Manjaro 17.0

Step 1. Install open-iscsi package

First of all, we need to install open-iscsi package on Manjaro. This package is not installed by default, so we need to install it first.
sudo pacman -S open-iscsi
sudo systemctl start open-iscsi

Step 2. Configure iscsid.conf

Now, we need to configure the file /etc/iscis/iscsid.conf. At this point, we will enter the iscsi target server details.
sudo nano /etc/iscsi/iscsid.conf
Now uncomment the following lines:
node.session.auth.authmethod = CHAP
node.session.auth.username = username
node.session.auth.password = password
Make sure you change the username and password with the iSCSI target server user name and password.

Step 3. Target discovery

Execute this command to start discover the iSCSI Target
sudo iscsiadm -m discovery -t sendtargets -p 10.34.0.211
You will see the list of any iqn list on the target server
manjaro iscsi iqn discovery

Step 4. Confirm status of discovery

Now use this command to confirm the status of the Target server discovery
sudo iscsiadm -m node -o show
Output:
manjaro iscsi iqn discovery 2

Step 5. Login to the target

sudo iscsiadm -m node --login
Example:
login to iscsi target server
At this point we are connected to our remote iSCSI Target server and the iscsi disk is mounted locally. Check if it listed using fdisk command.
fdisk -l
You should see new disk is listed there like mine below.
list iscsi disk
OK so, we are successfully connected to the remote iSCSI disk on Manjaro. This tutorial also applicable to other Arch based Linux such as Antergos as well.

Install Atom 1.15 on Manjaro 17.0

Atom is an all in one text editor for most Linux users. It comes with a nice GUI, expandable features and many other interesting features. The new Atom 1.15 is available and here I want to show you how to install Atom on Manjaro 17.0.

atom 1.15 on manjaro

What's new on Atom 1.15

  • Duplicate selections with multiple lines
  • Cursors are always visible by default
  • Fix for hangs on opening minified files

Steps to install Atom 1.15 on Manjaro 17.0

If you like to install it via Terminal, simply use the following command

yaourt -S atom

Make sure you have enabled AUR repository on Manjaro Linux. You can read how to enable AUR on Manjaro if you haven't done yet.

Alternatively, you can also install Atom via Pamac Software Manager

install atom on manjaro

Once completed, you can start using Atom on Manjaro. Please kindly share this article so other users can use it.

Learn Python code in Manjaro Linux

Python is a great programming language used by many developers around the world. Python runs on Linux and other Operating System as well. I just started to learn this Python language on my Manjaro. If you are new to Python, there are many websites that offers great free tutorial to learn Python. You may check the following websites for Python tutorials:

Before we can use Python, we need to install it first. On Manjaro, usually it comes with Python already. But in case you need to install Python on Manjaro, you can use this command below.

sudo pacman -S python

First Python Program

Lets create our first python program. Use your favorite text editor such as nano, vi, or Atom. But here, I use nano to create my first hello world python program.

nano hello.py

Now enter the following text

#!/usr/bin/python
print ("Hello World")

Close and save the file.

python hello world manjaro

Make it executable

Now we need to make the new file (hello.py) executable.

chmod +x hello.py

Run the program

To run the program, simply use the following command:

python hello.py

python hello world manjaro

Thank you

How to display current date using Shell Script

Shell Script Tutorial for Beginner - Hello everyone, today I will continue to give a short example about shell script and hopefully will be useful for anyone who wants to start learning Shell Script. Today, I am going to show you how to display current date via Shell Script.

First, create an empty file called exercise01.sh. To do it, open Terminal and type the following command

nano exercise01.sh

It will create a new file under current directory.

Now write down the following code

clear
echo "Hello $USER"
echo "Today is \c ";date
exit 0

Now close the file using CTRL + X and make it executable

chmod +x exercise01.sh

Now Run it

sh exercise01.sh

Example:

display date script

Please note that the "\c" on the script will show the date as the same line with text "Today is". Without the "\c", the date will be displayed under the "Today is" line.

How to Make Shell Script Executable using command line

How to Make Shell Script Executable using command line

Hello everyone, today I am going to demonstrate some shell script tips and tricks. On my previous post, I have shown a simple shell script "Hello World" that can be read here. After we create a script, we need to make the script executable before we can actually run it.

For example, we already have a .sh file called hello.sh which contains some line of codes. We need to make the hello.sh file executable. Use the following command to make the hello.sh executable.

sudo chmod +x hello.sh

Now we can run the script with this command

sh hello.sh

or

./hello.sh

Its pretty simple but for a beginner, you must know it.

Install PHPMyAdmin on Manjaro 16.10

This tutorial is going to show you how to install PHPMyAdmin on Manjaro 16.10. As you know, PHPMyAdmin is a web based administrative tool for MySQL Server. We can perform many administrative tasks to our MySQL Server right away from a web browser such as Google Chrome. In order to install PHPMyAdmin, first we need to install LAMP (Linux Apache MySQL and PHP) on our system. Please refers to my previous tutorial to install Apache, MySQL and PHP on Manjaro below.



Once we've configured LAMP on our system, now we are ready to install PHPMyAdmin. Please follow the steps below.
Step 1. Install PHPMyAdmin
You can either install it via Add/Remove Software (Pamac GUI) or via Terminal command.
sudo pacman -S phpmyadmin
Output:

sudo pacman -S phpmyadmin
[sudo] password for dhani:
resolving dependencies...
looking for conflicting packages...

Packages (1) phpmyadmin-4.6.6-1

Total Download Size:    6,08 MiB
Total Installed Size:  35,85 MiB

:: Proceed with installation? [Y/n]

Step 2. Configure PHPMyAdmin

Enable mysqli on PHP. On Terminal, do the following

sudo nano /etc/php/php.ini

Find and uncomment the line extension=mysqli.so. It should looks like this now:

extension=mysqli.so

Setup Apache by creating new configuration file

sudo nano /etc/httpd/conf/extra/phpmyadmin.conf

Now paste these lines:

Alias /phpmyadmin "/usr/share/webapps/phpMyAdmin"
<Directory "/usr/share/webapps/phpMyAdmin">
    DirectoryIndex index.php
    AllowOverride All
    Options FollowSymlinks
    Require all granted
</Directory>

Now include this line below inside  /etc/httpd/conf/httpd.conf. Put it at the bottom of that file.

Include conf/extra/phpmyadmin.conf

Now restart apache

sudo systemctl restart httpd

Step 3. Access PHPMyAdmin web interface

Open web browser and type http://localhost/phpmyadmin. You should see the welcome window with login screen on the web browser.

phpmyadmin on manjaro

Login with your MySQL credentials

phpmyadmin on manjaro 2

If you see the error as above, "The configuration file now needs a secret passphrase (blowfish_secret), do the following. You will need a strong password, use 32 length password. You can use password generator to generate the password. For example I use this password: Nj9pzCbF^ZGgVxgZ!4pp-%*x4<QDfVFB

Edit the file /etc/webapps/phpmyadmin/config.inc.php and add the password to this line. So the final line should looks like this. Put the password between (' ').

$cfg['blowfish_secret'] = 'Nj9pzCbF^ZGgVxgZ!4pp-%*x4<QDfVFB'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

Now refresh the browser and the error should now gone.

phpmyadmin on manjaro 3

Thank you for reading. Please share if you found this article useful. Cheers

How to backup local data to Amazon S3 Storage on Manjaro


I have an Amazon S3 Storage account and I want to integrate the storage with my local work. I am using Manjaro for my daily work and actually, I just want to backup my data into Amazon S3 Storage. Fortunately, there is Dragon Disk application that allows us to easily move or backup our local data to Amazon S3 storage. Dragon disk is available for free and can be installed on Manjaro with ease. See my previous tutorial to install Dragon Disk on Manjaro.

How to backup or sync data to Amazon S3 Storage

Step 1. Install Dragon Disk 

Step 2. Setting the Amazon account to Dragon Disk

First we need to create a new account on Dragon Disk. At this point, we must have a working Amazon S3 account that will be integrated to DD.

Step 3. Create Synchronization Job

Next we can start create a new Synchronization Job. This job requires source and destination to be set for sync purposes. 
We may also specify some other sync options. 

Step 4. Start Sync

To start the sync, simply go to Synchronization and click the sync job we created earlier.
Thank you for coming and share this if you think this article is helpful.

Install and use rsnapshot for data backup on Manjaro

There are various backup software available for Linux system. One of the most powerful backup software is rsnapshot. Rsnapshot is a filesystem backup utility based on rsync. Its a command line backup tool and there is no GUI for rsnapshot. Here I will show you how to perform backup on Manjaro using rsnapshot. For a complete information, please visit the official website of rsnapshot at: https://wiki.archlinux.org/index.php/Rsnapshot
First, we need to install rsnapshot. Open Terminal and type the following command:
sudo pacman -S rsnapshot
Output:
manjaro@manjaro ~]$ sudo pacman -S rsnapshot
resolving dependencies...
looking for conflicting packages...

Packages (2) perl-lchown-1.01-5  rsnapshot-1.4.2-2

Total Download Size:   0.08 MiB
Total Installed Size:  0.30 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 perl-lchown-1.01-5-x86_64                               8.4 KiB  0.00B/s 00:00 [##############################################] 100%
 rsnapshot-1.4.2-2-any                                  71.1 KiB  64.7K/s 00:01 [##############################################] 100%
(2/2) checking keys in keyring                                                  [##############################################] 100%
(2/2) checking package integrity                                                [##############################################] 100%
(2/2) loading package files                                                     [##############################################] 100%
(2/2) checking for file conflicts                                               [##############################################] 100%
(2/2) checking available disk space                                             [##############################################] 100%
:: Processing package changes...
(1/2) installing perl-lchown                                                    [##############################################] 100%
(2/2) installing rsnapshot                                                      [##############################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Now we need to configure rsnapshot. Still in Terminal, edit the file /etc/rsnapshot.conf using your favorite text editor such as nano. 
sudo nano /etc/rsnapshot.conf
There are several items we need to configure. 

1. Snapshot location

Find the following line inside the conf file.
snapshot_root   /.snapshots/
Now change it to the new location if you want. All snapshot/backups will be saved on this directory. For example:
snapshot_root   /rsnapshot/backup/
Now we create the new directory for the snapshot
sudo mkdir -p /rsnapsot/backup

2. Backup Level/Interval configuration

Now we need to specify the interval of the backup. The backup can be configured to be executed in hourly, daily, weekly etc. Find the Backup Level/Interval Section as follow:

You may change the alpha, beta items to something else such as hourly, daily, weekly. But keep in mind, it must be in ascending order. For more info about retain backup, read it here: https://wiki.archlinux.org/index.php/Rsnapshot#Retain_Previous_Backups.

3. Backup Points

Now, we move to the last part. This section will configure what or which folders to backup using rsnapshot.
On this section we can add or remove backup points. By default, you can see that rsnapshot will backup your /home, /etc/ and /usr/local/ directories.You can either add or edit this entries. For example, I add other directories to be included.
Please keep in mind, that we must use Tab instead of Space to separate those entries above. Also, do not forget to add 'slash' ("/") to the end of each directory.
Rsnapshot also works for remote files as well. I will discuss more about how to backup remote files using rsnapshot next time. 
Now save and close the config file. At this point, we are ready to use rsnapshot. Lets test it first. Use configtest option to test our configuration file.
sudo rsnapshot configtest
It should returned Syntax OK if all the configuration are well.
[manjaro@manjaro ~]$ sudo rsnapshot configtest
Syntax OK
Now we can use this command to execute the actual backup
sudo rsnapshot alpha
For further and advanced use, we can create a crontab to run rsnapshot automatically on a specific time. Please stay tuned on this blog, I will demonstrate how to automate rsnapshot via crontab.

Virtualbox 5.1.16 is released, install it on Manjaro 17.0

The new version of Oracle Virtualbox 5.1.16 has been released a while a go. Here I will show you how to install this latest Virtualbox 5.1.16 on Manjaro 17.0. Virtualbox is a free virtualization software for Linux and Windows operating system. You can run multiple operating systems on a single host using Virtualbox. 

Virtualbox package is available via Manjaro repository. So, installing it wont be a problem. We can use either Pamac GUI and also Terminal console to install it. 

Option 1. Install via Pamac GUI

Open Pamac Software Manager and type "virtualbox" on the search box. You should see virtualbox package listed there. 
Right click on virtualbox and click Install. You will see the following window appear
Simply click OK and the press Commit button to confirm the installation. 

Option 2. Via Terminal command

Install virtualbox via command line is very straight forward. Use the following command to start install it.
sudo pacman -S virtualbox
Thank you for coming. Don't forget to share it.