How to tutorials and information on install, setting up, and configuring SSH clients and SSH servers.

The at command allows you to execute a command or a set of commands at a defined time. It is similar to a cron job except it is used for running the command or task just once.

In this tutorial we will have a quick look at the apachtop command. This is great for monitoring your webserver in a terminal or while SSHed into your system. 



What is ApacheTop:


It is defined as a Realtime Apache monitoring tool. It basically watches your log files in realtime and displays the output. This can be real handy for trouble shooting as well as keeping an eye on what files are being accesses at that time.



You can shutdown or restart your desktop or server with a simple command in bash. It could come in very handy if you ssh into your server or desktop. In this example I a doing it in on Arch Linux with a sudo user. The same commands can be applied in just about any linux distribution such as Ubuntu. You often have to issue the commands as the root user or with sudo in front of the command. (Example: sudo shutdown -r now)

Open up a terminal window

To restart your computer right away type in sudo shutdown -r now


The Following Steps can be applied to any Linux Desktop with Bash. This includes Gnome 2, Gnome 3, XFCE, KDE and Unity. This example I am using Ubuntu with the Unity desktop enviorment. If you need help on how to launch a terminal please visit the following links for your desktop.

Note: Changing your default ssh port does not guarantee that you won't get hacked. How ever changing the default really helps cut down on the attempts. Please make sure you have other secure practices in place such as strong passwords.



Often when you setup multiple websites on a single web server it can be difficult to figure out what database your Joomla site is using. Some times admins get lazy and create poor names or a hosting provider may just give you a random generated database name. In this tutorial we will look at four different methods on how to find the database name of your Joomla site.

If you are looking for information on what is the mysql database username and password are set to, use the "Find Your Joomla Database Name and Login Information with SSH:" steps below.

(Note: Joomla 1.7 was used in the following examples. The same steps should apply to other versions as well.)



Most system admins keep servers pretty slim with no Graphical User Interface (GUI). We will stick with the basics and use a few commands to start, stop, and restart Apache as well as some related services on Arch Linux.

In this tutorial we will install Drupal 7 on Ubuntu Server. If you would like steps on how to setup Ubuntu server visit one of the following URLs:

In this tutorial we will cover how to start, stop and restart your Apache web server and MySQL db on Ubuntu. Since most Linux servers do not have a graphical user interface installed we will do the steps in a terminal.

In this tutorial we will install Ubuntu Server 11.04 and set it up as web server.In later articles we will use this Ubuntu server to setup websites using wordpress, joomla, drupal and a handful others.


Subscribe to RSS - SSH