I took a leave because of fever. On that day I was browsing the internet and out of nowhere I saw a post about a site named AppFog. The post said that AppFog gives free hosting on their servers under their domain name. So quickly I went to AppFog and signed up. It was pretty easy. I created my site in the domain subins.hp.af.cm.
... [READ MORE]How to increase your apt cache limit
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing riece (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/archive.offensive-security.com_dists_pwnsauce_universe_binary-i386_Packages
W: Unable to munmap
E: The package lists or status file could not be parsed or opened.
... [READ MORE]
sudo gedit /etc/apt/apt.conf.d/70debconf
Creating a custom 404 Not Found page in Apache Server.
You might have seen a 404 page on different sites such as Google,Yahoo etc… You can make this on your website too if you are using Apache Server. The default 404 page will be like this :
ErrorDocument 404 /pathtofile
... [READ MORE]
How to remove an item from GRUB boot menu 2nd Way.
gedit /boot/grub/grub.cfg
After that line you will see the items of your GRUB menu.
sudo nautilus
... [READ MORE]
How to change/set background image of GRUB bootscreen
1 – Press ALT + F2. Type this in the input box of the window.
gksu gedit /etc/grub.d/05_debian_theme
and press Enter Key.
gksu update-grub
... [READ MORE]
Enabling Desktop Effects in Ubuntu Linux
BZFLAG Ubuntu 10.04 Lucid Lynx PPA
To add the PPA follow the steps.
1 – Go to Ubuntu Software Center
Under Edit Tab Choose Software sources.
Click Add button.
Type this in the APT line field.
ppa:ferramroberto/game/ubuntu
and click Add Source.
phpMyAdmin – A software to manage MySql Database
<h2 id="require" style="font-family: sans-serif; max-width: 70em;">
Requirements
</h2>
<ul style="font-family: sans-serif; margin: 1em; max-width: 70em;">
<li style="margin-top: 0.5em;">
<b>PHP</b> <ul style="margin: 1em 1em 0px; max-width: 70em;">
<li style="margin-top: 0.5em;">
You need PHP 5.2.0 or newer, with <tt>session</tt> support and the Standard PHP Library (SPL) extension.
</li>
<li style="margin-top: 0.5em;">
To support uploading of ZIP files, you need the PHP <tt>zip</tt> extension.
</li>
<li style="margin-top: 0.5em;">
For proper support of multibyte strings (eg. UTF-8, which is currently default), you should install mbstring and ctype extensions.
</li>
<li style="margin-top: 0.5em;">
You need GD2 support in PHP to display inline thumbnails of JPEGs ("image/jpeg: inline") with their original aspect ratio
</li>
<li style="margin-top: 0.5em;">
When using the "cookie" authentication method, the <tt>mcrypt</tt> extension is strongly suggested for most users and is <b>required</b> for 64–bit machines. Not using mcrypt will cause phpMyAdmin to load pages significantly slower.
</li>
<li style="margin-top: 0.5em;">
To support upload progress bars.
</li>
</ul>
</li>
<li style="margin-top: 0.5em;">
<b>MySQL</b> 5.0 or newer (details);
</li>
<li style="margin-top: 0.5em;">
<b>Web browser</b> with cookies enabled.
</li>
</ul>
sudo apt-get install phpmyadmin
... [READ MORE]
Keypad not working in Ubuntu fix
- By Keyboard
<p>
<b> CTRL + SHIFT + NUM LOCK</b></div>
<div style="text-align: left;">
<ul style="text-align: left;">
<li>
<b>By Terminal</b>
</li>
</ul>
<p>
Command :-
</p>
</div>
<blockquote class="tr_bq">
<p>
gnome-keyboard-properties
</p>
</blockquote>
<div style="text-align: center;">
<u><b>OR</b></u>
</div>
<div style="text-align: left;">
go to <b style="background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;">System ▸ Preferences ▸ Keyboard</b>
</div>
<p>
You will get a window.<br /> Under <b>Mouse Keys </b>tab there is a option called <b>Pointer cab be controlled using keypad</b>.<br /> Uncheck it as shown in the image below.
</p>
<div class="separator" style="clear: both; text-align: center;">
<a href="//4.bp.blogspot.com/-DAekZTlaHRA/UHll83cXVAI/AAAAAAAACAs/5l65kPO3Pxk/s1600/numpad.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="//4.bp.blogspot.com/-DAekZTlaHRA/UHll83cXVAI/AAAAAAAACAs/5l65kPO3Pxk/s1600/numpad.png" /></a>
</div></div>
... [READ MORE]
Install a RPM file in Ubuntu/Linux – Convert RPM files to DEB packages
This post will help you to convert RPM files to DEB packages which we can install in Linux.
Open the terminal (Applications ▸ Accessories ▸ Terminal) or by pressing CTRL + F2.
Install Alien package to convert the RPM file by using the following command.