• 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 740 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, 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

Get new posts by email:

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 (24.3K Followers)
  • Twitter (5.8k 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

  • What is an Automatic Ethanol Fireplace February 8, 2023
  • Disadvantages of Cloud-Native Computing February 7, 2023
  • Projector Screen Basics February 6, 2023
  • What is Configuration Management February 5, 2023
  • What is ChatGPT? February 3, 2023

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, February 8, 2023, https://thecustomizewindows.com/2012/09/ubuntu-12-04-desktop-as-ubuntu-12-04-server-with-gui-full-guide/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

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

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

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT