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 [code]tmux new[/code] New session with name [code]tmux new -s sessionname[/code] List sessions [code]tmux ls[/code] Attach to session […]
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 the service [code] stop mssql-server systemctl stop mssql-server [/code] set sa password: [code] [root@ms-sql ~]# /opt/mssql/bin/mssql-conf set-sa-password Enter the SQL Server system […]
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. [code] mysqldump -uuser -ppass -hhostname database | gzip -c | ssh user@host ‘cat > ~/dump.sql.gz’ [/code]
If the killall command seems to be missing from your centos 7 machine, it can be installed using the following command: [code] yum -y install psmisc [/code] now you should be able to use killall. Thanks for stopping!
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 > Webserver > HTTP/HTTPS selection […]