1. Run fdisk /dev/sdb
2. Create a new partition table with ‘o’
3. Create a new partition with ‘n’
4. Let it use the default values by hitting ENTER when it asks for numbers, to take the entire available disk in this partition
5. Write the new partition table with ‘w’, which should dump you back to the prompt.
6. Finally, you should have a /dev/sdb1 to format using the following command:
sudo mkfs.vfat -n ‘Ubuntu’ -I /dev/sdb1
After installing Apache2, MySQL & PHP on Debian wheezy 7.1, I tried to reboot the apache server. It showed me the following error.
Starting web server: apache2[Fri Dec 27 11:29:16 2013] [crit] Apache is running a threaded MPM, but your PHP Module
is not compiled to be threadsafe. You need to recompile PHP.
Action 'start' failed.
The Apache error log may have more information.
So I searched through the internet to recomplie the PHP Source. But none of the tutorials were best and feasible.
Finally, after long try I found the command below that helped me to run the apache and PHP along.
apt-get install apache2-mpm-prefork
Many times it happens that your pen drive or memory cards does not formatted from file manager so you have to format it from terminal. In this tutorial, it is shown that how to format pen drive
or any other hard-disk or memory card from terminal using commands in Ubuntu.
This video gives you a complete idea of how to format pen drive from terminal and which commands you have to type.
I also attached the screenshots of this commands from terminal window step by step.
 First of all type the below command for know the name of your pen
drive or memory card. [here | (pipe) operator is used which is given
above your enter key in most of keyboards.]
dmesg | tail
 Then unmount your pen drive using the following command.
sudo umount /dev/sdb1
And enter your password.
 Then enter the following command to format your pen drive with
sudo mkfs.vfat -n ‘Ubuntu’ -I /dev/sdb1
Your pen drive is now formatted and ready to use.
Assuming you have git-core installed as well as the necessary dependences you can grab the source and build it.
Open a terminal and type: –
- git clone git://git.collabora.co.uk/git/user/alban/rhythmbox-plugin-telepathy.git
Now navigate to the directory using: –
- cd rhythmbox-plugin-telepathy/
Followed by: –
- mkdir -p ~/.gnome2/rhythmbox/plugins/
and finally: –
- cp -r rb-tp-* ~/.gnome2/rhythmbox/plugins/
Enable The Plug-in
In the Rhythmbox plugin configuration (Edit, Plugins), both parties need to activate the following: –
- DAAP plugin in Rhythmbox
- enable the telepathy exporter plugin
- enable the telelpathy importer plugin.
Here are the simple steps for keylogger in ubuntu
What is Keylogger?
Keystroke logger is the practice of noting (or logging) the keys struck on a keyboard, typically in a covert manner so that the person using the keyboard is unaware that their actions are being monitored. There are numerous keylogging methods, ranging from hardware- and software-based to electromagnetic and acoustic analysis.
keylogger in Linux
We have an opensource software available for Linux called lkl (Linux Key Logger).
LKL is a userspace keylogger that runs under linux–x86/arch. LKL sniffs and logs everything passes trought the hardware keyboard port (0×60).
Download key logger here
How to Install?
Unzip or untar the file you have downloaded
Change in to directory by typing cd lkl
Give the below command
This will check all the required resurces it needs
Type `make‘ to compile the package.
Optionally, type `make check’ to run any self-tests that come with the package.
Type `sudo make install‘ to install the
Now you are done with the installation
How to use?
You can send argument with the command lkl
-l start to log the 0×60 port (keyboard)
-b debug mode
-k <km_file> set a keymap file
-o <o_file> set an output file
-m <email> send logs to <email>
-t <host> hostname for sendmail. Default is localhost
Example: lkl -l -k us_km -o log.file // use USA kb and put logs in ‘log.file’
Please comment on the same if it doesn’t works for you