Today I will be showing you how to create a swap file in Linux. There are many reasons why you may want to use a swap file, one of those reasons may be that you are using a droplet or VPS with a low amount of RAM.
In this quick and simple post I will be showing you an easy way to automatically run commands over SSH. This method works great with bash loops if you need to run the same commands over multiple servers. Using this method automatically disconnects once the command or commands are finished executing, you will receive the full output however.
Today I will be showing you some of the more useful iLO (integrated lights out) commands that you can use to manage your HP Proliant servers. This is somewhat similar to IPMI and iLO will emulate IPMI if you prefer, however some things simply do not work when using IPMI commands such as changing the boot order. For more information please checkout my IPMI commands post.
Today I will be showing you how to run basic shell commands from a PHP script. While you can’t interact with these commands (for example top will not output or update, you can still use them to somewhat interact with your web server. Note that most shared web hosting providers block these functions in their php.ini settings for security reasons. After showing how this works, I will also show you how to block these functions on your own web server.
Today I will be showing you how to check your Linux servers for dropped packets. Dropped packets can occur for a number of reasons including but not limited to, actual network issues, NIC card issues, firmware issues, settings, and more. This will not be a guide on diagnosing why your packets are being dropped, but rather just finding out if it’s even occurring at all.
In this guide I will be showing you how to reboot as-well as how to shutdown a Linux server using the command line. There are actually a couple of different ways you can do this, you can do this by logging into the server over SSH as-well as using remote IPMI commands to power cycle the server.