{"id":2905,"date":"2017-03-01T00:00:00","date_gmt":"2017-03-01T00:00:00","guid":{"rendered":"http:\/\/ssdnodes.billabailey.com\/2017\/03\/01\/five-tools-for-managing-your-vps\/"},"modified":"2025-05-18T19:14:50","modified_gmt":"2025-05-18T19:14:50","slug":"five-tools-for-managing-your-vps","status":"publish","type":"post","link":"https:\/\/www.ssdnodes.com\/blog\/five-tools-for-managing-your-vps\/","title":{"rendered":"Five Simple Tools for Managing Your VPS"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>One of the wonderful features about Linux is that you have infinite possibilities for not only what you install, but <em>how<\/em>. There's much to be learned in firing up a VPS and launching yourself into the step-by-step process of installing and managing all the necessary software &quot;by hand.&quot;<\/p>\n<p><!--more--><\/p>\n<p>That said, having some tools on hand to make some of these tasks a little bit easier, or give more visibility into the goings-on of your server, isn't a bad idea either. Here's some to get you started, from all the way across the board.<\/p>\n<h2>1. EasyEngine<\/h2>\n<p>A good portion of VPS deployments are for hosting a single WordPress blog. While the end result is fairly simplistic, the requisite steps necessary to install WordPress and its dependencies\u2014nginx, PHP, and MySQL\u2014are time-consuming. Those new to Linux administration might also find them daunting. There's always something like Puppet modules[<a href=\"https:\/\/forge.puppet.com\/hunner\/wordpress\" target=\"_blank\" rel=\"noopener\">https:\/\/forge.puppet.com\/hunner\/wordpress<\/a>] to help automate the process, but even that's complicated.<\/p>\n<p><a href=\"https:\/\/easyengine.io\/\" target=\"_blank\" rel=\"noopener noreferrer\">EasyEngine<\/a> aims to make this process as easy as entering two commands:<\/p>\n<pre><code class=\"language-bash hljs\">wget -qO ee rt.cx\/ee &amp;&amp; sudo bash ee<\/code><\/pre>\n<pre><code class=\"language-bash hljs\">sudo ee site create example.com --wp<\/code><\/pre>\n<p>Running these commands means you trust EasyEngine the hidden work it's doing on your VPS\u2014never hurts to check up on the source code. Of course, using an automated install like EasyEngine means you aren't really learning anything about administration\u2014a blessing in the time saved, and a potential curse if something goes awry.<\/p>\n<div class=\"cta-inline\"><\/div>\n<h2>2. Logwatch<\/h2>\n<p>Those who want to keep a watchful eye on their VPS will love <a href=\"https:\/\/ubuntu.com\/server\/docs\/logwatch\" target=\"_blank\" rel=\"noopener noreferrer\">Logwatch<\/a>, a simple daemon that monitors your system logs and gives you the flexibility to easily parse them for information about activity on your VPS.<\/p>\n<p>For example, if you want to see login information from the previous day:<\/p>\n<pre><code class=\"language-bash hljs\">logwatch --service pam_pwdb --range yesterday --detail high --print<\/code><\/pre>\n<p>Logwatch can also send you automated emails if you set up a <code>cron<\/code> job. First, open new a new <code>cron<\/code> file in your editor of choice:<\/p>\n<pre><code class=\"language-bash hljs\">nano \/etc\/cron.daily\/00logwatch<\/code><\/pre>\n<p>Add the following line and you'll be set.<\/p>\n<pre><code class=\"language-bash hljs\">\/usr\/sbin\/logwatch --output mail --mailto username@your_domain.com --detail high<\/code><\/pre>\n<p>This could be useful if you think your VPS has been compromised and you want to examine the logs (which could have also been compromised).<\/p>\n<h2>3. Wireshark<\/h2>\n<p>Let's move from little granularity to the most extreme granularity\u2014when it comes to networking, there's no more comprehensive or trusted tool than <a href=\"https:\/\/www.wireshark.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Wireshark<\/a>\u2014&quot;the de facto standard&quot; that helps you see your network on a &quot;microscopic level.&quot;<\/p>\n<p>Wireshark is capable of analyzing any type of network traffic from hundreds of different protocols, all to help administrators resolve issues and analyze what's arriving to and departing from their server.<\/p>\n<table>\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2017\/03\/20170301_wireshark.png\" alt=\"20170301_wireshark.png\" width=\"740\" height=\"418\" \/><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><em>The Wireshark interface might look a little overwhelming, but complexity is what you need if you want to know&amp;nbsp;<\/em>everything&amp;nbsp;<em>about your server.<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>4. rsync<\/h2>\n<p>The are countless backup solutions available for those who run a VPS, but nothing works quite as well\u2014or is quite as infinitely flexible\u2014as <code>rsync<\/code>. It's freely available on any Linux-based system and enables you to intelligently &quot;push&quot; or &quot;pull&quot; files between two machines. <code>rsync<\/code> also doesn't just blindly entire files or directories\u2014it parses the files for changes, or the &quot;delta,&quot; and only copies the new information, saving you bandwidth.<\/p>\n<p>Here's an example of pushing a whole directory to a remote location. This could be used while you're logged into your VPS to copy to your local machine or another VPS.<\/p>\n<pre><code class=\"language-bash hljs\">rsync <span class=\"hljs-_\">-a<\/span> \/your\/chosen\/directory username@remote_host:destination_directory<\/code><\/pre>\n<p>You can also pull a directory from your VPS to your local machine.<\/p>\n<pre><code class=\"language-bash hljs\">rsync <span class=\"hljs-_\">-a<\/span> username@remote_host:\/your\/chosen\/directory local_directory<\/code><\/pre>\n<p>If you combine <code>rsync<\/code> with <code>cron<\/code>, you can also create automated weekly\/daily backups. Or, use <code>rsnapshot<\/code> for more precise backup management.<\/p>\n<h2>5. Cockpit<\/h2>\n<p>Sometimes, a web-based GUI is just what you need to make administration easier. <a href=\"https:\/\/cockpit-project.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Cockpit<\/a>, which is developed by Red Hat, gives you a easy-to-use interface for starting\/stopping services, monitoring CPU\/memory usage, and more. It even works with containers and multiple servers.<\/p>\n<table style=\"margin-left: auto; margin-right: auto;\">\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ssdnodes.com\/wp-content\/uploads\/2017\/03\/20170301_cockpit.png\" alt=\"20170301_cockpit.png\" width=\"740\" height=\"462\" \/><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><em>Cockpit aims to give users a relatively simple way to monitor and administer their server.<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>If you're using CentOS or Fedora on your machine, Cockpit is already in your repository and can be installed with a few simple commands. For those on Debian or Ubuntu, you'll need to add a new repository to your apt sources and then install.<\/p>\n<p>From there, you can visit <code>https:\/\/<em>ip-address-of-machine<\/em>:9090<\/code> to start visualizing your server's health and performing simple administrative tasks.<\/p>\n<p>Have other favorite tools for managing your VPS? Let us know in the comments, or <a href=\"https:\/\/www.ssdnodes.com\/contact\/\" target=\"_blank\" rel=\"noopener noreferrer\">get in touch<\/a>. As you're learning the ins and outs of your VPS, it couldn't hurt to take a deep dive into some critical steps for hardening your server against hackers.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the wonderful features about Linux is that you have infinite possibilities for not only what you install, but how. There&#8217;s much to be learned in firing up a VPS and launching yourself into the step-by-step process of installing and managing all the necessary software &#8220;by hand.&#8221;<\/p>\n","protected":false},"author":20,"featured_media":150,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[41,18],"tags":[],"class_list":["post-2905","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-comparisons","category-devops"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/posts\/2905","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/comments?post=2905"}],"version-history":[{"count":4,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/posts\/2905\/revisions"}],"predecessor-version":[{"id":13047,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/posts\/2905\/revisions\/13047"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/media\/150"}],"wp:attachment":[{"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/media?parent=2905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/categories?post=2905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ssdnodes.com\/wp-json\/wp\/v2\/tags?post=2905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}