TMUX Cheat Sheet

Years ago I started taking advantage of tmux - the terminal multiplexer. Like screen, it'll let you run multiple terminals, and your program will stay running when you leave it or lose SSH connections. Session Management New session tmux new New session with name tmux new -s sessio¬≠nname List…

Reset password for SQL server on Centos 7

I have a development instance of mssql that I keep forgetting the damn password on. It sure is a good thing it's easy to reset :) Run the following commands as root. # stop mssql-server systemctl stop mssql-server # set sa password: [root@ms-sql ~]# /opt/mssql/bin/mssql-conf set-sa-password Enter the SQL Server…

mysqldump to another host using ssh

Sometimes you will find yourself on a machine without space to dump the database locally, you can get around this limitation using mysqldump piped over ssh. mysqldump -uuser -ppass -hhostname database | gzip -c | ssh user@host 'cat > ~/dump.sql.gz'…

Installing killall command Centos 7

If the killall command seems to be missing from your centos 7 machine, it can be installed using the following command: yum -y install psmisc now you should be able to use killall. Thanks for stopping!…

SNOM 821 and 3CX woes

I've noticed from the factory the built-in web server was not enabled. To get the phone working, you must enable the web server, and set a http user and password. To enable the web server: 0.) Phone menu > Maintenence > Administrator Mode > 0000 1.) Phone menu > Network…