by Nick | Apr 29, 2020 | Debian, Fun, Hardware, Home Assistant, Home Automation, Linux, SmartHome, Tech, zigbee, zwave
This is how to use the Xiaomi Aqara Wireless Double Button without the Xiaomi Home Hub (A ZIGBEE STICK IS STILL REQUIRED) using ZHA in Home Assistant. Other devices just work without any hard to find IDs. ADD DEVICE TO ZHA 1. Go to “Configuration” 2. Then... by Nick | Apr 10, 2020 | Tech
Link to original persons blog post The requirements of the Unifi Controller do not allow a direct installation. But with a few manual steps a successful setup is possible! Basic requirements apt install wget gnupg2 ca-certificates apt-transport-https dirmngr gnupg... by Nick | Mar 27, 2020 | Debian, Fun, Hardware, Linux, Networking, Servers, Tech
This works if you’re having PiHole hand out DHCP on your network. nano /etc/dnsmasq.d/05-no-pihole-dhcp.conf Now we need to add the following to the file. You can change 1.1.1.1 to anything you want # Assign alternate DNS for select hosts # Set Specific Clients... by Nick | Jan 15, 2020 | Linux, Servers, smartOS, Software, Tech, Unix
Start smartOS VM from iso that is in /zones/UUID/root/ vmadm start UUID order=cdn,once=d cdrom=/FILE.iso,ide Set static vnc port Do vmadm list to get UUID vmadm update UUID_HERE vnc_port=PORT_#_HERE I love RealVNC. It works well and they have stand-alone executable... by Nick | Jan 3, 2020 | Tech
For this to work you will need to dump a CSV export at least twice a month and then upload the CSVs from the ZIP to nextcloud. This could honestly be from anywhere nextcloud is just easy for me. Here’s links to the files. I try my best to paste them in the blog,... by Nick | Dec 30, 2019 | Tech
How to calculate data use for specfici month using bash for Emporia Energy device cat FILE.csv | egrep “MonthInNumForm/?[0-9]?[0-9]/2019″ | awk -F”,” ‘{print;x+=$2}END{print “Total ” x}’ by Nick | Dec 30, 2019 | Tech
This is how to use wp-cli to change the domain If using CentOS sudo -u nginx wp search-replace ‘old.domain.com’ ‘newdomain.com’ If using Plesk sudo -u user /opt/plesk/php/7.1/bin/php /usr/local/bin/wp search-replace ‘old.domain.com’... by Nick | Oct 25, 2019 | CentOS, Debian, Desktop, Linux, Networking, Servers, smartOS, Software, Tech, Unix, Windows
How to use SSL tunneling on WSL and access on local machine. This is super useful when needing to VNC into a smartOS KVM VM. ssh -L 0.0.0.0:PORT:REMOTE_IP:PORT [email protected] by Nick | Oct 9, 2019 | Desktop, Software, Tech, Windows, Windows Server
These aren’t really tricks, but super useful if you want to change things without interrupting the end user. Find service name since the display name may be different sc query | find “DISPLAY_NAME” sc config “SERVICE_NAME” start=disabled sc stop... by Nick | Oct 1, 2019 | Desktop, Fun, Hardware, Servers, Software, Tech, Windows, Windows Server
I just learned that you can remote control terminal sessions. They call it shadowing. I’ve only done it on Windows Server 2012 r2, but was super easy. You just need to open server manager, go to remote desktop services, then collections, then... by Nick | Sep 27, 2019 | CentOS, Hardware, Linux, Networking, Servers, Software, Tech, XCP-NG
I learned about XCP-NG not to log ago and love it. It’s great and easy to use. My only issue is I guess on newer versions of Windows 10/Server 2019 they were having freezing issues. I had the issue with Windows 10. I just went with Windows 7 VMs for what I... by Nick | Aug 13, 2019 | Apache, Linux, Nginx, PHP, Software
I NO LONGER RECOMEND USING THIS WAY. I RECOMEND USING WP-CLI SEARCH-REPALCE. HOW TO USE CAN BE FOUND HERE. Below is the search and replace for WP which I find really helpful when changing to a new domain. I DO NOT TAKE ANY RESPONSIBILITY FOR USING THIS. MAKE SURE TO... by Nick | Jun 13, 2019 | Apache, CentOS, Fun, Linux, Networking, Nginx, PHP, Servers, Software, Tech
This is probably useful to figure out how to reverse proxy Apache behind NGINX, but I was finally able to get NextCloud working on NGINX with no problem I like to use NGINX as my web server because that’s what I’ve always worked with. I’ve tried a... by Nick | Jun 12, 2019 | CentOS, Debian, Linux, Servers, Software, Tech
This will report the average of all folders in the directory in megabytes du -sh –block-size=1M ./*/ | gawk ‘{sum += $1; n++;} END {print sum/n;}’ by Nick | Jun 12, 2019 | Desktop, Hardware, Servers, Software, Tech, Windows, Windows Server
This data has been copied from HERE Please follow the steps below: 1) Turn off the system completely, and turn it back on, you should be able to get back into the OS. 2)Download the following driver and extract it:... by Nick | Jun 11, 2019 | CentOS, Debian, Linux, Networking, Servers, Software, Tech
Copied from Here If you don’t want to do any configuration inside the guest, then the only option is a DHCP server that hands out static IP addresses. If you use bridge mode, that will probably be some external DHCP server. Consult its manual to find out how to... by Nick | May 23, 2019 | Apache, CentOS, Cisco, Debian, Hardware, Linux, Networking, Nginx, PHP, Servers, Software, Tech, Windows, Windows Server
Not my file, but Comptia made a really nice roadmap layout. Thought it would be nice to post. Here’s the direct LINK [pdf id=556] by Nick | Apr 1, 2019 | Apache, CentOS, Fog Project, iPXE, Linux, Servers, Software
mkdir /var/www/html/fog/cz Download iSO and extract to /var/www/html/fog/cz Go to Fog Configuration > iPXE New Menu Entry Give it a menu item name Add the below to “Parameters” :Clonezilla echo Starting CloneZilla with default options kernel... by Nick | Mar 31, 2019 | CentOS, Debian, Desktop, Hardware, Linux, Networking, Servers, Software, Tech
I noticed that when trying to mount NFS upon boot it wasn’t working. After it was booted up I could run “mount -a” and everything would come up. After some googling I learned you can add “_netdev” to the mount options in /etc/fstab and it... by Nick | Mar 30, 2019 | Debian, Linux, Servers, Software, Tech
mysql_secure_installation doesn’t seem to work on the newest Debain After some googling I think I found what works for me. Delete anon user DELETE FROM mysql.user WHERE User=”; delete non local root user DELETE FROM mysql.user WHERE User=’root’... by Nick | Mar 28, 2019 | Debian, Email, Linux, Nginx, PHP, Servers
I finally set up my own mail server using a couple guides. Just putting this here for my memory. Thank you to the great people who write amazing blogs. How to set up the server When put behind cloudflare you need to add the bellow to /etc/nginx/nginx.conf in the http... by Nick | Mar 25, 2019 | CentOS, Debian, Desktop, Fun, Hardware, Linux, Software, Tech, Windows
I found this HERE. I don’t take credit I just wanted to host the zip just in case their site went down for some reason. Here is my LINK. I tried to get it to work, but it wouldn’t recognize that the button was plugged in 🙁 If you wanted to use it on Linux... by Nick | Mar 24, 2019 | CentOS, Debian, Desktop, Linux, Networking, Servers, Software, Tech
This isn’t my picture I found it on reddit. by Nick | Feb 26, 2019 | Linux, Tech
This is something I’ve really been wanting to play with. I will one day. https://www.screenly.io/ose/ by Nick | Feb 21, 2019 | Debian, Hardware, IPMI, Linux, Networking, Servers, Software, Tech
Disable ADMIN user Before doing this bit you may wish to check that the new user you added works for everything you need it to. Those things might include: ssh to [email protected] Log in on web interface at https://192.168.1.22/ Various ipmitool commands like...