windows Using Bash (Windows Subsystem for Linux) on Windows 10 I recently reinstalled my main desktop computer, and decided to finally give "Bash on Windows 10", or the "Windows Subsystem for Linux", a real try. I'm hoping it will get rid of my need for Putty/WinSCP as
scripts Monitoring PiHole with Telegraf and Influxdb I recently installed Pi-hole [https://github.com/pi-hole/pi-hole] on a spare Raspberry Pi 3 [https://www.raspberrypi.org/]. Pi-hole essentially blocks most advertisements from devices on a network, by running dnsmasq [http://www.thekelleys.org.uk/dnsmasq/doc.html] with a custom set
projects Random MAC Address Generator You can view the original tool here [https://justynshull.com/macgen/macgen.php]. This script will generate a random MAC address for your use. If you select a Vendor, it will generate a random MAC within the address range owned by that vendor. The
projects RemoteBashRC.sh What is it? edit: I've experimented with different ways to do this, and will likely make an update post describing a new method. I used to work for a dedicated server hosting company. So naturally, we dealt with lots of servers every
plesk Rebuild missing SSL certificates from Plesk database I’ve had to deal with errors similar to this occasionally on Plesk servers: root@cent:# apachectl -t Syntax error on line 55 of /var/www/vhosts/domain.com/conf/13449678050.31729500_httpd_ip_default.include: SSLCertificateFile: file '/usr/local/psa/var/certificates/
automation Automated off-site Linux Backups using Duply and Duplicity Off-site backups are important, and even though I know this, I rarely implement them in my own servers. Lately, I’ve been setting up rsnapshot to do hourly and daily backups locally(to the same server), and I only do manual backups to remote
centos Xen file-based vs LVM-based disk images (benchmarks) I’ve been messing around a lot with Xen lately and have seen several different articles and forum posts debating the advantages over using file-based disk images, like /mnt/xen/VM01-disk.img, versus giving the VM direct access to a LVM partition. So, I
scripts Create Your Own URL Shortener I don’t really pay attention to twitter that often,but I did notice more and more people are starting to use personalized url shorteners. There’s a lot of free services out there you can use, but if you have somewhere you can
wordpress Installing and Updating WordPress via SVN I have quite a few WordPress [http://wordpress.org/] installations that I semi-manage on my server, and just recently realized how time consuming it is everytime a new version comes out. WordPress does let you update it to the newest version directly from the
scripts du2.php This is based off of du.php [http://justynshull.com/2010/08/du-php-php-disk-usage-script/], and is basically the same thing except it lets you click on folders to navigate through the directory structure and see how much space each directory is taking up. It uses
scripts du.php - PHP Disk Usage script I’m starting to copy my scripts from https://justynshull.com/oldsite/phpscripts.html but figured I’d start with this one so I can get the syntax hilighting/formatting down with wordpress. <?php // $a = shell_exec('df -h'); //echo getenv(
blog switch to vps and wordpress I decided to switch my website from basic html/php to WordPress, and at the same time moved it over to my VPS. It was being hosted on dreamhost before. I still need to install/configure subversion, and move some of my old stuff