Julio's Blog

Installation and basic configuration of MariaDB on CentOS/RHEL 7.

In this post, I will show you how to install MariaDB on a CentOS/RHEL 7 machine. This task is really easy to complete and could be done in couple minutes. Installing the Software [[email protected] ~]# yum install mariadb-server Enabling and starting the service To enable the service and making it persistent across reboots: [[email protected] ~]# systemctl enable mariadb.service To start the service: [[email protected] ~]# systemctl start mariadb.service Basic MariaDB configuration Now we are going to do some basic configuration. To do this we will execute the mysql_secure_installation script. To do this run: [[email protected] ~]# mysql_secure_installation Here are some steps... read more »

How to run Go 1.5 on CentOS 7.

In the previous post we installed Go on CentOS 7. There is an small problem by doing that, the latest version on the repos for Go is 1.4. In this post I will show how to install Go 1.5 using the binaries. This is a manual procedure and there are other ways to achieve this. Downloading binaries [[email protected] tmp]# wget https://storage.googleapis.com/golang/go1.5.linux-amd64.tar.gz Extract the binaries to /usr/local/go: [[email protected] tmp]# tar -C /usr/local -xzf /tmp/go1.5.linux-amd64.tar.gz Now we will create the We create symbolic links (you can also... read more »

Installing Go (GoLang) on CentOS 7.

In this post, I will show how to install the Go programming language (GoLang) on CentOS 7. This procedure is quite simple and requires only a few commands. Install the packages: [[email protected] ~]# yum install golang golang-godoc golang-vet golang-src golang-pkg-linux-amd64 -y After this we check that the go command could be call and is working: [[email protected] ~]# go version go version go1.4.2 linux/amd64 Hello world! on Go: Now we will try to compile and verified Go, to do this we will create a file, name it hello.go and put a sample "hello world" program on it. To do this: [[email protected] ~]# cat... read more »