Reset user password of Discourse Rumi, May 21, 2021May 21, 2021 Discourse is an excellent platform- super fast, super organized and super fresh looking. It has quite standarized and additional security options in the application UI. However, found a freat issue of updating any user of this platform as Admin (I was havign difficulties of self user password reset options, as the mail gateway was somewhat not working). So here goes the trick- ssh into your server cd /var/discourse ./launcher enter app rails c u = User.find_by_email('email@test.com') u.password='zKRR6vTZKvJAB84V9jdgeydS' u.save! ctrl+d to exit Related Administrations Application Discourse
Install Webmin on Debian Linux November 25, 2012 If you are using the DEB version of webmin, first download the file from the downloads page , or run the command :wget http://prdownloads.sourceforge.net/webadmin/webmin_1.610_all.debthen run the command : dpkg –install webmin_1.610_all.deb The install will be done automatically to /usr/share/webmin, the administration username set toroot and the password to your current… Read More
Make shinobi start up after reboot December 16, 2021 pm2 start plugins/motion/shinobi-motion.js pm2 start camera.js to start up automatically after reboot Related Read More
Large file split and join in linux July 19, 2021 Let’s assume we have a large file of 102 GB and named as “vzdump-lxc-103-2021_07_19-12_05_06.tar.lzo”. We’d like to split this large file into 10GB of partial file. Let’s apply the split command as below- split -b 102400M vzdump-lxc-103-2021_07_19-12_05_06.tar.lzo repo. Wait for a while, the execution continues, and once over, you’ll find… Read More