Fedora 28 setup (After install)

17 May 2018 | 7 min read

What is about?

Fedora 28 already released maybe this is a perfect time to do clean format instead of upgrading the newest version because previously started from Fedora 25, I just upgrade when each time new version released.


Yes, there is lot of thing need to be configure again after clean formating. Here few of thing on my list :

1 - Change the hostname (note : Need to reboot after change the host name)

$ hostnamectl status # view current hostname
$ hostnamectl set-hostname --static "robbinespu" # set up new hostname

2 - Configure DNF : Use delta and fastest mirror (edit /etc/dnf/dnf.conf file)


(read more)

Al-fatihah untuk Prof Madya Dr Hj Mohd Sazali Bin Khalid

17 May 2018 | 1 min read

Pada tarikh 14 May 2018 yang lepas, saya telah dimaklumkan bahawa salah seorang pensyarah saya di UTHM iaitu Profesor Madya Dr Hj Mohd Sazali Bin Khalid telah meninggal dunia akibat pecah pembuluh darah aorta di HUSM.

Kehilangan beliau amat terasa di kalbu, rasa macam tak percaya :’(

(read more)

Installing go1.10.1 (Fedora 27)

08 April 2018 | 1 min read

I had problem with current version of Go that available on Fedora 27 repository

$ dnf info golang
Last metadata expiration check: 21 days, 11:46:56 ago on Sat 17 Mar 2018 11:15:37 PM +08.
Available Packages
Name         : golang
Version      : 1.9.4
Release      : 1.fc27
Arch         : x86_64
Size         : 622 k
Source       : golang-1.9.4-1.fc27.src.rpm
Repo         : updates
Summary      : The Go Programming Language
URL          : http://golang.org/
License      : BSD and Public Domain
Description  : The Go Programming Language.

I unable to install any library with go get command

$ go version
go version go1.9.4 linux/amd64

$ go get github.com/andlabs/ui
go build github.com/andlabs/ui: invalid flag in #cgo LDFLAGS: /home/rnm/Workspaces/Golang/src/github.com/andlabs/ui/libui_linux_amd64.a

$ go get github.com/pebbe/tokenize
go build github.com/pebbe/tokenize: invalid flag in #cgo CFLAGS: -finput-charset=UTF-8

(read more)

Get started with Golang

06 April 2018 | 5 min read

I heard and see lot of articles about Go / Golang which mention lot of advantages of Go compare with other languange such Python, Java, PHP, and C/C++. This is interesting and caught my curiousity.

(read more)

Reset the MariaDB Root Password

29 March 2018 | 1 min read

If you forget your root MariaDB password, don’t worry and be sad because it can be reset easily with this tutorial.

  1. Stop the current MariaDB server instance, then restart it with an option to not ask for a password:

     $ sudo systemctl stop mariadb
     $ sudo mysqld_safe --skip-grant-tables &
  2. Reconnect to the MariaDB server with the MariaDB root account:

     $ mysql -u root
  3. Use the following commands to reset root’s password. Replace password with a strong password:

     use mysql;
     update user SET PASSWORD=PASSWORD("password") WHERE USER='root';
     flush privileges;
  4. Then restart MariaDB:

     $ sudo systemctl start mariadb

Done, everything will be fine. Now you should be able to access again with new password we update before.