Thursday, May 30, 2019

Install NPM, GULP on Linux

yum install npm

NPM

npm install -g express
npm install -g gulp gulp-cli typescript gulp-typescript ts-node
--------------------------------------------------------
For Enterprise Linux - Oracle Linux
Get latest epel repo.
wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install nodejs npm
Set Proxy before installing above:
npm config set strict-ssl false
npm config set registry "http://registry.npmjs.org/"
npm config set proxy http://proxy.ibm.coim:8080
npm config set https-proxy http://proxy.ibm.coim:8080

Use n to manage node version
# node -v
v10.15.3

Logout and login again:
# node -v
v8.11.1

Tuesday, May 7, 2019

Solaris 11 Encrypt File

pktool genkey keystore=file outkey=encryptKey keylen=128
pktool list keystore=file objtype=key infile=encryptKey
encrypt -a aes -k ~/.ssh/encryptKey -i test.txt -o test.txt.aes
scp encryptKey testuser@sun09:/.ssh
decrypt -a aes -k ~/.ssh/encryptKey -i /bkup/encrypted/test.txt.aes -o /var/tmp/test.txt.aes

Monday, May 6, 2019

Package list required to run GUI on Oracle/RedHat Linux 7.5 +

libappindicator-gtk3
libreport-gtk
gtk3
webkitgtk4
gtk-update-icon-cache
usermode-gtk
libnm-gtk
ibus-gtk2
libcanberra-gtk2
gtkmm24
caribou-gtk2-module
ibus-gtk3
webkitgtk4-jsc
webkitgtk3
gtkspell3
libindicator-gtk3
libchamplain-gtk
avahi-ui-gtk3
libdbusmenu-gtk3
gtk2-immodule-xim
webkitgtk4-plugin-process-gtk2
spice-gtk3
gtk2
authconfig-gtk
xdg-user-dirs-gtk
pygtk2
pygtk2-libglade
gtk3-immodule-xim
libpeas-gtk
gtkmm30
gtksourceview3
colord-gtk
pinentry-gtk
caribou-gtk3-module
PackageKit-gtk3-module
clutter-gtk
libcanberra-gtk3
adwaita-gtk2-theme
gtk-vnc2