Category / Linux

Sometimes you want to have newer software on Centos/Red Hat. But its because that slower adoption, we can actually use Centos for so long, and the support they deliver is amazing. That being said, sometimes there is no getting back and you need newer software. Python 3X is such a package. So let’s go ahead […]

Read More

UUID of hard disk

19 April, 2018

If you ever have been bitten by the changing letters from Linux hard drives, then stop the crying, UUID is here to save the day. Definitely if you fubar’d your installation for the second time and had to reinstall once again, this is a useful tip. Hard disks and virtual raid disks have a UUID, […]

Read More

I have been playing with setting up a Rocks 7 cluster, our compute nodes have 3 disk slots. One should be used for the system, and the other two can be used in a RAID 0, which provides faster read/writes and no redundancy or safety. But for a cluster where data is never “stored” that is […]

Read More

I’m writing a “fun” script, and one of the fun commands it executes is Asciiquarium. This is my guide on how I got it working in Centos 6 🙂 First the dependecies : yum install perl-Curses perl-ExtUtils-MakeMaker If you miss one, you will get his error : Can’t locate ExtUtils/MakeMaker.pm in @INC First we need […]

Read More

gem: Command not found

19 January, 2018

While installing a ruby package I hit the error : gem install –version 1.15.4 bundler make: gem: Command not found make: *** [setup] Error 127 This can be resolved by installing the package : yum -y install rubygems-devel or for the Debian friends apt-get install rubygems Happy building 🙂

Read More

With the latest stable Rocket Chat (0.60.3) on Centos 7 machine I got this error : # node main.js /opt/Rocket.Chat/programs/server/boot.js:50 const { pause } = require(“./debug.js”); ^ SyntaxError: Unexpected token { at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/opt/Rocket.Chat/main.js:4:1) […]

Read More

Avoid rsyncing thumb.db

9 January, 2018

If your sync is syncing a bunch of thumb.db files from windows cause someone opened the directory, you can easely remove it from the sync : rsync -avhn –exclude ‘Thumbs.db’ source destination note : I added -n for copy/paste mistakes 🙂 if you got plenty of file types/extensions you want ignored/excluded use : rsync -avhn […]

Read More

Suddenly a Linux server, -only- serving as ‘open’ samba share (guest account allowed) stopt working. I logged in and found samba working, no weird network issues, nothing. A mystery ! After a service smb restart and a reboot -h now (sue me, uptime) I increased the log level of smb to level 3 this is done […]

Read More

While installing node.js : Error: Package: 1:nodejs-6.11.1-1.el7.x86_64 (epel) Requires: libhttp_parser.so.2()(64bit) Error: Package: 1:nodejs-6.11.1-1.el7.x86_64 (epel) Requires: http-parser >= 2.7.0 You can solve this by installing http_parser manually : yum install https://kojipkgs.fedoraproject.org//packages/http-parser/2.7.1/3.el7/x86_64/http-parser-2.7.1-3.el7.x86_64.rpm The reason behind the issue, is in that RHEL 7.4 now includes this package in the default repo, and for that reason its now removed from epel […]

Read More

I wanted to redo/rework the Passbolt install on Centos for a while. It’s seems like a horribly long and complex process, but in fact it’s not. With the recently released Passbolt 1.6 and my wish to play with asciinema for a while I thought why not combine both 🙂 Considering this is my first attempt, don’t shoot […]

Read More