FalconStats
FalconStats copied to clipboard
Installation Process - Symlink Doesn't Work
FalconStats installation notes
OS: Ubuntu 20.04 LTS x86_64 Kernel: 5.4.0-40-generic
git clone https://github.com/Heholord/FalconStats
cd FalconStats/
Cloned repo, cd'd to folder
sudo apt install nodejs npm
sudo npm install -g
Had to install nodejs and npm packages, weren't already installed
ln -s falcon-motd /etc/update-motd.d/falconstats
sudo ln -s falcon-motd /etc/update-motd.d/falconstats
ls
The directions seem to imply that there will be a 'falcon-motd' file/folder created, but this folder does not seem to exist anywhere. Tried searching with locate/mlocate but 'falcon-motd' doesn't seem to exist anywhere. So what is supposed to be symlinked?
Maybe the 'falcon-motd' folder is actually supposed to be the 'scripts' folder?
sudo node init.js
Completed the initial config
Drives: /dev/sda,/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde,/dev/sdf,/dev/sdg
Services: FAHClient,apache2,cups,lvm2,mysql,named,nmbd,openvpn,rsync,smbd,ssh,transmission-daemon,ufw,virtualbox,webmin
falcon-motd
'falcon-motd' does actually run the test, so it must be an executable somewhere right? So maybe that symlink from before will actually do something
got the problem with the services.sh script, but fixed with https://github.com/Heholord/FalconStats/issues/21
Now falcon-motd executable seems to be working, but hddtemp not working because of sudo
sudo chmod u+s /usr/sbin/hddtemp
hddtemp still not working, although I confirmed I can run it as my user without sudo. Will have to revisit issue, not a problem with FalconStats.
Attempting symlink to see if falcon-motd will work upon logout/login
sudo ln -s falcon-motd /etc/update-motd.d/falconstats
After doing the symlink, /etc/update-motd.d/ shows the falconstats -> falcon-motd symlink but it's red w/ black background indicating a broken link, so something is going wrong at this point
So how to actually get the scripts to work with the update-motd.d directory? What exactly is running when falcon-motd
is executed? I'm not sure what I'm missing here but the point of failure seems to be this symlink thing.