Posts marked with "Linux" in categories

Subins Project Online – Thanks to App Fog

You might have know the project I have been working on. The Subins Project. I have spent a year on this project. My wish was to host this on a site. But I couldn’t afford the hosting charges cause I’m 12 and my dad won’t lend me money.

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

Increase value APT::Cache-Limit

When the time I try to install backtrack unfortunately i got message error in the terminal :
Reading package lists… Error!
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.

and solution to fix it is just increase the value APT::Cache-Limit at the /etc/apt/apt.conf.d/70debconf

sudo gedit /etc/apt/apt.conf.d/70debconf

... [READ MORE]

Creating a custom 404 Not Found page in Apache Server.

DEMO
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 :

It’s just simple plain HTML 404 page and it’s ugly. To Change the default 404 page Do as below.
Go to your site’s folder.
Create a file named .htaccess (just .htaccess no name only file extension).
Open the file and add the line.

ErrorDocument 404 /pathtofile

... [READ MORE]

How to remove an item from GRUB boot menu 2nd Way.

There is another way to remove items from GRUB menu. By deleting the files in /boot. To remove the item in the GRUB do as shown below.

Open Terminal (ALT + CTRL + T)
Enter the Command.

gedit /boot/grub/grub.cfg

Now search for ### BEGIN /etc/grub.d/10_linux ###.
After that line you will see the items of your GRUB menu.
Select which is the item you want to remove. Suppose we want to remove Ubuntu, with Linux 2.6.32-30-generic. For that find the line. and in between {…..} the characters find initrd and memorize the location after the text initrd.
Go to the location. For that do as below.
Open Terminal (ALT + CTRL + T)
Enter the command.

sudo nautilus

... [READ MORE]

How to change/set background image of GRUB bootscreen

You might have heard of background image in GRUB boot screen. You can change the ugly black background of GRUB using a few little steps.

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.

The program will ask for your password. After typing the password and pressed the Enter Key a gedit window will appear. Press CTRL + F and search for WALLPAPER= after you found the word copy the location where your background image is and pate the location in quotes after the "=" like in the image shown below.
After editing the file press CTRL + S. After Saving the file press ALT + F2 again. This time type : 

gksu update-grub

... [READ MORE]

Enabling Desktop Effects in Ubuntu Linux

When you are using Windows 7 you will notice that it have window effects like shadow on windows opened, animation effects while moving a window. You can also have these kind of effects in Ubuntu.

To enable the feature right click on your desktop.
Choose Change Desktop Background. A window will now open with 4 tabs. Open Visual Effects tab.
Choose Norma if you have a Graphics Card with a memory of 512 MB. Choose Extra if you have 1 GB graphics card. A installation will begin. After downloading required files the screen will become blank 1 or 2 times. Don’t worry! That’s it. Try out your new Desktop Effects.
... [READ MORE]

BZFLAG Ubuntu 10.04 Lucid Lynx PPA

Bzflag stopped supporting Ubuntu 10.04 Lucid Lynx. But you can still install the latest version by adding this 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.

BZFLAG PPA  is now added. Close the Software Resources dialog.
A window will ask for your password.
Type your password and click Authenticate. Some files will start to Download.
After the download is finished packages will be updated. Close Ubuntu Software Center. Open Synaptic Package Manager and search for bzflag you should see an exclamation mark on the left side of the package bzflag. It means an upgrade is available. Double click on the packages bzflag , bzflag-data , bzflag-client , bzflag-server. Then click Apply button on the top.
The packages you double clicked will be downloaded and upgraded. Enjoy BzFlag.
... [READ MORE]

phpMyAdmin – A software to manage MySql Database

If you want to manage your MySql table you can use a software called phpMyAdmin. You can install phpMyAdmin in any Operating Systems. This tutorial will help you to install phpMyAdmin in Linux.

<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&nbsp;<tt>session</tt>&nbsp;support&nbsp;and the Standard PHP Library (SPL) extension.
      </li>
      <li style="margin-top: 0.5em;">
        To support uploading of ZIP files, you need the PHP&nbsp;<tt>zip</tt>&nbsp;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"&nbsp;authentication method, the&nbsp;<tt>mcrypt</tt>&nbsp;extension is strongly suggested for most users and is&nbsp;<b>required</b>&nbsp;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>&nbsp;5.0 or newer (details);
  </li>
  <li style="margin-top: 0.5em;">
    <b>Web browser</b>&nbsp;with cookies enabled.
  </li>
</ul>
Press ALT + CTRL + T.
You will get the Terminal window.
Type the command shown below.

sudo apt-get install phpmyadmin

... [READ MORE]

Keypad not working in Ubuntu fix

Some can’t type numbers using keypad. This because you enabled the Pointer cab be controlled using keypad. To disable it there are two ways.

  • By Keyboard
<p>
  <b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CTRL + SHIFT + NUM LOCK</b></div> 
  
  <div style="text-align: left;">
    <ul style="text-align: left;">
      <li>
        <b>By Terminal</b>
      </li>
    </ul>
    
    <p>
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Command :-
    </p>
  </div>
  
  <blockquote class="tr_bq">
    <p>
      gnome-keyboard-properties
    </p>
  </blockquote>
  
  <div style="text-align: center;">
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<u><b>OR</b></u>
  </div>
  
  <div style="text-align: left;">
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;go to&nbsp;<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>
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;You will get a window.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Under <b>Mouse Keys </b>tab there is a option called&nbsp;<b>Pointer cab be controlled using keypad</b>.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;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

Some programs will only have an RPM file which can be downloaded and can be installed. But most of the people don’t know how to install. If you open the RPM file you will see the archive in Archive Manager.

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.

... [READ MORE]

Follow/Subscribe

Telegram 

Mastodon  Twitter

GitHub GitLab

Subdomains

Demos  Lab

Past

This blog was once on WordPress. Now a static site. See source code on

GitLab