Tag Archives: how to

xfce-4-8-snapshot-ubuntu

how to install XFCE on Ubuntu 11.04

XFCE is a most popular lightweight desktop environment for Unix like operating systems such as GNU/Linux, FreeBSD, NetBSD, Mac OS X etc. It is a free and open source software, consumes less resources then other desktops available for Ubuntu 11.04 (Natty Narwhal) – such as Gnome 2.*, KDE etc. Xfce desktop comes along with some applications installed by default – e.g Thunar (File Manager), Midori (Web browser), Mousepad (Text Editor); that is very simple to use and provides pretty fast experience without consuming a lot of memory or other resources.

Why should you try XFCE ?

Ubuntu 11.04 uses ‘Unity’ desktop by default but if you are running ubuntu on a older hardware/computer or got tired with the slow performance of other desktops then Xfce is the right desktop for you. Since, Ubuntu has very modular structure you can install as many desktop as you want; it means you don’t need to go for Xbuntu distribution – The Xfce version of Ubuntu, if you are already using Ubuntu or any other flavor of Ubuntu. Xfce 4.8 is the latest stable version available, released in Jan 2011. You can install it either from command line or Synaptic Package Manager, and it works not only for ubuntu but also for other Linux distros such as Linux Mint, Fedora etc.

xfce-4-8-snapshot-ubuntu

Installing XFCE Desktop on Ubuntu 11.04

step1 : Open terminal and type (You may need to authenticate yourself by login password):

sudo apt-get update
sudo apt-get install xfce4

step2 : Wait until the installation is complete. Next, logout from the current session and select Xfce session in login prompt.

step3 : That’s all.. Enjoy XFCE.. if you want to use other desktop then just select it at the login prompt.

network-applet-ubuntu

how to setup OpenDNS on ubuntu 11.04/10.10/10.04

What is OpenDNS ?
OpenDNS is a DNS (Domain Name Resolution, it’s basically a naming system which maps human friendly domain name (e.g sudobits.com) to I.P (Internet Protocol) address e.g 173.193.206.153 ). Each time ( if it’s not cached ) when you visit a website, your browser sends a DNS lookup query to the DNS server, most probably to your ISP DNS but you can configure your computer to use some other DNS servers such as OpenDNS for name resolution purposes, if you want. So in the end of this post you will learn how to use OpenDNS on your Ubuntu 11.04 (Natty Narwhal) or 10.10 (Maverick Meerkat) or 10.04 (Lucid Lynx) or any other Linux based operating systems such as Linux Mint, Fedora, Debian etc (Procedure is almost same).

A typical ISP (Internet Service Provider) DNS server works well in general but there are few extra advantages with OpenDNS, some of the important features are –

  • Open DNS is very fast (may not be true for non US users e.g if an Indian users will use OpenDNS instead of the BSNL DNS server, then it will be slow because BSNL DNS servers usually takes 400ms to resolve an I.P address while OpenDNS would take more than 1000ms due to high latency)
  • It protects you from the phishing attacks
  • Content filtering features are also available which can be used to block unwanted sites
  • it’s free for personal use

Setup OpenDNS on Ubuntu 11.04/10.10/10.04 in few simple steps

#1 : Right Click on Network icon -> Edit Connections.

network-applet-ubuntu

#2 : Then click on Add button to add a network or exist the existing one (Auto eth0) but it’s better to give configure a new one so that you can use both DNS depending on the need.

Network connections : open DNS

#3 : Next, click on IPv4 settings and select “Automatic (DHCP) Address only” (DHCP ( Dynamic Host Configuration Protocol) servers are used to allocate I.P address(usually Dynamic I.P Address) to the users) in Method. You can check the box if you want to connect automatically when your computer starts, better leave it uncheck. Give it a human friendly name e.g ‘OpenDNS’.

setup-open-dns-in-ubuntu

In ‘DNS servers’ field put these I.P Addresses :

208.67.222.222,208.67.220.220

Finally click on Apply button to complete the OpenDNS configuration process.

#4 : Now, left click on the network icon (Top Right of the panel) and select the network (as created in above steps) by clicking on the name of the connection and wait for few seconds. That’s all.. now you are ready to enjoy the surfing with OpenDNS.

phpmyadmin-snapshot

how to install phpmyadmin on ubuntu 11.04/10.10

phpMyAdmin is a MySQL web administration tool, which allow us to administrate MySQL database in graphical interface (from your browser) and available for Ubuntu 11.04 (natty narwhal) or 10.10 (Maverick Meerkat) or 10.04 (Lucid Lynx) or any other Linux distros. Since phpMyAdmin is written in PHP (Hypertext Preprocessor (Surprised! it’s a recursive acronym), The most popular scripting language, used for server side processing); of course it’s an open source (and Free!) and cross platform application, so you can also use it on Windows NT based operating system such as Windows XP or 7; or Mac OS X.

phpMyAdmin is specially useful for beginners because it allows them to create, modify, delete or update – tables, field and rows, users permissions and settings etc in much simpler (as compared to command line interface) way. For Ubuntu phpmyadmin is the best (probably) tool for managing and controlling MySQL database.

phpmyadmin-snapshot

What You can do with phpMyAdmin ?

  • browse databases and tables
  • “create, copy, rename, alter and drop” tables and databases
  • perform table maintenance
  • execute SQL statements/queries
  • manage MySQL users and privileges
  • search globally in databases
  • create and read dumps of tables or databases …

Installing phpMyAdmin on Ubuntu 10.04/10.10/11.04

Open Terminal (CTRL+ALT+T) and type the following command(s) to install phpMyAdmin (on your computer running Ubuntu or other debian based Linux distribution). Remember you need to install MySQL and Apache first, see there – installing mysql on ubuntu 11.04 or install Apache server on ubuntu. or installing php on ubuntu; more simply install the LAMP (Linux+Apache+MySQL+PHP) package from synaptic package manager. Then phpmyadmin : –

sudo apt-get install phpmyadmin

Alternative Method : Open Synaptic package manager, search for ‘phpmyadmin’, check the box for installation and click on Apply button (don’t forget to select yes for dependencies, I mean dependent libraries or program) to install the selected programs.

Login to phpMyAdmin to start administrating MySQL

Open any browser such as Google Chrome or Mozilla Firefox and type the following URL in the address bar (or click here )

http://localhost/phpmyadmin/

Then, you will get a window like this –

phpmyadmin-login-window

Next, enter the login information – i.e MySQL username and password

>> ‘root’ as username

>> ‘password’ as the password that you entered while installing MySQL

That’s all..Now you are ready to rock with phpMyAdmin.

Recommended References :

Read official Documentation about phpMyAdmin

How to hide folder in Ubuntu

How to Hide Folders/Files in Ubuntu

Some computer users (may be an advanced or a novice user) want to have some files/folders/directories hidden (specifically from other users if more than one person uses the computer), which probably may contains some private data or they just want to hide folders to reduce the clutter (by hiding rarely used folders).

If you want to hide folders containing private or sensitive data then better use encryption/decryption technique instead of just hiding it (it’s a kid stuff! any body having an I.Q in double digit can easily see the contents of your folders). Anyway, this post will explain – how to create hidden folders/directories or files in Ubuntu (should work with all versions ..10.04/10.10/11.04/11.10… as well as with other Linux based distro such as Linux Mint, Fedora, Open Suse ..) .

How to hide folder in Ubuntu

Ubuntu or any other Linux based Distribution has a very simple convention for hidden folders – Nautilus (File Browser) doesn’t show any folder, with the name starting with ‘ . ‘ period/dot. So here is the simple trick to create a hidden folder or file in Ubuntu .

Hiding Folder/file on Ubuntu

#1 : If you have just one file to hide then just rename the file name from ‘myfile’ to ‘.myfile’ or if you have a lot of files to hide then better create a folder – lets say – ‘mysecret’ and copy all the files you want to hide, then rename the folder name to ‘.mysecret’ .

#2 : Now refresh (hit F5) the screen, then your Folder/file will disappear.

#3 : That’s all..The most appropriate place for hiding folders/file would be desktop because CTRL+H won’t work directly , i.e in order to see hidden content(s), it must be seen through Nautilus.

How to see Hidden Files/Folders/Directory in Ubuntu

To see hidden file hit ‘CTRL+H’ (Twice if you want to hide it again) in nautilus or from command line/terminal. The command is –

ls -a

Warning! : Hiding folders isn’t a smart way to protect information from other people, you should encrypt it using some common encryption tool (A lot of free encryption tools for ubuntu are available) ; then decrypt it when you need it. So in this way, if any body will get your encrypted version of file/folder then they won’t be able (not necessarily true in all cases) to get the content! Second, it may works only with the nautilus i.e other file browser may show the hidden content directly!