Browsing Tag

Command-line

How to Remove (Delete) a User on Ubuntu 16.04

User management includes removing users who no longer need access, removing their username and any associate root privileges are necessary for securing your server. Deleting a user’s access to your Linux server is a typical operation which…

How To: Watch Server Logs in Real Time

Servers do a fantastic job of writing down in log files what is happening right that moment. While going back and reading logs later to determine what happened in the past is helpful, it is also useful to watch logs in real time. Linux…

How to Check the Version of cPanel / WHM

Pre-Flight CheckThese instructions are intended specifically for checking your version of cPanel or WHM via the command line or the WHM dashboard.I’ll be working from a sxi.io Web Managed CentOS 7 server, and I’ll be logged in as…

SQL Databases Migration with Command Line

What if you have dozens of SQL databases and manually backing up/restoring each database is too time-consuming for your project? No problem! We can script out a method that will export and import all databases at once without needing manual…

How To: Lowering Your DNS TTLs

Whenever making DNS changes, lowering your TTLs (Time To Live) 24 hours ahead of time will reduce the amount of time that your change takes to propagate. This article assumes that you are running BIND on a linux server, that you already…

How To: Automate Server Scripts With Cron

Servers can automatically perform tasks that you would otherwise have to perform yourself, such as running scripts. On Linux servers, the cron utility is the preferred way to automate the running of scripts. There are two main ways to get…