How To Install Ubuntu Server 14.04 LTS Trusty Tahr

Trusty

This guide will describes the basic steps of installing Ubuntu Server 14.04 from beginning to end. As already we know, Ubuntu Server 14.04 LTS with codenamed “Trusty Tahr” is the newest version operating system for server released by canonical on April 17 2014.

Come with LTS version Ubuntu Server 14.04 will be supported for 5 years by canonical, it also includes few apps such as ( OpenStack 2014.1, Puppet 3, Xen 4.4, Ceph 0.79, Qemu 2.0.0, Open vSwitch 2.0.1, Libvirt 1.2.2, LXC 1.0, MAAS 1.5, Juju 1.18.1, strongSwan, MySQL, Apache 2.4, PHP 5.5) that easily to deploy and orchestrate services in the cloud.

More detail about Ubuntu Server 14.04 LTS you can found the full release notes at here.

Step by Step Installing Ubuntu Server 14.04 Trusty Tahr

Step 1. First, Download ubuntu server 14.04 lts from ubuntu official site or click the following link to download the Ubuntu Server:

Step 2. After downloaded, burn ISO image of ubuntu server 14.04 into cd or usb flash disk. Set your computer booting from usb flash disk or cd/dvd. the system will boot (start) from the cd/dvd or USB flash drive and it appears.

Select what language you would like to install. I am going to use English language

Ubuntu Server 14.04 language

Step 3. Select Install Ubuntu Server

Ubuntu Server 14.04 Install Ubuntu Server

Step 4. Select language that used for the installation process, default English

Ubuntu Server 14.04 Select language for Installation

Step 5. Select location that will used for time zone and also for example to help select the system locale

Ubuntu Server 14.04 Select Location

Step 6. Configure keyboard layout

Ubuntu Server 14.04 Configure the keyboard

Step 8. Select country of origin for the keyboard. I am going to use English (US).

Ubuntu Server 14.04 layout of keyboard varies per country

Step 9. Select the layout matching the keyboard for your machine. Default English

Ubuntu Server 14.04 select keyboard for machine

Step 10. Auto configure network

Ubuntu Server 14.04 loading addtional component

Step 11. Set Up users and password : Enter full name or real name for the new user, then select <Continue>

Ubuntu Server 14.04 setup users and passwords

Step 12. Set Up users and password : Enter name for your account, then select <Continue>

Ubuntu Server 14.04 setup users and passwords 2

Step 13. Set Up users and password : Enter password for the new user

Ubuntu Server 14.04 setup password

Step 14. Set Up users and password : Re-enter password for the new user

Ubuntu Server 14.04 re-enter password

Step 15. Set Up users and password : Answer <Yes> if you want to encrypt home directory. I recommend answer <No> because if your hard driver ever gets corrupted and you need to retrieve information it will be much easier to access it.

Ubuntu Server 14.04 Encrypt Home Directory

Step 16. Select your time zone

Ubuntu Server 14.04 time zone

Step 17. Partitioning Disks: In this case i will used partitioning methode LVM

Ubuntu Server 14.04 partition disk

Step 17. Partitioning Disks: Select Disk to partition

Ubuntu Server 14.04 Partition LVM

Step 18. Partitioning Disks: Answer <Yes> to write the change to disk and configure LVM

Ubuntu Server 14.04 configure LVM

Step 19. Partitioning Disks: Assign the size/amount of volume group to use for guided patitioning.

Ubuntu Server 14.04 lvm partition 2

Step 20. Partitioning Disks: Answer <Yes> to Write all the change to disk

Ubuntu Server 14.04 end of partition LVM

Step 21. Installing the System..

Ubuntu Server 14.04 installing system

Step 22. Configure HTTP Proxy: Select <Continue> unless you are using a proxy, in this case we are not.

Ubuntu Server 14.04 set proxy

Step 23. Configure Taskel: Select No automatic updates

Ubuntu Server 14.04 configuring taskel

Step 24. Software Selection: Select [*] OpenSSH Server by pressing space key on keyboard, then select continue

Ubuntu Server 14.04 ssh server

Step 24. Installing all Software.

Ubuntu Server 14.04 install software

Step 25. Answer to Install the GRUB boot loader on a hardisk

Ubuntu Server 14.04 install boot loader

Step 25. Installation is Complete, Select <Continue>

Ubuntu Server 14.04 Finishing Installation

Ubuntu Server 14.04 Trusty Tahr ready to use..

Ubuntu Server 14.04 is ready

The following video created by LinuxScoop and is describes basic steps how to installing Ubuntu Server 14.04 LTS from begining to end. Original Video found here

Link Reference:

Discussion Forums with phpBB on Ubuntu 12.04 (Precise Pangolin)

800px-Phpbb3-ccw-logo

phpBB is one of the most widely used open source forum solutions. It is easy to install and free to use, along with being fully customizable. If you don’t want to spend money on other forum software like vBulletin, consider using phpBB.

For this guide, we’ll assume you’ve already completed the getting started guide and have a working LAMP stack on your Linode. You should be connected to your server via SSH and logged in as root.

Prerequisites

Before installing phpBB, make sure your system is up to date. Enter the following commands, one by one, and install any available updates:

1
2
apt-get update
apt-get upgrade

Deciding How to Install phpBB

There are two ways to install phpBB. You can install the phpBB packages from the Ubuntu repository, or you can compile and install phpBB from source. Installing the packages is faster and makes things easier to maintain, but compiling from source is a good option for users who need to customize the install.

Installing Packages

Here’s how to install the phpBB packages from the Ubuntu repository:

  1. InstallphpBB by entering the following command:
    1
    sudo apt-get install phpbb3
    
  2. We recommend that you allow the installer to create a database for phpBB. You can also manually create the database after the install is complete.
  3. Enter a password for the root MySQL user.
  4. Enter a password for the phpBB admin user.

The phpBB packages are now installed on your computer.

Accessing phpBB

Now that phpBB is installed on your server, you can use a web browser to access the administration console to finish the configuration. Replace example.com with the domain name of your primary virtual host or the IP address of your Linode:

1
http://example.com/phpbb

You can log in with admin username and the password you created during in the installation process.

Compiling and Installing from Source

If you decide to compiling and install phpBB from source, get started by installing the php5-gd and imagemagick packages. Enter the following command:

1
apt-get install php5-gd imagemagick

After you have installed the packages above, you will need to restart Apache. Issue the following command:

1
/etc/init.d/apache2 restart

You are now ready to install phpBB!

Downloading and Unpacking

Next, we’ll download the latest release of phpBB. As of this writing, the latest stable release of phpBB is version 3.0.11. You can find the download for the latest link by visiting the phpBB downloads section of their website.

Use wget to download the latest package. You may need to install the wget command first by issuing apt-get install wget.

1
wget https://www.phpbb.com/files/release/phpBB-3.0.11.tar.bz2

This will allow you to decompress the file you just downloaded. Using the following command, decompress the phpBB package:

1
tar -jxvf phpBB-3.0.11.tar.bz2

Move the newly formed phpBB3 folder into your public_html folder. This will make the location on your server example.org/phpBB3 in the example provided by our LAMP guides. Feel free to rename the folder after you move it:

1
2
mv phpBB3/ /srv/www/example.com/public_html/forum/
cd /srv/www/example.com/public_html/forum/

This will move the PHP instance into a directory called forum/. You can move the location of the phpBB software into the top level of your DocumentRoot, in this case public_html/ but phpBB can be installed in any folder you wish. Now, visit that directory in your browser. In the above example, that would be http://example.com/forum/. At this point, you will be guided through the rest of the configuration by phpBB’s browser-driven install process.

Configure phpBB

Before you can install phpBB, you need to make sure that it has access to write to the config file. Issue the following command to make sure that phpBB can write to config.php:

1
chmod 0777 /srv/www/example.com/public_html/forum/config.php 

Click the “Install” tab in the top left region of the page. You should be looking at a requirements page. If you followed the LAMP guide, your server will meet the requirements specified by the phpBB installation process. Click “Proceed to next step.” The next page is simply a confirmation that your server meets the minimum installation requirements. Click “Start Install.”

You will need to fill in your database information. Assuming you installed MySQL while following the LAMP guide, here you would fill in your database name, database username, and database password. The other fields can be left blank for the defaults. If you are unsure of what to put here, head over to the MySQL database guides to become familiar with MySQL and to create the database and username. Click “Proceed to next step.”

This brings us to the “Administrator Configuration” page where you can set your Administrator username, password, and admin e-mail address. Fill this out, then click “Proceed to next step”. Click “Proceed to next step” again on the next page confirming the settings worked. Click “Proceed to next step” again after you reach the next page.

You should now be on the “Advanced Settings” page. Modify these settings as you wish. Continue following the instructions, clicking the “Proceed to next step” button. You should reach the “Congratulations” page.

Issue the following commands to delete the install/ directory and change the permissions on config.php:

1
2
rm -rf /srv/www/example.com/public_html/forum/install/
chmod 0644 /srv/www/example.com/public_html/forum/config.php

You should now be done configuring your phpBB setup!

Monitor for Software Updates and Security Notices

When running software compiled or installed directly from sources provided by upstream developers, you are responsible for monitoring updates, bug fixes, and security issues. After becoming aware of releases and potential issues, update your software to resolve flaws and prevent possible system compromise. Monitoring releases and maintaining up to date versions of all software is crucial for the security and integrity of a system.

Please monitor the phpBB security announcement posts and community forums to ensure that you are aware of all updates to the software and can upgrade appropriately or apply patches and recompile as needed:

When upstream sources offer new releases, repeat the instructions for installing the phpBB software as needed. These practices are crucial for the ongoing security and functioning of your system.

More Information

You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.

How to install Webmin on Ubuntu Server 12.04 LTS

 webmin_hosting

Webmin is a user friendly and lightweight web-based interface for system administration for linux/unix. It runs on any browser that supports tables and forms (and Java for the File Manager module). webmin allows you to manage and configure user accounts, web servers, DNS server, Squid server, DHCP server, file sharing etc.

Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5, and use no non-standard Perl modules

Installing Webmin On Ubuntu Server 12.04 LTS

In this tutorial I’ll shown you how to installing Webmin on Ubuntu server 12.04, There are two methods for installing Webmin. method 1: installing via APT, method 2: Installing manually. before installing Webmin You need to install first some perl-related libraries required by Webmin:

sudo apt-get install perl libnet-ssleay-perl libauthen-pam-perl libpam-runtime openssl libio-pty-perl apt-show-versions python

Method 1: Installing Webmin via APT

Login as root:

sudo -i

Add the Webmin repository in your Ubuntu server with following commands.

cat >> /etc/apt/sources.list <<-EOF
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
EOF

Logout from root:

exit

Import GPG key, Update the source list then install Webmin.

wget http://www.webmin.com/jcameron-key.asc && sudo apt-key add jcameron-key.asc
sudo apt-get update
sudo apt-get install webmin

Method 2: Installing Manually

Download the latest Webmin archive (this might change in time) and choose Debian package.

wget http://www.webmin.com/download/deb/webmin-current.deb

Install Webmin with following command:

sudo dpkg --install webmin-current.deb

to access Webmin open your browser and enter:  http://host:10000/

webmin ubuntu server 12.04