Cannot install bcrypt node.js module on Centos Server

There is also a native-js version of bcrypt which does not require compiling. https://github.com/shaneGirish/bcrypt-nodejs npm install bcrypt-nodejs The api is very similar to the compiled version. The following is taken directly from the readme Basic usage: Synchronous var hash = bcrypt.hashSync(“bacon”); bcrypt.compareSync(“bacon”, hash); // true bcrypt.compareSync(“veggies”, hash); // false Asynchronous bcrypt.hash(“bacon”, null, null, function(err, hash) … Read more

Unable to open X display when trying to run google-chrome on Centos (Rhel 7.5)

You can try with Xvfb. it does not require additional hardware. Install Xvfb if you didn’t install it yet and do the following steps. sudo apt-get install -y xvfb Dependencies to make “headless” chrome/selenium work: sudo apt-get -y install xorg xvfb gtk2-engines-pixbuf sudo apt-get -y install dbus-x11 xfonts-base xfonts-100dpi xfonts-75dpi xfonts-cyrillic xfonts-scalable Optional but nifty: … Read more

/lib64/libc.so.6: version `GLIBC_2.14′ not found. Why am I getting this error?

You need to install glibc alongside your current installation of glibc as you cannot update to glibc 2.14 directly in centos 6.x safely. Follow the steps below to install glibc 2.14: mkdir ~/glibc214 cd ~/glibc214 wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz tar zxvf glibc-2.14.tar.gz cd glibc-2.14 mkdir build cd build ../configure –prefix=/opt/glibc-2.14 make -j4 sudo make install export LD_LIBRARY_PATH=/opt/glibc-2.14/lib … Read more