how to install XFCE on Ubuntu 11.04


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.

Uninstall/Remove Ubuntu 11.04/10.10/10.04 Safely

1 : Uninstalling/Removing Ubuntu from Single Boot
If you have only one operating system i.e Ubuntu is installed on your computer , then it’s very simple because after removing ubuntu you will surely want to install another, you just need to follow this simple steps -
step 1 : If you want to install windows after removing Ubuntu, then simply create the bootable disk or USB that you will use for installing Windows 7 or vista (or XP).
step 2 : I assume you have already copied (otherwise login to Ubuntu and backup your data) all the data safely to another device or online back up such as Dropbox. Next, restart the computer and boot it from the Windows installation disc.
step 3 : Now format the ubuntu partition (if you had installed ubuntu on a particular partition) or the harddisk and install windows, follow on screen instructions..and you are Done! That’s All.

2 : Uninstalling Ubuntu from Dual Boot (with Windows 7)

You might be using Ubuntu as a dual boot along with Windows 7. Now, the the next step depends on how you had installed Ubuntu along with Windows 7. The most simple technique is to install Ubuntu using Wubi Installer, which installs Ubuntu on Windows as a program. If that’s the case, then you can uninstall Ubuntu just like any other program from Windows 7 or Vista. It’s quite simple.
On the other hand you might have installed Ubuntu on the other partition in dual boot mode. So now, if you delete or format the ubuntu partition then the windows boot-loader will no longer be available because when you installed Ubuntu it has replaced it with GRUB. So you won’t be able to boot into your Windows OS after deleting or formatting the Ubuntu partition.
step 1 : Insert the Windows 7/vista/xp DVD and restart your computer.
step 2 : Go to recovery windows/console and execute the following command(s) :
bootrec.exe /fixmbr
bootrec.exe /fixboot
to overwrite the MBR (Master Boot Record).
step 3 : Now, remove the installation disc, restart the computer and format ubuntu partition (ext3/4 file system) to a windows file system such as NTFS or FAT.
step 4 : That’s All. You are Done!

Blackbuntu Penetration Testing Distribution



  Blackbuntu is distribution for penetration testing which was specially designed for security training students and practitioners of information security.
Blackbuntu is Ubuntu base distro for Penetration Testing with GNOME Desktop Environment. It's currently being built using the Ubuntu 10.10.




Download

Blackbuntu features the following upstream components: Ubuntu 10.10, Linux 2.6.35 and Gnome 2.32.0
System requirements
  • 1GHz x86 processor
  • 768 MB of system memory (RAM)
  • 10 GB of disk space for installation
  • Graphics card capable of 800×600 resolution
  • DVD-ROM drive or USB port

Community Edition 0.3 Beta Test
For Blackbuntu 0.3 we are supporting both x86 and x86_64 architectures. You can download the Blackbuntu Community Edition 0.3 Beta Test ISO DVD with the following link (Download via torrent):
Blackbuntu Community Edition 0.3 x86 torrent
Blackbuntu Community Edition 0.3 x86_64 torrent

Community Edition 0.2
You can download the Blackbuntu Community Edition 0.2 ISO CD with the following link:
http://blackbuntu.sourceforge.net

Name: bbuntu-ce-0.2.iso
MD5: cb7557ec2f71197e4bab6dd48235c6f2
Mirror
Community Edition 0.1
You can download the Blackbuntu Community Edition 0.1 ISO CD with the following link:
http://blackbuntu.sourceforge.net

Name: bbuntu-ce-0.1.iso
MD5: 4e84db9bc21e5b469a5721ca3d2d6244



Cantenna, directional antenna with gain

Introduction

Many people have been asking how to boost their wifi signal, here is my small contribution with an antenna I made and use successfully.
The objective of this tutorial is explaining how to build & use a simple antenna system with USB adapter.

Explanation

This antenna is directional and very simple in construction and costs only 80p or 1 Euro or $1.40 !! for the can, excluding the cost of the USB stick (which I presume you already have) and blue tack . Basically Blu-tack is a kind of plastersene. My USB stick is a D-Link G122 ver B1.
It’s a can which contained dog food, any can of the same size will work. This one measure:
Length = 170mm, Width = 100mm, Length from inside bottom of can to centre of USB stick = 40mm
Cut a rectangular hole as shown in the photo Pic 1. Then smooth the entrance of the can so the edges are not sharp, I used the rounded end of a hammer.
Put the USB stick inside the can and secure it with blu tack or silicon sealant. You will need to adjust the USB stick by moving it in and out for optimum received signal by pointing the can at your AP and using airodump-ng and watching the signal strength numbers go up, signal quality will go up too (airodump-ng V0.7 has quality read out). You could also use Netstumbler on windows to make your adjustment. Once you have the optimum position then secure it using blu tack or silicon sealant.
The AP needs to be a reasonable distance away (not in the same room) so that you don’t swamp the receiver and get a false reading on your software. The open end of the can is where the wave enters, point his towards the AP! It is highly directional and a few degrees left or right of the target will make a significant difference.
The measured gain is around 13dB which is 20 times the strength of the USB stick without the can. This is amazing gain for the simplicity and “cheapness” of the system! This is what I measured using professional measuring equipment from work, I’m astonished at the results myself! Due to the internal construction of other USB wifi devices the gain may vary. Also by inserting the USB device the other way around could improve signal strength, it is all very device dependent. I then use a short length of USB cable to connect the PC to the Cantenna.
The size of the can is important when designing a proper antenna system, however, the parameters of this can are in fact not the correct ones for the frequency of wifi but as you will see, work very well and are a compromise.
Once constructed, the can should be placed on a tri pod or some form of support facing the AP. I used 3mm copper wire, which is easy to work with, to make a simple stand for the Cantenna.
Please feel free to ask questions or leave feedback on the forum about your construction and use.

Pictures

Some linux commands

Starting & Stopping

shutdown -h now Shutdown the system now and do not
reboot
halt
Stop all processes – same as above
shutdown -r 5 Shutdown the system in 5 minutes and
reboot

shutdown -r
now Shutdown the system now and reboot
reboot Stop all processes and then reboot – same
as above
startx Start the X system

Accessing & mounting file systems

mount -t iso9660 /dev/cdrom/mnt/cdrom Mount the device cdrom and call it cdrom under the /mnt directory
mount -t msdos /dev/hdd/mnt/ddrive
Mount hard disk “d” as a msdos file system and call it ddrive under the /mnt directory
mount -t vfat /dev/hda1/mnt/cdrive Mount hard disk “a” as a VFAT file system and call it cdrive under the /mnt directory
umount /mnt/cdrom Unmount the cdrom

Finding files and text within files

find / -name fname Starting with the root directory, look for the file called fname
find / -name ”*fname*” Starting with the root directory, look for the file containing the string fname
locate missingfilename Find a file called missingfilename using the locate command – this assumes you have already used the command updatedb
updatedb Create or update the database of files on all file systems attached to the linux root directory
which missingfilename Show the subdirectory containing the executable file called missingfilename
grep textstringtofind/dir Starting with the directory called dir , look for and list all files containing textstringtofind

The X Window System

xvidtune Run the X graphics tuning utility
XF86Setup
Run the X configuration menu with automatic probing of graphics cards
Xconfigurator
Run another X configuration menu with automatic probing of graphics cards
xf86config
Run a text based X configuration menu

Moving, copying, deleting & viewing files

ls -l List files in current directory using long format
ls -F
List files in current directory and indicate the file type
ls -laC
List all files in current directory in long format and display in columns
rm name Remove a file or directory called name
rm -rf
name Kill off an entire directory and all it’s includes files and subdirectories
cp filename/home/dirname
Copy the file called filename to the /home/dirname directory
mv filename/home/dirname
Move the file called filename to the /home/dirname directory
cat filetoview
Display the file called filetoview
man -
k keyword Display man pages containing keyword
more filetoview
Display the file called filetoview one page at a time, proceed to next page using the spacebar
head filetoview
Display the first 10 lines of the file called filetoview
head -20 filetoview
Display the first 20 lines of the file called filetoview
tail filetoview
Display the last 10 lines of the file called filetoview
tail -20 filetoview
Display the last 20 lines of the file called filetoview

Installing software

rpm -ihv name.rpm Install the rpm package called name
rpm -Uhv name.rpm
Upgrade the rpm package called name
rpm -e package
Delete the rpm package called package
rpm -l
package List the files in the package called package
rpm -q
l package List the files and state the installed version of the package called package
rpm -i –force package
Reinstall the rpm package called name having deleted parts of it (not deleting using rpm -e)
tar -zxvf archive.tar.gz or tar -zxvf archive.tgz
Decompress the files contained in the zipped and tarred archive called archive
./configure
Execute the script preparing the installed files for compiling

User Administration

adduser accountname Create a new user call accountname
passwd accountname
Give accountname a new password
su Log in as superuser from current login
exit Stop being superuser and revert tonormal user

X Shortcuts – (mainly for Redhat)

Control|Alt + or - Increase or decrease the screen resolution. eg. from 640×480 to 800×600
Alt | escape
Display list of active windows
Shift|Control F8
Resize the selected window
Right click on desktop background
Display menu
Shift|Control Altr
Refresh the screen
Shift|Control Altx
Start an xterm session

Printing

/etc/rc.d/init.d/lpd start Start the print daemon
/etc/rc.d/init.d/lpd stop
Stop the print daemon
/etc/rc.d/init.d/lpd status
Display status of the print daemon
lpq
Display jobs in print queue
lprm
Remove jobs from queue
lpr
Print a file
lpc
Printer control tool
man subject | lpr
Print the manual page called subject as plain text
man -t subject | lpr
Print the manual page called subject as Postscript output
printtool
Start X printer setup interface

Some More

ifconfig List ip addresses for all devices on the machine
apropos
subject List manual pages for subject
usermount
Executes graphical application for mounting and unmounting file systems

Find Us On Facebook

Related Posts Plugin for WordPress, Blogger... Linux Directory