Terminal Commands

How to tutorials on using the Linux terminal to get task complete on your Linux system

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.

Depending on your network, your IP address, subnet, gateway ..etc setting will or could be different. Most home networks use a class C network with one subnet, so these settings could be applied in that case. Check your current IP address to get an idea what to use.

Lets get into it.

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:

By default ubuntu has an unknown password set. It is very rare that you would ever need to login as root but if you do you will need to have a password set. To set the password for root it is as simple as typing in a command in a terminal / command line.

 

By default ubuntu (9.10 and 10.04) Ubuntu does not come with the needed codecs to play dvds for legal reasons. It will only take you a few minutes to make the needed and change. First you will need to open a terminal window and issue the following commands

Click on Applications > Accessories > Terminal

 

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.

PhpMyAdmin is a web interface to your MySQL databases. It makes managing, creating and configuring your MySQL database a breeze. It is a very common tool and is often installed by default by many web host. In this article we will cover on how to install phpMyAdmin on Ubuntu Server 10.04 (LTS). You will need to already have the LAMP stack installed for these steps to work and have your MySQL root password handy. If you need help on how to install LAMP (Linux, Apache, MySQL, and PHP) please visit the following article:

http://mixeduperic.com/ubuntu/how-to-install-lamp-on-ubuntu-linux-apache-mysql-and-php-in-one-command.html

For security reasons I recommend restricting access to phpmyadmin from a specific internal IP address.

sudo apt-get install phpmyadmin

 

Note: The following steps will work for installing open SSH server on a desktop computer as well as Ubuntu server. This can also be done in Debian and Linux Mint.

 

Lamp stands for Linux, Apache, MySQL and PHP. These tools are very common for running many websites such as WordPress, Drupal, Joomla, Collabtive...etc. In Ubuntu we can easily install Apache2, MySQL and PHP with one simple command. In later articles we will later setup some of these open source web applications and use the complete LAMP server. If you are interested in following some of theses tutorials please subscribe to the RSS feed.

Since by default the Ubuntu server does not have a GUI we will install LAMP with the command line. If you do have a GUI installed, you can open a terminal and issue the following commands. This goes for your desktop as well. Lets get started.

sudo apt-get install lamp-server^

 

In Ubuntu you can install all your updates through the command line. You will often have to do this if you are running Ubuntu server without a GUI. Lets take a look at some of the commands to help keep you secure and up to date with all the open-source goodness.

Pages

Subscribe to RSS - Terminal Commands