How to change the default SSH port in Linux
SSH or the Secure SHell daemon typically operates over port 22 TCP. However, you might want to change the default port for your Linux server, in order to achieve security through obscurity because the standard port is continuously…
Read more »How to create and delete checkpoints in Hyper-V
Checkpoints or snapshots (in previous versions of Hyper-V) are a useful tool for testing patches or other significant changes to a virtual machine. Hyper-V checkpoints allow administrators to easily save the existing state of a virtual machine before…
Read more »ifconfig command missing from Debian Stretch
The ifconfig command has been deprecated in favour of the iproute2 (the ip command), therefore missing by default on Debian 9. Similarly, the arp , route and netstat commands are also deprecated. The announcement was made back in 2009. If you…
Read more »Linux terminal hacks
Here are some useful terminal hacks. Aliases Have a lengthy command and want to make shorter? Use aliases. You can add aliases to your .bashrc file so that they remain permanent. Consider the following command sudo apt-get install…
Read more »Installation of vsFTPd on Debian 8
vsFTPd stands for Very Secure FTP Daemon. It’s a lightweight FTP server optimized for security, performance and stability. 1) Install vsFTPd Start by installing the package. Run the following commands to update the package list and install vsFTPd…
Read more »Debian 8 initial server setup (SSH, users & firewall)
When you create a new Debian 8 server, there are a few steps required as part of the basic setup. 1) Install SSH (if not already configured) You can use the package manager for Debian / Ubuntu via…
Read more »Visual Studio Windows desktop application (Visual C++) LNK2019 error
How to replicate. Work through Microsoft’s walk-through to create a traditional Windows Desktop application (C++) Go to File –> New –> Project Select Visual C++ –> Windows Desktop –> Windows Desktop Wizard Give the project a suitable name,…
Read more »How to find dependencies of stored procedures in SQL Server
Manually reviewing hundreds of stored procedures is time consuming. The sp_depends system stored procedure doesn’t always give proper / correct results when the object creation order is different or following deferred name resolution. The output below for the stored procedure…
Read more »Using the Virtual Media function on a Dell iDRAC 6
The virtual media function of the integrated Dell Remote Access Controller is a useful feature. It gives you the option to mount ISOs and boot to them during the POST. ISO files can be used for installing operating systems…
Read more »Determine free space for MS SQL Server databases
There isn’t a single command that gives you all the information. sp_helpdb This procedure will give you the total size of the database and associate files. It doesn’t tell you how much free space there is sp_spaceused This…
Read more »