Tuesday, August 14, 2012

45 Gram Linux Based Computer Raspberry Pi - Overview

45 Gram Personal Computer Raspberry Pi - Overview

-->

What is Raspberry Pi?
Raspberry Pi is a USD $35.00(Approx.Rs.2500/-) credit card sized single board computer with 256 MB RAM, 2 USB Ports, One HDMI Port, 3.5mm Audio Jack, Composit Video out for Connecting TV as Display Device, SD Card Slot, Ethernet Port and GPIO port for Electronics and Robotics Projects. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video. The Raspberry Pi measures 8.5cm x 5.4cm, It weighs 45g.

What Peripherals Are Required for the Raspberry Pi SBC?
  • +5V/700ma cell phone battery charger with micro‐USB cable
  • SD‐Memory Card (2GB minimum) with a Linux OS Image installed
  • USB Keyboard & USB Mouse
  • HDMI cable or RCA Video Cable
  • Display with either an HDMI, DVI, or Composite Video input
  • Ethernet LAN Cable with RJ‐45 Connectors
Supporting Operating Systems

Debian 6 Linux
Arch Linux
Fedora 14 Remix
Android

Monday, August 13, 2012

How to change Ubuntu Look and Feel with Zorin Splash Screen Manager

Zorin Splash Manager  is a simple application help you to  change the  theme  of Ubuntu desktop. The screen shot of the GUI is given below.

It is basically designed for Zorin OS, an Ubuntu based Linux Distribution



How  to install   Zorin Splash Screen Manager
 
Download Package from following Link
Double click on downloaded debian package.

OR  You can use
 $sudo dpkg -i   

Thursday, July 19, 2012

How to fix Apache – "Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName" Error on Ubuntu


How to fix Apache – "Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName" Error on Ubuntu

Just Edit the file /etc/apache2/httpd.conf

$sudo gedit /etc/apache2/httpd.conf

By Default it is blank

add the following to httpd.conf

ServerName localhost

now you can restart apache

$/etc/init.d/apache2 restart

Tuesday, July 17, 2012

How to build an exactly similar ubuntu installation on another computer

Here is an easy  way to  build an exactly similar  ubuntu installation on another computer.

Run
$ dpkg --get-selections >my_pakages

on the machine that you want to clone. Install a clean copy of Ubuntu on the target machine. Copy the file my_packages to the target machine.
Run the following command on the target machine.
$  sudo dpkg --set-selections < ./package_names
$  sudo apt-get -u dselect-upgrade

 Done.

Monday, June 18, 2012

How to Change the php file upload limit in Ubuntu Linux

The maximal file size upload limit in php scripts which is set to 2Mb as default. In order to change that open  the file /etc/php5/apache2/php.ini with command

sudo nano /etc/php5/apache2/php.ini

Now  search for “upload_max_filesize” with (default 2M) your value. Save the file. Restart Apache webserver.

sudo /etc/init.d/apache2 restart

 

Sunday, June 17, 2012

Install Norton Cammander Like File Manager SunFlower in Ubuntu/Debian Linux

Sunflower is Open Source, twin panel, very simple and  highly customizable File Manager for Linux with plugins support. it is like old Norton commander and MC.

How to install

Open a Terminal and type the following

  • sudo add-apt-repository ppa:atareao/sunflower
  • sudo apt-get update
  • sudo apt-get install sunflower

Friday, June 15, 2012

How to install GCC 4.7 in Ubuntu 12.04

How to Install GCC 4.7 in Ubuntu 12.04

You can try this PPA (https://launchpad.net/~ubuntu-toolchain-r/+archive/test) for installing gcc 4.7.
 Note that it has packages only for 12.04

Open a terminal and run the following commands

$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
$ sudo apt-get update
$ sudo apt-get install gcc-4.7

Thursday, June 14, 2012

How to Find Most Recently Updated File in PHP

How to Find  Most Recently Updated  File  in PHP

$path = "./";  // put your directory path here 
foreach (glob($path) as $filename) 
if (filemtime($filename) >= $recentDate)
 $recentDate = filemtime($filename); 
 $recentDate = date(" F d, Y",$recentDate); 

echo
"Most Recently Updated File".$recentDate;?>

Monday, June 11, 2012

How to install Gnome 3 in ubuntu 12.04


By using the following Steps You can Install the  latest version of Gnome 3 in Ubuntu 12.04

Open a terminal
 $ sudo add-apt-repository ppa:gnome3-team/gnome3 
 $ sudo apt-get update 
 $ sudo apt-get install gnome-shell
 Now Logoff the system and select Gnome


Monday, February 27, 2012

HOW TO ADD DNS IN UBUNTU / DEBIAN LINUX

How to set up DNS in Ubuntu

 You can add hostname and IP addresses to the file /etc/hosts for static lookups.

 You can add your DNS Server Ip address  for name lookups  to /etc/resolv.conf.

For example If you want to add  the DNS server at IP address 8.8.8.8

    sudo vi /etc/resolv.conf


If you have GUI use the following command

    gksudo gedit /etc/resolv.conf

enter the following details

    search test.com
    nameserver 8.8.8.8