Tuesday, November 30, 2021

Install Link

 Need to install mongodb

Need to install

yum install libnsl


Unset JAVA_HOME before running Link install

Wednesday, November 17, 2021

Setting up multiple tomcat instances

 https://dzone.com/articles/run-configure-multiple-instance-in-a-single-tomcat

Thursday, November 11, 2021

Auto-mount /cdrom

1. In EXSi, make sure cdrom drive is connected


2. Find out the blockid of cdrom device:

 blkid /dev/cdrom

/dev/cdrom: BLOCK_SIZE="2048" UUID="2021-05-03-15-21-56-00" LABEL="RHEL-8-4-0-BaseOS-x86_64" TYPE="iso9660" PTUUID="426eea3b" PTTYPE="dos"


3. Add entry in /etc/fstab


UUID=2021-05-03-15-21-56-00 /cdrom      iso9660 ro,user,auto  0 0


Done (can run "mount /cdrom")


 df -k

Filesystem                             1K-blocks    Used Available Use% Mounted on

devtmpfs                                 8075472       0   8075472   0% /dev

tmpfs                                    8105800       0   8105800   0% /dev/shm

tmpfs                                    8105800    9492   8096308   1% /run

tmpfs                                    8105800       0   8105800   0% /sys/fs/cgroup

/dev/mapper/rhel_database--rhel84-root  31441920 4695768  26746152  15% /

/dev/mapper/rhel_database--rhel84-data 104806400  763756 104042644   1% /data

/dev/sda2                                1038336  242324    796012  24% /boot

/dev/sr0                                 9892300 9892300         0 100% /cdrom

/dev/mapper/rhel_database--rhel84-home  11020288  123784  10896504   2% /home

/dev/sda1                                 613184    5892    607292   1% /boot/efi

tmpfs                                    1621160    1180   1619980   1% /run/user/42

tmpfs                                    1621160       0   1621160   0% /run/user/0