Monday, June 18, 2018

VBoxGuestAdditions in vagrant centos



1. sudo yum update && sudo yum -y install kernel-headers kernel-devel

2. manually by downloading the iso file inside VM (e.g. wget) and installing it, e.g.

wget http://download.virtualbox.org/virtualbox/5.0.16/VBoxGuestAdditions_5.0.16.iso -P /tmp

(read only to write permission)
sudo chmod 777 /tmp/VBoxGuestAdditions_5.0.16.iso

sudo mount -o loop /tmp/VBoxGuestAdditions_5.0.16.iso /mnt

(install libraries)
sudo yum -y install gcc
sudo yum install freeglut-devel
sudo yum install mesa*

sudo sh -x /mnt/VBoxLinuxAdditions.run # --keep


forget all the commands above , just download the geerlingguy/centos7

that's it!!! voila

vagrant provisioning thing...

last time I got this error installing docker and docker-compose during the vagrant up.

Ta dang!

config.vm.provision :docker
config.vm.provision :docker_compose


Reference:
https://github.com/leighmcculloch/vagrant-docker-compose

Sunday, June 3, 2018

fluentd the new logging

while working in one of my freelance jobs, I encountered this logging technology fluentd. It is quite interesting, hopefully can learn with this new technology.

I have installed in my centos operating system
curl -L https://toolbelt.treasuredata.com/sh/install-redhat-td-agent3.sh | sh


References:
https://docs.fluentd.org

free online comma separating tool

https://delim.co/#