• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Ubuntu 12.04 Desktop as Ubuntu 12.04 Server With GUI : Full Guide

By Abhishek Ghosh September 29, 2012 6:21 pm Updated on September 29, 2012

Ubuntu 12.04 Desktop as Ubuntu 12.04 Server With GUI : Full Guide

Advertisement

Ubuntu 12.04 Desktop as Ubuntu 12.04 Server With GUI has the advantage of using your Ubuntu Laptop or desktop to use it as Web Server, Accessing Remotely. There are differences between Ubuntu 12.04 Desktop and Server Edition, just like we pointed in a generalized article. Apart from installing web softwares like WordPress easily to test on your laptop or desktop, you can use it for the purpose of Private Cloud, it is becoming Bare Metal in that case; you can actually run a real Web Server to serve webpages or access your Ubuntu 12.04 Desktop as Ubuntu 12.04 Server With GUI as like we did the basically reverse process on a Ubuntu 12.04 Server. A bit knowledge of UNIX is needed for using Ubuntu 12.04 Desktop as Ubuntu 12.04 Server as basically few software packages, tweaking the system rightly can serve your dual purpose of using Ubuntu 12.04 Desktop as Ubuntu 12.04 Server With GUI.

 

Ubuntu 12.04 Desktop as Ubuntu 12.04 Server With GUI : Preface

 

The easiest way would be to use a fresh Ubuntu 12.04 Server Edition on your computer and configure it to use as desktop locally. But that is really not practical for the most as no one virtually will use as a serious server. This way to use  Ubuntu 12.04 Desktop as Ubuntu 12.04 Server is also important to the new Ubuntu users who has upgraded their computer from Windows Operating System.

 

Ubuntu 12.04 Desktop as Ubuntu 12.04 Server With GUI : Steps

 

Before you are going to use your Ubuntu 12.04 Desktop as Ubuntu 12.04 Server, take a backup of all files and folders. This is important in case you make a mess. If you are really new, get a printout of this webpage to start working with Ubuntu 12.04 Desktop as Ubuntu 12.04 Server.

Advertisement

---

 

Our target for this guide for Ubuntu 12.04 Desktop as Ubuntu 12.04 Server with GUI are :

 

  • Making your Desktop or Laptop an OpenSSH server so that you can connect from anywhere in this World through HTTP or SSH.
  • Making the computer more secure by passwords, firewall etc.
  • Installing basic LAMP stack. LAMP is Linux, Apache, PHP, MySQL.
  • Basically we are not removing ubuntu-desktop.

 

Warning : Do not try to emulate this process of converting normally used Windows 7, Windows XP based desktop or Laptop with WAMP plus Cygwin. You will be hacked within few days because of file cross platform mismatched permissions.

 

You can check the official tech specs of a Server version :

 

Vim
1
http://www.ubuntu.com/products/whatisubuntu/serveredition/techspecs

 

Let us get started. First open the terminal by going to Applications > Accessories > Terminal and type :

 

Vim
1
sudo apt-get update

 

Then either manually open the sources.list file located at /etc/apt/sources.list or edit inside your console. The screenshot is of a remote server’s sources.lit file, but basic thing is, uncomment (remove the # and space) some lines to make them active and save the file :

 

Ubuntu 12.04 Desktop as Ubuntu 12.04 Server With GUI

 

Again do an update :

 

Vim
1
sudo apt-get update

 

And normally restart you computer. Run this :

 

Vim
1
sudo apt-get install linux-headers-server linux-image-server linux-server

 

Install Apache :

 

Vim
1
sudo apt-get install apache2

 

And other components :

 

Vim
1
sudo apt-get install php5 libapache2-mod-php5

 

And other MySQL components :

 

Vim
1
sudo apt-get install httpd php mysql mysql-server php-mysql

 

Restart Apache :

 

Vim
1
sudo /etc/init.d/apache2 restart

 

Create a test file to test :

 

Vim
1
sudo gedit /var/www/foo.php

 

gedit will open and add this code :

 

Vim
1
<?php phpinfo(); ?>

 

Now bind the local IP :

 

Vim
1
gksudo gedit /etc/mysql/my.cnf

 

Add this line or edit :

 

Vim
1
bind-address = 127.0.0.1

 

Setup MySQL and PHP (one by one) :

 

Vim
1
2
3
mysql -u root
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('changthistopassword');
quit

 

Now, install :

 

Vim
1
sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin

 

Edit this file :

 

Vim
1
gksudo gedit /etc/php5/apache2/php.ini

 

Find this like and remove the semi colon :

 

Vim
1
;extension=mysql.so

 

Restart Apache again :

 

Vim
1
sudo /etc/init.d/apache2 restart

 

Normally, if everything is right, if you open your browser to point towards :

 

Vim
1
http://localhost/foo.php

 

It should open an bluish colored informative table. Now install OpenSSH :

 

Vim
1
sudo apt-get install openssh-server

 

Setting up SSH is a big chapter, please see this guide :

 

Vim
1
https://help.ubuntu.com/10.04/serverguide/openssh-server.html

 

Start ssh :

 

Vim
1
/etc/init.d/ssh start

 

 

Ubuntu 12.04 Desktop as Ubuntu 12.04 Server With GUI : Specific Setup

 

The first important point is, you do not have an IP that you can actually access through internet. You can use your other computer or a Tablet PC to test for next steps.

Package Manager controls the entry or restriction to outside world. You basically need a VPN or if you have a router you can configure the IP address. That will expose the www folder to public. And with SSH you can login to your Ubuntu desktop. Now, it becomes up to you how you will configure and use your Ubuntu. If you want to use it as VNC Remote Desktop, follow the later part of this guide. If you want to install WordPress, follow this guide from the sub header ‘The actual command steps to install WordPress on Rackspace Cloud Server‘.
Usually there is no need to use a DNS and Domain Name. Use OpenDNS and BIND the IP to assign your computer’s location properly. With DNS you can actually use any domain name you want to configure.

 

In case server Edition, you will get a primitive GUI to install, you have to install desktop to work in that case. Basic is the same and basically not so difficult that no one can do. Error might arrive like with gnome, do a search to fix it.
Signature

Tagged With Ubuntu 12 04 Desktop , ubuntu 12 04 server vs desktop , ubuntu server 12 04 with gui iso download

This Article Has Been Shared 924 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Ubuntu 12.04 Desktop as Ubuntu 12.04 Server With GUI : Full Guide

  • Self Hosted WordPress on Cloud Server for Dummies

    Self Hosted WordPress is itself a scary phrase to a non-tech person and add Cloud Server on it. Here is Very Easy Guide to under Self Hosted WordPress.

  • Install WordPress on Ubuntu or Debian PC Guide

    Install WordPress on Ubuntu or Debian PC is actually very easy. Its just running some commands from Terminal and here is full guide with Screen shots to help.

  • How to Make Cloud Computing Secure ?

    How to Make Cloud Computing Secure ? Keep an eye on the provider’s choice ! Here are a few tips to check while you are in need of Secure Cloud Computing.

  • Syntax Highlighting : All About the Colorful Snippets

    Syntax Highlighting is a method for coloring certain words and characters in a text depending on their importance in in an piece of code or snippet.

  • Ubuntu with GUI on Rackspace Cloud Server as VNC Remote Desktop

    Ubuntu with GUI on Rackspace Cloud Server as VNC Remote Desktop is a guide to install and work on powerful server with up to 48 GB of RAM and GUI from devices.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (21K Followers)
  • Twitter (5.3k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • How Startups Can Convince the Investors April 14, 2021
  • What to Know About the Cloud Storage Services for Smartphones April 13, 2021
  • WonderFox HD Video Converter Factory Pro Review April 10, 2021
  • What is the Maximum Cable Length Between Arduino/ESP32 and a Sensor April 8, 2021
  • Is the Blockchain Hype Running Out of Breath? April 7, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Ubuntu 12.04 Desktop as Ubuntu 12.04 Server With GUI : Full Guide," in The Customize Windows, September 29, 2012, April 15, 2021, https://thecustomizewindows.com/2012/09/ubuntu-12-04-desktop-as-ubuntu-12-04-server-with-gui-full-guide/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy