Server

How to tutorials and information about setting up, running, and configuring a server. Most articles are related to Linux and open source.

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.

Having clean URLs for you wordpress website helps your visitors navigate your site easier as well as improve Search Engine Optimization (SEO). In this tutorial we will look at how to set this up on your WordPress site running on an Ubuntu server.

Here is an example. You can see the page URL is /?page_id=4

 

 

In this tutorial we will look at how to change the hostname of your Ubuntu Linux system. The following steps will work both on the desktop and server platform.

 

How To Check What The Hostname is:


Open up a termnial or ssh into the machine that you want to check. Enter the following command.

Bind9 is used all across the internet for DNS. A survey shows that over 70% of DNS servers on the internet use Bind. In this tutorial we will setup a Bind9 DNS server for your home network with caching.

PhpMyAdmin is a great easy to use web admin interface for your mysql databases. The one down side is it can be a security threat. Seems like many bots on the internet just go looking for phpmyadmin installed on web servers. Then run automated attacks. 

If you have logwatch installed you may often see many failed attemtps.

 

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.

 

 

In this tutorial we walk through setting up two users with sudo access. The first example we will just add a single user. In the second example we will create a group, configure the group sudo permissions and then add the user to the group. The second method allows us to scale quickly for new users that will need sudo access.

In this tutorial we will cover how to add a new user on ubuntu with the command line. The following commands will work on a desktop system as well as a server. The commands can also be applied on most other Linux distributions as well.

There are many different methods of getting support in todays technical world. Some methods work better for others. I have put together a list of some of the common methods. If you are not fimiliar with what some of these are, please take a look at the bottom of the page for definitions.

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

 

Pages

Subscribe to RSS - Server