<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2176583077566243539</id><updated>2024-10-07T10:20:30.590+05:30</updated><category term="linux"/><category term="cloud"/><category term="cloud in single system"/><category term="devstack"/><category term="openstack"/><title type='text'>Into Wonderful Linux World</title><subtitle type='html'>This is for Linux Power User or budding Linux Admin :)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://maitikousik.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2176583077566243539/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://maitikousik.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Kousik Maiti</name><uri>http://www.blogger.com/profile/12844998613979053262</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1lEieMmpZqc38DwWhrhiIULbshyr8ehtadoK5jXD50u0Pmub06R_Vh_AsbGzPNBq8R50zrfkRIUpa_M-EtjuqWAn9yRdVgrb-dcDRY6VANy2N6EcaqFXLm5H5f1uup14/s220/DSC03443.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2176583077566243539.post-2258219525833251542</id><published>2013-06-03T17:52:00.001+05:30</published><updated>2013-06-03T17:56:13.511+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="cloud"/><category scheme="http://www.blogger.com/atom/ns#" term="cloud in single system"/><category scheme="http://www.blogger.com/atom/ns#" term="devstack"/><category scheme="http://www.blogger.com/atom/ns#" term="openstack"/><title type='text'>Devstack in single system</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;style type=&quot;text/css&quot;&gt;P { margin-bottom: 0.21cm; }A:link {  }&lt;/style&gt;


&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
How to configure Devstack in a single
system-&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&amp;nbsp;DevStack is an opinionated script to quickly create an OpenStack development environment.&lt;/div&gt;
&lt;h2 class=&quot;western&quot;&gt;
Installation Steps
&lt;/h2&gt;
&lt;h3 class=&quot;western&quot;&gt;
Add your user&lt;/h3&gt;
We need to add a user to install DevStack. (if you created a user
during install you can skip this step and just give the user sudo
priviledges below)&lt;br /&gt;
&lt;pre class=&quot;western&quot; style=&quot;margin-bottom: 0.5cm;&quot;&gt;adduser stack&lt;/pre&gt;
Since this user will be making many changes to your system, it will
need to have sudo priviledges.&lt;br /&gt;
&lt;pre class=&quot;western&quot;&gt;apt-get install sudo -y
echo &quot;stack ALL=(ALL) NOPASSWD: ALL&quot; &amp;gt;&amp;gt; /etc/sudoers&lt;/pre&gt;
From here on you should use the user you created. &lt;b&gt;Logout&lt;/b&gt; and
&lt;b&gt;login&lt;/b&gt; as that user.&lt;br /&gt;
&lt;h3 class=&quot;western&quot;&gt;
Download DevStack&lt;/h3&gt;
We&#39;ll grab the latest version of DevStack via git&lt;br /&gt;
&lt;pre class=&quot;western&quot;&gt;sudo apt-get install git -y
git clone git://github.com/openstack-dev/devstack.git
cd devstack&lt;/pre&gt;
&lt;h3 class=&quot;western&quot; style=&quot;page-break-after: avoid;&quot;&gt;
Configure localrc 
&lt;/h3&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Your devstack/localrc file should be
like this&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
FLOATING_RANGE=192.168.1.224/27 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
FIXED_RANGE=10.240.14.0/24 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
FIXED_NETWORK_SIZE=256 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
FLAT_INTERFACE=eth0 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
ADMIN_PASSWORD=admin 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
MYSQL_PASSWORD=root 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
RABBIT_PASSWORD=rabbit 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
SERVICE_PASSWORD=cdac 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
SERVICE_TOKEN=admin 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 class=&quot;western&quot; style=&quot;page-break-after: avoid;&quot;&gt;
Configure
devstack/stackrc&lt;/h3&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Around line no 184,You have to put the
image location (mainly from prebuilt OS image). You can add multiple
images separated by ,&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Here my line is like this&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
IMAGE_URLS=&quot;&lt;a href=&quot;http://cloud-images.ubuntu.com/releases/oneiric/release/ubuntu-11.10-server-cloudimg-amd64.tar.gz&quot;&gt;http://cloud-images.ubuntu.com/releases/oneiric/release/ubuntu-11.10-server-cloudimg-amd64.tar.gz&lt;/a&gt;&quot;,&quot;http://cloud-images.ubuntu.com/releases/10.04/release/ubuntu-10.04-server-cloudimg-i386.tar.gz&quot;,&quot;http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz&quot;,&quot;http://uec-images.ubuntu.com/precise/current/precise-server-cloudimg-i386.tar.gz&quot;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 class=&quot;western&quot; style=&quot;page-break-after: avoid;&quot;&gt;
Building Cloud:-&lt;/h3&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Now run 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
$./stack.sh&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
This will build the devstack cloud.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 class=&quot;western&quot; style=&quot;page-break-after: avoid;&quot;&gt;
Setting
environment variables&lt;/h3&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
After successfully done building,you
have to configure these environment variables 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
export OS_USERNAME=admin 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
export OS_PASSWORD=admin 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
export OS_USERNAME=admin 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
export OS_PASSWORD=admin 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
export OS_TENANT_NAME=admin 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
export
OS_AUTH_URL=http://10.240.8.29:5000/v2.0/&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 class=&quot;western&quot; style=&quot;page-break-after: avoid;&quot;&gt;
Available images&lt;/h3&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
See the images available in your system&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
nova image-list 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;+--------------------------------------+-------------------------------------------+--------+--------+
&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;| ID                      
            | Name                                      | Status |
Server | &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;+--------------------------------------+-------------------------------------------+--------+--------+
&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;|
d51df08c-57e4-4dcb-9b7b-bbe2df425095 | cirros-0.3.1-x86_64-uec       
           | ACTIVE |        | &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;|
f35cd538-4c4f-4744-ad4b-9c628af1a7b9 | cirros-0.3.1-x86_64-uec-kernel
           | ACTIVE |        | &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;|
13c37dd1-fd88-4c93-9606-646c6a121c74 |
cirros-0.3.1-x86_64-uec-ramdisk           | ACTIVE |        | &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;|
0c02b817-f15a-4763-bcfd-c4b1a296dd32 | precise-server-cloudimg-i386  
           | ACTIVE |        | &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;|
478b7945-2d40-4f21-bfad-05f451d4f7f5 |
precise-server-cloudimg-i386-kernel       | ACTIVE |        | &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;|
0292ca63-3ae6-46ae-bab1-5457c134b2d1 |
ubuntu-10.04-server-cloudimg-i386         | ACTIVE |        | &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;|
c23433a6-c7d6-4794-8273-2e025a542d3d |
ubuntu-10.04-server-cloudimg-i386-kernel  | ACTIVE |        | &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;|
3d4c05ea-8f46-4228-91a6-92a73a85b552 |
ubuntu-11.10-server-cloudimg-amd64        | ACTIVE |        | &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;|
1ac4d04b-83b7-4c94-876f-148148f23076 |
ubuntu-11.10-server-cloudimg-amd64-kernel | ACTIVE |        | &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;+--------------------------------------+-------------------------------------------+--------+--------+
&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 class=&quot;western&quot; style=&quot;page-break-after: avoid;&quot;&gt;
Create Keypair&lt;/h3&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Create a keypair so you can ssh to the
instance: 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
$nova keypair-add testkousik &amp;gt;
test.pem 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
$chmod 600 test.pem 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Run (boot) a test instance:  
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
nova boot --image
precise-server-cloudimg-i386 --flavor m1.small --key_name testkousik
testubuntu 
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul type=&quot;DISC&quot;&gt;&lt;code class=&quot;western&quot;&gt;--image&lt;/code&gt;: the name or ID of the image
 we want to launch, as shown in the output of &lt;b&gt;nova image-list&lt;/b&gt;&lt;br /&gt;
&lt;code class=&quot;western&quot;&gt;--flavor&lt;/code&gt;: the name or ID of the size
 of the instance to create (number of vcpus, available RAM, available
 storage). View the list of available flavors by running &lt;b&gt;nova
 flavor-list&lt;/b&gt;&lt;br /&gt;
&lt;code class=&quot;western&quot;&gt;-key_name&lt;/code&gt;: the name of the key to
 inject into the instance at launch.&lt;/ul&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 class=&quot;western&quot; style=&quot;page-break-after: avoid;&quot;&gt;
Login to your
instance&lt;/h3&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
ssh -i test.pem -l ubuntu 10.240.14.2&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
Reference&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;a href=&quot;http://devstack.org/guides/single-machine.html&quot;&gt;http://devstack.org/guides/single-machine.html&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;a href=&quot;http://docs.openstack.org/trunk/openstack-compute/admin/content/booting-a-test-image.html&quot;&gt;http://docs.openstack.org/trunk/openstack-compute/admin/content/booting-a-test-image.html&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;a href=&quot;http://commons.sfsu.edu/sites/sites.sfsu.edu.commons/files/Documentation%20v.2.5.pdf&quot;&gt;http://commons.sfsu.edu/sites/sites.sfsu.edu.commons/files/Documentation%20v.2.5.pdf&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maitikousik.blogspot.com/feeds/2258219525833251542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maitikousik.blogspot.com/2013/06/devstack-in-single-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2176583077566243539/posts/default/2258219525833251542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2176583077566243539/posts/default/2258219525833251542'/><link rel='alternate' type='text/html' href='http://maitikousik.blogspot.com/2013/06/devstack-in-single-system.html' title='Devstack in single system'/><author><name>Kousik Maiti</name><uri>http://www.blogger.com/profile/12844998613979053262</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1lEieMmpZqc38DwWhrhiIULbshyr8ehtadoK5jXD50u0Pmub06R_Vh_AsbGzPNBq8R50zrfkRIUpa_M-EtjuqWAn9yRdVgrb-dcDRY6VANy2N6EcaqFXLm5H5f1uup14/s220/DSC03443.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2176583077566243539.post-727746974845180594</id><published>2013-05-28T10:06:00.003+05:30</published><updated>2013-05-28T10:06:29.472+05:30</updated><title type='text'>Bugzilla Setup on CentOS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;


 
 
 
 &lt;style type=&quot;text/css&quot;&gt;PRE.western { font-family: &quot;DejaVu Sans Mono&quot;,monospace; }PRE.cjk { font-family: &quot;WenQuanYi Micro Hei&quot;,monospace; }PRE.ctl { font-family: &quot;DejaVu Sans Mono&quot;,monospace; }P { margin-bottom: 0.21cm; }A:link {  }&lt;/style&gt;


&lt;br /&gt;
&lt;div style=&quot;page-break-before: always;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;u&gt;Bugzilla
Setup&lt;/u&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;

Download latest stable bugzilla version from the website. 
&lt;br /&gt;

&lt;br /&gt;
&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;#wget
http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-4.1.3.tar.gz&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;

Change to the apache directory from where it serves files&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;#cd /var/www/html/&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;

Unzip the tar here /var/www/html/ so that apache can see it&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;#tar -xzvf ~/bugzilla-3.4.4.tar.gz&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;

(optional) Rename the directory to hide the version&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;#&lt;/span&gt;mv bugzilla-3.4.4/  bugzilla&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;

Change ownership so that apache can read/write to it&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;#&lt;/span&gt;chown -R apache.apache
/var/www/html/bugzilla/&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;

Change to bugzilla directory&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;#cd /var/www/html/bugzilla/&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;

Run checksetup.pl – this will show you the perl modules missing&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;# ./checksetup.pl –check-modules&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;

Install gcc (if the linux distro doesn’t already come it), as
you will need it to make/compile the modules&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;#&lt;/span&gt;yum install gcc.x86_64&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Install de&lt;span style=&quot;font-size: medium;&quot;&gt;pendencies for bugzilla&lt;/span&gt;&lt;/span&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;#yum install mysql-server mod_perl mod_perl-devel
httpd-devel graphviz patchutils gcc perl-DateTime
perl-Template-Toolkit perl-Email-Send perl-Email-MIME perl-GD
perl-Chart perl-Template-GD perl-GDGraph perl-GDTextUtil
perl-PatchReader perl-MIME-tools perl-LDAP perl-Authen-SASL
perl-RadiusPerl perl-SOAP-Lite perl-JSON-RPC perl-JSON-XS
perl-Test-Taint perl-HTML-Scrubber
perl-Email-MIME-Attachment-Stripper perl-Email-Reply perl-TheSchwartz
perl-Daemon-Generic perl-Math-Random-Secure perl-YAML
perl-Class-Inspector &lt;/b&gt;&lt;/span&gt;&lt;b&gt;perl-CPAN&lt;/b&gt;&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;To install all module required for bugzilla run &lt;/span&gt;
&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;# /usr/bin/perl install-module.pl –all &lt;/b&gt;&lt;/span&gt;
&lt;br /&gt;

Run the checksetup.pl without any parameters to create a
localconfig file.&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;# ./checksetup.pl&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;


&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;i&gt;Output will be like this&lt;/i&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;

&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;This version of Bugzilla
contains some variables that you may want to &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;change and adapt to your
local settings. Please edit the file &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;./localconfig and then
rerun checksetup.pl. &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;The following variables
are new to ./localconfig since you last ran &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;checksetup.pl: 
create_htaccess, webservergroup, use_suexec, db_driver, db_host,
db_name, db_user, db_pass, db_port, db_sock, db_check, index_html,
cvsbin, interdiffbin, diffpath, site_wide_secret &lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: normal;&quot;&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;/div&gt;
Change the permissions in case there should be a conflict.&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;# chmod -R 777 /var/www/html/bugzilla/&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;

Edit localconfig&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;#vim localconfig&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;

Update the database connection details like username and password&lt;br /&gt;

# The DNS name of the host that the database server runs on.&lt;br /&gt;

&lt;u&gt;$db_host = ‘localhost’;&lt;/u&gt;&lt;br /&gt;

# The name of the database&lt;br /&gt;

&lt;u&gt;$db_name = ‘bugs’;&lt;/u&gt;&lt;br /&gt;

# Who we connect to the database as.&lt;br /&gt;

&lt;u&gt;$db_user = ‘bugs’;&lt;/u&gt;&lt;br /&gt;

# Enter your database password here. It’s normally advisable to
specify&lt;br /&gt;

# a password for your bugzilla database user.&lt;br /&gt;

# If you use apostrophe (‘) or a backslash (\) in your password,
you’ll&lt;br /&gt;

# need to escape it by preceding it with a ‘\’ character. (\’)
or (\)&lt;br /&gt;

# (Far simpler just not to use those characters.)&lt;br /&gt;

&lt;u&gt;$db_pass = ‘password’;&lt;/u&gt;&lt;br /&gt;

# Sometimes the database server is running on a non-standard port.
If that’s&lt;br /&gt;

# the case for your database server, set this to the port number
that your&lt;br /&gt;

# database server is running on. Setting this to 0 means “use
the default&lt;br /&gt;

# port for my database server.”&lt;br /&gt;

&lt;u&gt;$db_port = 0;&lt;/u&gt;&lt;br /&gt;

# With the introduction of a configurable index page using the&lt;br /&gt;

# template toolkit, Bugzilla’s main index page is now index.cgi.&lt;br /&gt;

# Most web servers will allow you to use index.cgi as a directory&lt;br /&gt;

# index, and many come preconfigured that way, but if yours
doesn’t&lt;br /&gt;

# then you’ll need an index.html file that provides redirection&lt;br /&gt;

# to index.cgi. Setting $index_html to 1 below will allow&lt;br /&gt;

# checksetup.pl to create one for you if it doesn’t exist.&lt;br /&gt;

# NOTE: checksetup.pl will not replace an existing file, so if you&lt;br /&gt;

# wish to have checksetup.pl create one for you, you must&lt;br /&gt;

# make sure that index.html doesn’t already exist&lt;br /&gt;

&lt;u&gt;$index_html = 1;&lt;/u&gt;&lt;br /&gt;

&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;

Re-run the checksetup.pl&lt;br /&gt;

&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;# ./checksetup.pl&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;

&lt;i&gt;###OUTPUT#### &lt;/i&gt;
&lt;br /&gt;

&lt;i&gt;* This is Bugzilla 4.1.3 on perl 5.10.1 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;* Running on Linux 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6
19:48:22 GMT 2011 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking perl modules... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for               CGI.pm (v3.51)     ok: found v3.59 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for           Digest-SHA (any)       ok: found v5.47 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for             TimeDate (v2.21)     ok: found v2.22 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for             DateTime (v0.28)     ok: found v0.53 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for    DateTime-TimeZone (v0.71)     ok: found v1.08 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for                  DBI (v1.41)     ok: found v1.609 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for     Template-Toolkit (v2.22)     ok: found v2.22 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for           Email-Send (v2.00)     ok: found v2.198 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for           Email-MIME (v1.904)    ok: found v1.910 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for                  URI (v1.37)     ok: found v1.40 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for       List-MoreUtils (v0.22)     ok: found v0.22 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for    Math-Random-ISAAC (v1.0.1)    ok: found v1.004 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking available perl DBD modules... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for               DBD-Pg (v1.45)     not found &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for            DBD-mysql (v4.001)    ok: found v4.013 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for           DBD-SQLite (v1.29)     ok: found v1.35 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for           DBD-Oracle (v1.19)     not found &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;The following Perl modules are optional: &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for                   GD (v1.20)     ok: found v2.44 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for                Chart (v2.1)      ok: found v2.4.4 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for          Template-GD (any)       ok: found v1.56 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for           GDTextUtil (any)       ok: found v0.86 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for              GDGraph (any)       ok: found v1.44 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for           MIME-tools (v5.406)    ok: found v5.502 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for          libwww-perl (any)       ok: found v5.833 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for             XML-Twig (any)       ok: found v3.39 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for          PatchReader (v0.9.6)    ok: found v0.9.6 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for            perl-ldap (any)       ok: found v0.40 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for          Authen-SASL (any)       ok: found v2.13 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for           RadiusPerl (any)       ok: found v0.20 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for            SOAP-Lite (v0.712)    ok: found v0.714 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for             JSON-RPC (any)       ok: found v1.01 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for              JSON-XS (v2.0)      ok: found v2.32 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for           Test-Taint (any)       ok: found v1.04 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for          HTML-Parser (v3.40)     ok: found v3.64 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for        HTML-Scrubber (any)       ok: found v0.09 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for               Encode (v2.21)     ok: found v2.35 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for        Encode-Detect (any)       ok: found v1.01 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for Email-MIME-Attachment-Stripper (any)       ok:
found v1.316 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for          Email-Reply (any)       ok: found v1.202 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for          TheSchwartz (any)       ok: found v1.10 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for       Daemon-Generic (any)       ok: found v0.81 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for             mod_perl (v1.999022) ok: found
v2.000004 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for     Apache-SizeLimit (v0.93)     ok: found v0.96 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for          mod_headers (any)       ok &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for          mod_expires (any)       ok &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for              mod_env (any)       ok &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Reading ./localconfig... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Checking for            DBD-mysql (v4.001)    ok: found v4.013 &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Adding new table bz_schema... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Initializing bz_schema... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating tables... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Converting attach_data maximum size to 100G... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Setting up choices for standard drop-down fields: &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;   &lt;i&gt;priority bug_status rep_platform resolution bug_severity
op_sys &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./data directory... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./data/attachments directory... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./data/db directory... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./data/extensions directory... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./data/mining directory... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./data/webdot directory... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./graphs directory... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./skins/custom directory... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./data/extensions/additional... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./data/mailer.testfile... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating index.html... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./Bugzilla/.htaccess... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./data/.htaccess... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./data/attachments/.htaccess... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./data/webdot/.htaccess... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./graphs/.htaccess... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./lib/.htaccess... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating ./template/.htaccess... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating contrib/.htaccess... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating t/.htaccess... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating xt/.htaccess... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Precompiling templates...done. &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Fixing file permissions... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Initializing &quot;Dependency Tree Changes&quot; email_setting
... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Marking closed bug statuses as such... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating default classification &#39;Unclassified&#39;... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Setting up foreign keys... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Setting up the default status workflow... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating default groups... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Setting up user preferences... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Looks like we don&#39;t have an administrator set up yet. Either
this is &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;your first time using Bugzilla, or your administrator&#39;s
privileges &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;might have accidentally been deleted. &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;

&lt;u&gt;&lt;i&gt;Enter the e-mail address of the administrator:
&lt;/i&gt;&lt;b&gt;kousikster@gmail.com &lt;/b&gt;&lt;/u&gt;
&lt;br /&gt;

&lt;u&gt;&lt;i&gt;Enter the real name of the administrator:&lt;/i&gt;&lt;b&gt; kousik &lt;/b&gt;&lt;/u&gt;
&lt;br /&gt;

&lt;i&gt;&lt;u&gt;Enter a password for the administrator account: &lt;/u&gt;&lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;&lt;u&gt;Please retype the password to verify: &lt;/u&gt;&lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;kousikster@gmail.com is now set up as an administrator. &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;Creating initial dummy product &#39;TestProduct&#39;... &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;

&lt;i&gt;Now that you have installed Bugzilla, you should visit the
&#39;Parameters&#39; &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;page (linked in the footer of the Administrator account) to
ensure it &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;is set up as you wish - this includes setting the &#39;urlbase&#39;
option to &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;the correct URL. &lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;
&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;

Restart the httpd server&lt;br /&gt;

&lt;b&gt;#/etc/init.d/httpd restart&lt;/b&gt;&lt;br /&gt;

&lt;br /&gt;
and you are good to go!&lt;br /&gt;

&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;

Try &lt;span style=&quot;color: navy;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;u&gt;&lt;a href=&quot;http://localhost/bugzilla&quot; target=&quot;_blank&quot;&gt;http://&lt;ip address=&quot;&quot;&gt;/bugzilla&lt;/ip&gt;&lt;/a&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt; and Enjoy!&lt;br /&gt;

&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maitikousik.blogspot.com/feeds/727746974845180594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maitikousik.blogspot.com/2013/05/bugzilla-setup-on-centos.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2176583077566243539/posts/default/727746974845180594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2176583077566243539/posts/default/727746974845180594'/><link rel='alternate' type='text/html' href='http://maitikousik.blogspot.com/2013/05/bugzilla-setup-on-centos.html' title='Bugzilla Setup on CentOS'/><author><name>Kousik Maiti</name><uri>http://www.blogger.com/profile/12844998613979053262</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1lEieMmpZqc38DwWhrhiIULbshyr8ehtadoK5jXD50u0Pmub06R_Vh_AsbGzPNBq8R50zrfkRIUpa_M-EtjuqWAn9yRdVgrb-dcDRY6VANy2N6EcaqFXLm5H5f1uup14/s220/DSC03443.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2176583077566243539.post-4937049901177816964</id><published>2013-05-22T19:00:00.000+05:30</published><updated>2013-05-23T16:19:31.833+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>List of problems and solutions(Mostly Debian based)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
1.If you mess up with boot-loader and during installation it complaining about UUID you can fixed it with blkid&lt;br /&gt;
2.If you delete some file from command line accidentally  (if you delete from command line it deleted permanently) and want to recover you need the foremost package.&lt;br /&gt;
3. If you want to shutdown your pc at particular time say 11:30 pm then issue the following command&lt;br /&gt;
4.If you mess-up with grub and want to recover then boot from ubuntu live cd. Open terminal and run&lt;br /&gt;
5.Set Date and time through command line&lt;br /&gt;
6.Print through Command line&lt;br /&gt;
7.Quickly Find a PID with pgrep&lt;br /&gt;
8.Execute The Last Executed Command&lt;br /&gt;
9.Execute The Last Command Starting With ...&lt;br /&gt;
10.Last Argument &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://maitikousik.blogspot.com/2013/05/problems-and-solutions.html&quot;&gt;Deatils&lt;/a&gt;&lt;br /&gt;
11.Run a Command Repeatedly and Display the Output&lt;br /&gt;
12.Save Quickly in VI/VIM&lt;br /&gt;
13.Quickly Log Out of a Terminal&lt;br /&gt;
14.Navigate to the Last Directory You Were In&lt;br /&gt;
15.Make Parent Directories the Smart Way&lt;br /&gt;
16.Delete the Entire Line&lt;br /&gt;
17.Set the Time stamp of a File&lt;br /&gt;
18.Command to File&lt;br /&gt;
19.Ampersand&lt;br /&gt;
20.Resetting your terminal-session&lt;br /&gt;
21. Playing with packages:-&lt;br /&gt;
22.Remove unnecessary packages&lt;br /&gt;
23.Resolve &quot;Waiting for root file system...&quot;&lt;br /&gt;
24.View total memory in a system:-&lt;br /&gt;
25.Fixing NTFS Mount Error in GNU/Linux&lt;br /&gt;
26. If there is any problem in shutdown:-&lt;br /&gt;
27. Copy from cd and create an iso image through command line.&lt;br /&gt;
28. Mount a iso image&lt;br /&gt;
29.Use packages of DVD  to sources.list as repository:-&lt;br /&gt;
30. GRUB1 and GRUB2 splash images &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://maitikousik.blogspot.com/2013/05/problems-and-solutions.html&quot;&gt;Deatils&lt;/a&gt;&lt;br /&gt;
31. GRUB on CD-R/W media&lt;br /&gt;
32. Connect to Reliance ZTE MC315+&lt;br /&gt;
33. If firefox starting @ offline mode (Due to eth0 is disable ):-&lt;br /&gt;
34. Erase a re-writeable CD from command line&lt;br /&gt;
35. Write a iso image to a cd&lt;br /&gt;
36. Get the repository size in GB&lt;br /&gt;
37. If you want to see the file permission in numerical form&lt;br /&gt;
38. Get the directory/folder size from Command line&lt;br /&gt;
39. If you want to keep the files under /tmp directory during rebooting&lt;br /&gt;
40. Adding a startup script to be run at bootup&lt;br /&gt;
41.USB hard drive read only access&lt;br /&gt;
42.Change the bit rate of a mp3 file:-&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;43. Backup with rsync :-&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;44. Deleting comment lines starting with a special symbol:-&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
45. Working with startup scripts:-&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
46. Boot debian faster:-&lt;br /&gt;
47. Add Splash Screen to Debian:-&lt;br /&gt;
48. Get exact RAM size in MB :-&lt;br /&gt;
49. X:- No Screen Found error:-&lt;br /&gt;
50. Removing &quot;Too many levels of symbolic links&quot;Error:- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://maitikousik.blogspot.com/2013/05/problems-and-solutions.html&quot;&gt;Deatils&lt;/a&gt;&lt;br /&gt;
51.Read from standard input and write to standard output and files(tee):-&lt;br /&gt;
52.If you faceing problem in resizing Windows Partitions:-&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Verdana,Arial,sans-serif; font-size: 11px; line-height: 17px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;5&lt;span style=&quot;font-size: small;&quot;&gt;3&lt;/span&gt;.&lt;span class=&quot;hP&quot; id=&quot;:lv&quot;&gt;Configure Tata indicom HUAWEI and Reliance HUAWEI:-&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Verdana,Arial,sans-serif;&quot;&gt;5&lt;span style=&quot;font-size: small;&quot;&gt;4&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;. Reverse search by grep &lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Verdana,Arial,sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; line-height: 17px;&quot;&gt;55.How to view logfiles in Debian:-&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Verdana,Arial,sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; line-height: 17px;&quot;&gt;56.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;&quot; id=&quot;parent-fieldname-title&quot;&gt;&lt;span style=&quot;font-size: small; font-weight: normal;&quot;&gt;bash No such file or directory &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;57.Create own Debian repository  from an installed  Debian or Ubuntu system&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;58.Removing gpg warning &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Verdana,Arial,Tahoma; line-height: 17px;&quot;&gt;59.Resolving &quot;&amp;nbsp;could not gain access to /dev/sound/dsp for writing&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;60.Unmount forcefully ...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;61. Configure sify-bbclient in Ubuntu&amp;nbsp; 10.10&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Verdana,Arial,Tahoma; font-size: 12px; line-height: 17px;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;62.Replace a string&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: inherit;&quot;&gt;63. Switch between&amp;nbsp;different&amp;nbsp;java installed in your system&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
64.Enable SCIM(Smart Common Input Method ) for Libreoffice.&lt;br /&gt;
65. Restore Ubuntu panel&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://maitikousik.blogspot.com/2013/05/problems-and-solutions.html&quot;&gt;Deatils&lt;/a&gt; &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maitikousik.blogspot.com/feeds/4937049901177816964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maitikousik.blogspot.com/2009/11/summary.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2176583077566243539/posts/default/4937049901177816964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2176583077566243539/posts/default/4937049901177816964'/><link rel='alternate' type='text/html' href='http://maitikousik.blogspot.com/2009/11/summary.html' title='List of problems and solutions(Mostly Debian based)'/><author><name>Kousik Maiti</name><uri>http://www.blogger.com/profile/12844998613979053262</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1lEieMmpZqc38DwWhrhiIULbshyr8ehtadoK5jXD50u0Pmub06R_Vh_AsbGzPNBq8R50zrfkRIUpa_M-EtjuqWAn9yRdVgrb-dcDRY6VANy2N6EcaqFXLm5H5f1uup14/s220/DSC03443.JPG'/></author><thr:total>2</thr:total><georss:featurename>Kolkata, West Bengal, India</georss:featurename><georss:point>22.572646 88.363894999999957</georss:point><georss:box>22.1034065 87.718447999999952 23.0418855 89.009341999999961</georss:box></entry><entry><id>tag:blogger.com,1999:blog-2176583077566243539.post-1653073848909306652</id><published>2013-05-21T13:57:00.000+05:30</published><updated>2015-12-14T13:06:14.659+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Problems and Solutions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;1.If you mess up with boot-loader and during installation it complaining about UUID you can fixed it with blkid&lt;/b&gt;&lt;br /&gt;
blkid - command-line utility to locate/print block device attributes&lt;br /&gt;
&lt;br /&gt;
output from my machine&lt;br /&gt;
/dev/sda1: UUID=&quot;B0FC1625FC15E67E&quot; LABEL=&quot;disk[sda1]&quot; TYPE=&quot;ntfs&quot;&lt;br /&gt;
/dev/sda2: UUID=&quot;50B207AAB207941E&quot; LABEL=&quot;disk[sda2]&quot; TYPE=&quot;ntfs&quot;&lt;br /&gt;
/dev/sda4: UUID=&quot;420E5E570E5E4457&quot; LABEL=&quot;disk[sda4]&quot; TYPE=&quot;ntfs&quot;&lt;br /&gt;
/dev/sda5: TYPE=&quot;swap&quot; UUID=&quot;a906cb1b-a3ac-4738-9980-f6470af45659&quot;&lt;br /&gt;
/dev/sda6: LABEL=&quot;disk[sda6]&quot; UUID=&quot;7a5ac338-5d55-46b2-bd35-d07fafa38421&quot; SEC_TYPE=&quot;ext2&quot; TYPE=&quot;ext3&quot;&lt;br /&gt;
/dev/sda7: UUID=&quot;fb55ad63-7c40-4d26-8428-ec2ad4790f6e&quot; TYPE=&quot;ext3&quot;&lt;br /&gt;
/dev/sda8: UUID=&quot;1f10cf9e-9b2e-448f-ac8b-a9b8481cf349&quot; SEC_TYPE=&quot;ext2&quot; TYPE=&quot;ext3&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2.If you delete some file from command line accidentally (if you delete from command line it deleted permanently) and want to recover you need the foremost package.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You can install it by&lt;br /&gt;
&lt;br /&gt;
#apt-get install foremost&lt;br /&gt;
foremost - Recover files using their headers, footers, and data structures&lt;br /&gt;
After installing run&lt;br /&gt;
&lt;br /&gt;
#foremost -t filetype-i /dev/sda1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3. If you want to shutdown your pc at particular time say 11:30 pm then issue the following command&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
#shutdown -h 23:30&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4.If you mess-up with grub and want to recover then boot from ubuntu live cd. Open terminal and run&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
$sudo grub&lt;br /&gt;
grub&amp;gt; find /boot/grub/stage1&lt;br /&gt;
(hd0,5)&lt;br /&gt;
(hd0,6)&lt;br /&gt;
&lt;br /&gt;
grub&amp;gt;root (hd0,n)&lt;br /&gt;
grub&amp;gt;setup (hd0)&lt;br /&gt;
grub&amp;gt;quit&lt;br /&gt;
&lt;br /&gt;
$sudo reboot&lt;br /&gt;
###here n is the partition no from where you want to recover grub &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5.Set Date and time through command line&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
$sudo date 020212312009&lt;br /&gt;
It will set the date and time to Mon Feb 2 12:31:00 IST 2009&lt;br /&gt;
&lt;br /&gt;
6.Print through Command line&lt;br /&gt;
&lt;br /&gt;
$lp filename&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;7.Quickly Find a PID with pgrep&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
pgrep looks through the currently running processes and lists the process IDs which matches the selection criteria.&lt;br /&gt;
&lt;br /&gt;
pgrep firefox&lt;br /&gt;
- This will list all PIDs associated with the firefox process.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;8.Execute The Last Executed Command&lt;/b&gt;&lt;br /&gt;
!!&lt;br /&gt;
This will execute the last command you used on the command line.&lt;br /&gt;
&lt;br /&gt;
Isn&#39;t the UP arrow for that?&lt;br /&gt;
&lt;br /&gt;
The !! command is very useful when you forget to start a command with sudo :&lt;br /&gt;
apt-get update&lt;br /&gt;
sudo !!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;9.Execute The Last Command Starting With ...&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
If you want to execute a command from history starting with the letter S you can use the following:&lt;br /&gt;
&lt;br /&gt;
!s&lt;br /&gt;
- This will execute the last command used on the command line that started with s.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;10.Last Argument&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You can use the last argument from the last command by refering to it as $_&lt;br /&gt;
&lt;br /&gt;
so you only need to type a long path like this once:&lt;br /&gt;
cp assignment.htm /home/phill/reports/2008/&lt;br /&gt;
cd $_&lt;br /&gt;
to go straight to the 2008 folder as well.&lt;br /&gt;
&lt;br /&gt;
You can use this however you like. Always the last argument of the command above.&lt;br /&gt;
&lt;br /&gt;
Like using $_ for the last argument of the last command, you can also hit ALT+. to quickly paste it at the cursor. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;11.Run a Command Repeatedly and Display the Output&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
watch runs a command repeatedly, displaying its output. This allows you to watch the program output change over time. By default, the program is run every 2 seconds. watch is very similar to tail.&lt;br /&gt;
&lt;br /&gt;
watch -d ls -l&lt;br /&gt;
- This will watch the current directory for any file changes and highlight the change when it occurs.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;12.Save Quickly in VI/VIM&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Save and quit the file you’re editing in vi by exiting insert mode, holding shift, and hitting z twice (ZZ). That is quick or not, it depends.&lt;br /&gt;
&lt;br /&gt;
You can use :wq OR more easily :x&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;13.Quickly Log Out of a Terminal&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
You can quickly log out of a terminal session by using: CTRL+D&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;14.Navigate to the Last Directory You Were In&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
cd –&lt;br /&gt;
will take you to the last directory you were in.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;15.Make Parent Directories the Smart Way&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
mkdir -p /home/adam/make/all/of/these/directories/ will create all directories as needed even if they do not exist. Why waste time doing something silly like: mkdir make ; cd make ; mkdir all ; cd all ; mkdir of ; cd of … you get the point. Use mkdir -p ! This is one command I really lacked.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;16.Delete the Entire Line&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
If you’ve just typed a long string of commands that you don’t need to enter anymore, delete the entire line by using: CTRL+U,K. That is not easy. CTRL+U deletes whatever is to the left of the cursor and CTRL+K deletes what is to the right. If you are at the end of command, CTRL+U will do. Especially if you start typing password and you make a mistake. Alternatively, you can use CTRL+C, which discards the current typed command, and gives you a new line.&lt;br /&gt;
CTRL+L will clear the screen.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;17.Set the Time stamp of a File&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
touch -c -t 0801010800 filename.c will show the time stamp as 2008-01-01 8:00. The format is (YYMMDDhhmm).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;18.Command to File&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
fc will open the last command from your shell history in the default editor. You can also specify a text editor. You can add a history line number or the first few letters of the most recent command.&lt;br /&gt;
fc -e kate wget&lt;br /&gt;
- will open kate with the last shell command starting with wget. You can edit the command, and when you save and close kate, the command will execute.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;19.Ampersand&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Ending a command with &amp;amp; runs the command with a new PID, releasing the command line back to you. Useful for running a background process.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;20.Resetting your terminal-session&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Instead of killing and re-starting your terminal session, you can merely type the command reset. This will reset your terminal back to its defaults, clear the screen, and everything will be as it was before. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;21. Playing with packages:-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Checking package status:-&lt;br /&gt;
&lt;br /&gt;
dpkg -l&lt;br /&gt;
&lt;br /&gt;
Discovering package names:&lt;br /&gt;
#apt-cache search java&lt;br /&gt;
Using dpkg to find package names&lt;br /&gt;
#dpkg -S java&lt;br /&gt;
&lt;br /&gt;
If an installation breaks in the middle of the process and you find that it&#39;s no longer possible to install or remove packages, try running these two commands:&lt;br /&gt;
# apt-get -f install&lt;br /&gt;
# dpkg --configure -a&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;22.Remove unnecessary packages&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
deborphan | xargs apt-get -y remove purge&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;23.Resolve &quot;Waiting for root file system...&quot;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
When you get dropped to Busy Box prompt, type in:&lt;br /&gt;
modprobe ide-disk; modprobe ide-generic; cat /sys/block/hda/dev; mknod /dev/hda1 b 3 0&lt;br /&gt;
&lt;br /&gt;
Then press ctrl+D, and your machine will boot!&lt;br /&gt;
Source:- http://ubuntuforums.org/showthread.php?t=686253&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;24.View total memory in a system:-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
egrep &quot;(MemTotal|SwapTotal)&quot; /proc/meminfo&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;25.Fixing NTFS Mount Error in GNU/Linux&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
One of the common problem you might encounter while using a external hard drive (or partition) formatted with NTFS (since you multi boot or you want to use the external device with windows and gnu/linux) is that - it fails to mount occasionally giving the below error.&lt;br /&gt;
&lt;br /&gt;
$LogFile indicates unclean shutdown (0, 0)&lt;br /&gt;
Failed to mount &#39;/dev/disk/by-uuid/FE5C75355C74E9B3&#39;: Operation not supported&lt;br /&gt;
Mount is denied because NTFS is marked to be in use&lt;br /&gt;
&lt;br /&gt;
The reason is because you might have probably unplugged the device directly from windows instead of going through &#39;Safely Remove Hardware&#39; option and hence the NTFS log is not marked unused.&lt;br /&gt;
&lt;br /&gt;
There is a tool to fix it.&lt;br /&gt;
&lt;br /&gt;
sudo ntfsfix /dev/drive_name&lt;br /&gt;
&lt;br /&gt;
If you receive &quot;ntfsfix: command not found&quot; error message, then probably the ntfs utilities are not installed in your distribution (I have figured out that the utility to manipulate nfts is installed in openSUSE by default, but not in Ubuntu 8.04). In that case, you&#39;ll need to issue the following before ntfsfix command.&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install ntfsprogs&lt;br /&gt;
&lt;br /&gt;
Which will install the ntfs tools. Once you&#39;ve installed it, you can issue ntfsfix command. If you are not sure about the drive name, please use the below command to find the drive name.&lt;br /&gt;
&lt;br /&gt;
sudo fdisk -l&lt;br /&gt;
&lt;br /&gt;
If you are using 80Gig external USB Storage, then you will find the below in your command output:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Disk /dev/sdb: 80.0 GB, 80026361856 bytes&lt;br /&gt;
255 heads, 63 sectors/track, 9729 cylinders&lt;br /&gt;
Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;
Disk identifier: 0x3347a943&lt;br /&gt;
&lt;br /&gt;
Device Boot Start End Blocks Id System&lt;br /&gt;
/dev/sdb1 1 9729 78148161 7 HPFS/NTFS&lt;br /&gt;
&lt;br /&gt;
which is of course your NTFS USB drive. now you can issue the command as below.&lt;br /&gt;
&lt;br /&gt;
sudo ntfsfix /dev/sdb1 &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;26. If there is any problem in shutdown:-&lt;/b&gt;&lt;br /&gt;
DO the following things:-&lt;br /&gt;
&lt;br /&gt;
#vi /etc/modprobe.d/power&lt;br /&gt;
&lt;br /&gt;
add the following bit of code to the new file:&lt;br /&gt;
&lt;br /&gt;
options apm power_off=1 realmode_power_off=1&lt;br /&gt;
&lt;br /&gt;
And then EXIT from the file and reboot.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;27. Copy from cd and create an iso image through command line.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
dd if=/dev/scd0 of=/home/kousik/ubuntu.iso&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;28. Mount a iso image&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
mount -o loop disk1.iso /mnt/disk&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;29.Use packages of DVD to sources.list as repository:-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Extract iso to desktop&lt;br /&gt;
&lt;br /&gt;
Copy /root/Desktop/boss3.0/dists/tejas/main/binary-i386/Packages and /root/Desktop/boss3.0/dists/tejas/main/binary-i386/Packages.gz to /root/Desktop/boss3.0/ folder&lt;br /&gt;
&lt;br /&gt;
Then change the repository list&lt;br /&gt;
&lt;br /&gt;
deb file:///root/Desktop/boss3.0/ tejas main&lt;br /&gt;
&lt;br /&gt;
Then run apt-get update&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;30. GRUB1 and GRUB2 splash images&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
For Grub1 &lt;br /&gt;
Another cool function with GRUB is putting a splash image on the boot menu screen. By default, GRUB will make the menu screen a plain black-and-white menu. There are menu options to change the black and white colors, but why stop there? Grab your favorite picture, or head to one of the URLs listed below which have splash images created for you. If you are creating your own, it will need to be in XPM format, a maximum color palate of 14 colors, and 640x480 resolution size. The GIMP can help transform your graphic to these specifications. As an alternative, you can use the ImageMagick suite of programs. The application convert can help with this conversion process. You can run it as follows:&lt;br /&gt;
$ convert -resize 640x480 -colors 14 mycoolpicture.jpg mybootsplash.xpm&lt;br /&gt;
$ gzip mybootsplash.xpm&lt;br /&gt;
&lt;br /&gt;
In this case, the file mycoolpicture.jpg will be resized to 640x480, reduced to 14 colors, and saved in the XPM graphical format. The second step compresses the XPM file using the gzip compression method. GRUB can display the gzipped-xpm splash images well.&lt;br /&gt;
&lt;br /&gt;
If you don’t want to create your own splash image, check out some of the following web sites which have them available for download:&lt;br /&gt;
&lt;br /&gt;
GRUB Splash&lt;br /&gt;
http://schragehome.de/splash/&lt;br /&gt;
Once you have the XPM or gzipped-xpm file, you need to add a line at the top of GRUB’s menu.lst to instruct GRUB to load the specified boot splash image. The line should read as follows:&lt;br /&gt;
splashimage=/boot/grub/debsplash.xpm.gz&lt;br /&gt;
&lt;br /&gt;
In my case, I’m using the Debian boot splash image as my background.&lt;br /&gt;
&lt;br /&gt;
For GRUB2&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Install grub2 splash image package by&lt;br /&gt;
&lt;br /&gt;
$sudo apt-get install grub2-splashimages&lt;br /&gt;
&lt;br /&gt;
Then modify /etc/grub.d/05_debian_theme file&lt;br /&gt;
Give the wall paper path around line number 10&lt;br /&gt;
WALLPAPER=&quot;/usr/share/images/grub/Hortensia-1.tga&quot;&lt;br /&gt;
&lt;br /&gt;
comment out&lt;br /&gt;
use_bg=false&lt;br /&gt;
Put&lt;br /&gt;
use_bg=true&lt;br /&gt;
&lt;br /&gt;
Then run&lt;br /&gt;
$sudo update-grub2&lt;br /&gt;
&lt;br /&gt;
output should be like this&lt;br /&gt;
Generating grub.cfg ...&lt;br /&gt;
Found Debian background: Hortensia-1.tga&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
This means you have done it successfully. &lt;br /&gt;
&lt;br /&gt;
Reboot-check-and-enjoy :) &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;31. GRUB on CD-R/W media&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
I’ve also mentioned several times about installing GRUB to use for a bootable CD-R/W disk. When generating the ISO image, you will use some special settings of mkisofs. The command to build a bootable GRUB CD-R/W looks like:&lt;br /&gt;
$ mkdir -p iso/boot/grub&lt;br /&gt;
$ cp stage2_eltorito iso/boot/grub&lt;br /&gt;
$ mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot \&lt;br /&gt;
-boot-load-size 4 -boot-info-table -o grub.iso iso&lt;br /&gt;
&lt;br /&gt;
The key is to copy the stage2_eltorito file into the /boot/grub directory of the CD image tree, and run mkisofs with the options specified above. As mentioned earlier, you can also burn a menu.lst file along with kernels and disk images and put them all on the CD. In the menu.lst, you will need to use (cd) as the device, rather than (hd0). Splash images work well, too.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;32. Connect to Reliance ZTE MC315+&lt;/b&gt;&lt;br /&gt;
Your /etc.wvdial.conf&lt;br /&gt;
[Dialer Defaults]&lt;br /&gt;
Modem = /dev/ttyS3&lt;br /&gt;
Baud = 57600&lt;br /&gt;
SetVolume = 0&lt;br /&gt;
Dial-AT-OK ATDT Command =&lt;br /&gt;
Init1 = ATZ&lt;br /&gt;
FlowControl = Hardware (CRTSCTS)&lt;br /&gt;
Phone = #777&lt;br /&gt;
Username = ##########&lt;br /&gt;
Password = ##########&lt;br /&gt;
New PPPD = yes&lt;br /&gt;
Carrier Check = no&lt;br /&gt;
Stupid Mode = 1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As root user run these two command&lt;br /&gt;
setserial /dev/ttyS3 baud_base 230400&lt;br /&gt;
wvdial&lt;br /&gt;
--&amp;gt; WvDial: Internet dialer version 1.56&lt;br /&gt;
--&amp;gt; Initializing modem.&lt;br /&gt;
--&amp;gt; Sending: ATZ&lt;br /&gt;
+ZIND:8&lt;br /&gt;
--&amp;gt; Sending: ATQ0&lt;br /&gt;
ATQ0&lt;br /&gt;
OK&lt;br /&gt;
--&amp;gt; Re-Sending: ATZ&lt;br /&gt;
ATZ&lt;br /&gt;
OK&lt;br /&gt;
--&amp;gt; Initializing modem.&lt;br /&gt;
--&amp;gt; Sending: ATZ&lt;br /&gt;
ATZ&lt;br /&gt;
OK&lt;br /&gt;
--&amp;gt; Modem initialized.&lt;br /&gt;
--&amp;gt; Sending: ATDT#777&lt;br /&gt;
--&amp;gt; Waiting for carrier.&lt;br /&gt;
ATDT#777&lt;br /&gt;
CONNECT&lt;br /&gt;
--&amp;gt; Carrier detected. Starting PPP immediately.&lt;br /&gt;
--&amp;gt; Starting pppd at DATE&lt;br /&gt;
--&amp;gt; Pid of pppd: 7947&lt;br /&gt;
--&amp;gt; Using interface ppp0&lt;br /&gt;
--&amp;gt; pppd: X[04][06][08]H [06][08]&lt;br /&gt;
--&amp;gt; pppd: X[04][06][08]H [06][08]&lt;br /&gt;
--&amp;gt; pppd: X[04][06][08]H [06][08]&lt;br /&gt;
--&amp;gt; pppd: X[04][06][08]H [06][08]&lt;br /&gt;
--&amp;gt; pppd: X[04][06][08]H [06][08]&lt;br /&gt;
--&amp;gt; local IP address 220.224.34.198&lt;br /&gt;
--&amp;gt; pppd: X[04][06][08]H [06][08]&lt;br /&gt;
--&amp;gt; remote IP address 220.224.134.72&lt;br /&gt;
--&amp;gt; pppd: X[04][06][08]H [06][08]&lt;br /&gt;
--&amp;gt; primary DNS address 202.138.97.193&lt;br /&gt;
--&amp;gt; pppd: X[04][06][08]H [06][08]&lt;br /&gt;
--&amp;gt; secondary DNS address 202.138.96.2&lt;br /&gt;
--&amp;gt; pppd: X[04][06][08]H [06][08]&lt;br /&gt;
Note:With the value of baud 57600 in /etc/wvdial.conf, keep changes the value of baud_base as &quot;n*baud &quot; with `setserial` where n is 2,4,8,16&lt;br /&gt;
&lt;br /&gt;
i.e. baud=57600, baud_base=115200,230400,460800 ....&lt;br /&gt;
&lt;br /&gt;
for baud_base 230400 or 460800 modem will start responding but may vary. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;33. If firefox starting @ offline mode (Due to eth0 is disable ):-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Open &quot;/etc/dbus-1/system.d/NetworkManager.conf &quot; from root user&lt;br /&gt;
&lt;br /&gt;
Change &lt;br /&gt;
&lt;br /&gt;
3/4 lines contain &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;34. Erase a re-writeable CD from command line&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
#cdrecord blank=all -immed dev=/dev/cdrw1&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;35. Write a iso image to a cd&lt;/b&gt;&lt;br /&gt;
#wodim --devices&lt;br /&gt;
&lt;br /&gt;
Output #wodim --devices&lt;br /&gt;
wodim: Overview of accessible drives (2 found) :&lt;br /&gt;
-------------------------------------------------------------------------&lt;br /&gt;
0 dev=&#39;/dev/hdb&#39; rwrw-- : &#39;SONY&#39; &#39;CD-RW CRX230ED&#39;&lt;br /&gt;
1 dev=&#39;/dev/hdc&#39; rwrw-- : &#39;HL-DT-ST&#39; &#39;CD-ROM GCR-8523B&#39;&lt;br /&gt;
-------------------------------------------------------------------------&lt;br /&gt;
Then run&lt;br /&gt;
#cdrecord -v dev=/dev/hdb -speed=8 binary.iso&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;36. Get the repository size in GB&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
wget http://ftp.us.debian.org/debian/dists/lenny/main/binary-i386/Packages.gz -O - |zcat|sed &#39;s/Installed-Size://&#39;|grep Size|awk &#39;/Size:/ {pkgsize+=$2} END {print &quot;package size = &quot;pkgsize/1073741824&quot; GB&quot;}&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;37. If you want to see the file permission in numerical form&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
$stat -c &#39;(%a)%8hs%.19y%n&#39; /etc/*&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;38. Get the directory/folder size from Command line&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
$du -sh &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;39. If you want to keep the files under /tmp directory during rebooting&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Modify the following file sudo vi /etc/default/rcS&lt;br /&gt;
&lt;br /&gt;
Set TMPTIME to 60 so that files in /tmp will deleted if their modification time is more than 60 days ago.&lt;br /&gt;
TMPTIME=60&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;40. Adding a startup script to be run at bootup&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
So you have a script of your own that you want to run at bootup, each time you boot up. This will tell you how to do that.&lt;br /&gt;
&lt;br /&gt;
Write a script. put it in the /etc/init.d/ directory.&lt;br /&gt;
Lets say you called it FOO. You then run&lt;br /&gt;
&lt;br /&gt;
% update-rc.d FOO defaults&lt;br /&gt;
&lt;br /&gt;
You also have to make the file you created, FOO, executable, using&lt;br /&gt;
$chmod +x FOO&lt;br /&gt;
&lt;br /&gt;
You can check out&lt;br /&gt;
% man update-rc.d for more information. It is a Debian utility to install scripts. The option “defaults” puts a link to start FOO in run levels 2, 3, 4 and 5. (and puts a link to stop FOO into 0, 1 and 6.)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;41.USB hard drive read only access&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
If your usb stick mounting in read-only mode just run the following command&lt;br /&gt;
&lt;br /&gt;
$ sudo dosfsck -a /dev/sdb&lt;br /&gt;
This command will help you to check and repair MS-DOS file systems. Here I assume that my usb stick detected at /dev/sdb. Just check where usb is mounted by &quot;fdisk -l&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;42.Change the bit rate of a mp3 file:-&lt;/b&gt;&lt;br /&gt;
Install lame&lt;br /&gt;
Then run the following command&lt;br /&gt;
lame --mp3input -b 96 &lt;br /&gt;
Here we want to convert bit rate to 96 bps&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;43. Backup with rsync :-&lt;/b&gt;&lt;br /&gt;
For copy to a USB or other dir without deleting the original file run the following command &lt;br /&gt;
rsync -avh&amp;nbsp; /source/dir /destination/dir/&lt;br /&gt;
&lt;br /&gt;
For copy to USB and also want to delete the source dir run the following&amp;nbsp; command&lt;br /&gt;
rsync -avh&amp;nbsp; -delete /source/dir /destination/dir/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;44. Deleting comment lines starting with a special symbol:-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Let&#39;s say that your comment lines start with the symbol #. You have a handy one-liner for sed that will get rid of them: &lt;br /&gt;
$sed &#39;/^\#/d&#39; filewithcomment &amp;gt; filewithoutcomment &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;45. Working with startup scripts:-&lt;/b&gt;&lt;br /&gt;
Create startup script at /etc/init.d/ then go to that directory. Run&lt;br /&gt;
&lt;br /&gt;
for Debian based system:-&lt;br /&gt;
&lt;br /&gt;
#update-rc.d scriptname defaults&lt;br /&gt;
For Redhat system:-&lt;br /&gt;
#chkconfig scriptname&lt;br /&gt;
&lt;br /&gt;
For disable startup script run:-&lt;br /&gt;
for Debian:-&lt;br /&gt;
update-rc.d -f scriptname remove&lt;br /&gt;
for Redhat:-&lt;br /&gt;
chkconfig -d scriptname&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;46. Boot debian faster:-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Open /etc/init.d/rc file&lt;br /&gt;
Search for &quot;CONCURRENCY&quot; keyword, you can see CONCURRENCY=none&lt;br /&gt;
Then modify this line to&lt;br /&gt;
CONCURRENCY=shell &lt;br /&gt;
Then reboot and watch.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;47. Add Splash screen to debian:-&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;Install splashy splashy-themes in your debian system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then open your menu.lst (/boot/grub/menu.lst)&lt;br /&gt;
and in the line with kernel value add these words at the end of that line&lt;br /&gt;
&quot;vga=791 splash quiet&quot; &lt;br /&gt;
You can download more theme from http://splashy.alioth.debian.org/wiki/themes/contrib&lt;br /&gt;
Then extract theme into /etc/splashy/theme/ directory(here you can see other themes also).&lt;br /&gt;
Then run #splashy_config -s &lt;br /&gt;
&lt;br /&gt;
Then reboot and enjoy with new theme.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;48. Get exact RAM size in MB&lt;/b&gt;&lt;br /&gt;
cat /proc/meminfo | awk &#39;match($1,&quot;MemTotal&quot;) == 1 {print $2/1024}&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;49. X:- No Screen Found error:-&lt;/b&gt;&lt;br /&gt;
You&#39;ll need to reconfigure the X-server:&lt;br /&gt;
&lt;br /&gt;
dpkg-reconfigure xserver-xorg&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;50. Removing &quot;Too many levels of symbolic links&quot; error:-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
If you create symbolic link then try to access it and get the following error like this &quot;cannot access `Lenka&#39;: Too many levels of symbolic links&quot;&lt;br /&gt;
&amp;nbsp;Then there is the problem with the path . Always give the Absolute path(i.e. /home/user/Lenka) rather than Lenka in ln -s&lt;br /&gt;
Eg ln -s /home/guest/Desktop/Lenka/ /var/www/mp3/&lt;br /&gt;
not ln -s Desktop/Lenka/ /var/www/mp3/&lt;br /&gt;
&lt;br /&gt;
Then it will work fine.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;51.Read from standard input and write to standard output and files:-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
For this use tee,tee is normally used to split the output of a program so that it can be seen on the display and also be saved in a file.&lt;br /&gt;
Example:-&lt;br /&gt;
$strace&amp;nbsp; alacarte 2&amp;gt;&amp;amp;1 |&amp;nbsp; tee log&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;52. If you faceing problem in resizing Windows Partitions:-&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Boot from windows .Run chkdsk \f from command prompt. After that restart twice.Then you can resize your partition.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;b&gt;53. Configure Tata indicom HUAWEI and Reliance HUAWEI&lt;/b&gt;&lt;br /&gt;
Check lsusb :-&lt;br /&gt;
Bus 005 Device 009: ID 12d1:140b Huawei Technologies Co., Ltd.&lt;br /&gt;
&lt;br /&gt;
Check :- cat /proc/bus/usb/devices &lt;br /&gt;
&lt;br /&gt;
T:&amp;nbsp; Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=&amp;nbsp; 2 Spd=12&amp;nbsp; MxCh= 0&lt;br /&gt;
D:&amp;nbsp; Ver= 1.10 Cls=00(&amp;gt;ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=&amp;nbsp; 1&lt;br /&gt;
P:&amp;nbsp; Vendor=12d1 ProdID=140b Rev= 0.00&lt;br /&gt;
S:&amp;nbsp; Manufacturer=HUA�WEI TECHNOLOGIES&lt;br /&gt;
S:&amp;nbsp; Product=HUAWEI Mobile&lt;br /&gt;
S:&amp;nbsp; SerialNumber=�����������������&lt;br /&gt;
��&lt;br /&gt;
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA&lt;br /&gt;
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage&lt;br /&gt;
E:&amp;nbsp; Ad=87(I) Atr=02(Bulk) MxPS=&amp;nbsp; 64 Ivl=0ms&lt;br /&gt;
E:&amp;nbsp; Ad=08(O) Atr=02(Bulk) MxPS=&amp;nbsp; 64 Ivl=0ms&lt;br /&gt;
&lt;br /&gt;
login as a root and&amp;nbsp; copy usb_modeswitch.conf in /etc folder and usb_modeswitch executable in /usr/sbin&lt;br /&gt;
run following command..&lt;br /&gt;
Download the files from here&lt;br /&gt;
#usb_modeswitch -v 0x12d1 -p 0x140b -d 1&lt;br /&gt;
&lt;br /&gt;
#usb_modeswitch -v 0x12d1 -p 0x140b -H 1&lt;br /&gt;
&lt;br /&gt;
test using wvdialconf that device is detected or not and then configure&lt;br /&gt;
&lt;br /&gt;
/etc/wvdial.conf&lt;br /&gt;
Sample file:-&lt;br /&gt;
#start of wvdial file &lt;br /&gt;
&lt;br /&gt;
[Dialer Defaults]&lt;br /&gt;
Modem = /dev/ttyS3&lt;br /&gt;
Baud = 57600&lt;br /&gt;
SetVolume = 0&lt;br /&gt;
Dial-AT-OK ATDT Command =&lt;br /&gt;
Init1 = ATZ&lt;br /&gt;
FlowControl = Hardware (CRTSCTS)&lt;br /&gt;
Phone = #777&lt;br /&gt;
Username = ##########&lt;br /&gt;
Password = ##########&lt;br /&gt;
New PPPD = yes&lt;br /&gt;
Carrier Check = no&lt;br /&gt;
Stupid Mode = 1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;#End of wvdial file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The next command may be optional for USB&lt;br /&gt;
&lt;br /&gt;
Then run setserial /dev/ttyS3 baud_base 230400 &lt;br /&gt;
&lt;br /&gt;
and run wvdial&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;54. Reverse search by Grep&lt;/b&gt;&lt;br /&gt;
If you want to search with grep that reverse the meaning of a grep search&lt;br /&gt;
Use -v option &lt;br /&gt;
e.g. grep -v disk | dmesg&lt;br /&gt;
This will print all line except line containing disk &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;55. How to view logfiles in Debian:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use dump-utmp (dump-utmp - print an utmp file in human-readable format)&lt;br /&gt;
For that you have to install acct package &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then run&lt;br /&gt;
$dump-utmp /var/log/wtmp&lt;br /&gt;
&lt;br /&gt;
This will show the the file into human readable format&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;56. Change hostname&lt;/b&gt;&lt;br /&gt;
To change hostname run&lt;br /&gt;
#echo &quot;New_host_name&quot; &amp;gt; /proc/sys/kernel/hostname&lt;br /&gt;
Then reboot and check&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;57.Create own Debian repository from an installed Debian or Ubuntu system:- &lt;/b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; You can create your own repository from an installed system. This can be helpful for saving bandwidth and saving your time also(if system some how got corrupted).&lt;br /&gt;
&lt;br /&gt;
For this package needed is dpkg-dev. You can install it from synaptic package manager.&lt;br /&gt;
&lt;br /&gt;
Then create a directory, e.g. my_repo&amp;nbsp; . This is the root of your repository. Under this create a directory named binary&lt;br /&gt;
&lt;br /&gt;
After that copy .deb files from /var/cache/apt/archives/ into binary directory.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Then go that my_repo directory and run &lt;br /&gt;
&lt;br /&gt;
dpkg-scanpackages binary /dev/null | gzip -9c &amp;gt; binary/Packages.gz&lt;br /&gt;
This will create your packages list.&lt;br /&gt;
&lt;br /&gt;
After that save whole my_repo directory into another system and change the /etc/apt/sources.list file and add the path of the my_repo directory like this:-&lt;br /&gt;
&lt;br /&gt;
deb file:///home/boss/my_repo binary/&lt;br /&gt;
&lt;br /&gt;
If you don&#39;t have internet connection you can comment out other lines.&lt;br /&gt;
&lt;br /&gt;
Then reload the repository list and check .&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;58. Removing GPG warning during apt-get update&amp;nbsp; &lt;/b&gt;&lt;br /&gt;
If you face the following warning :-&lt;br /&gt;
W: GPG error: http://www.vislab.uq.edu.au lucid/ Release: The following signatures couldn&#39;t be verified because the public key is not available: NO_PUBKEY DA9163F7B638808E&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You have to run these command:-&lt;br /&gt;
$gpg --recv-keys DA9163F7B638808E&lt;br /&gt;
&amp;nbsp;Output:-&lt;br /&gt;
gpg: requesting key B638808E from hkp server keys.gnupg.net&lt;br /&gt;
gpg: key B638808E: public key &quot;Christoph Willing (UQ) &lt;br /&gt;
gpg: Total number processed: 1&lt;br /&gt;
gpg:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; imported: 1&lt;br /&gt;
Next:-&lt;br /&gt;
$gpg -a --export&amp;nbsp; DA9163F7B638808E | sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
Output:-&lt;br /&gt;
OK&lt;br /&gt;
After that run apt-get update.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;59.Resolving &quot;&amp;nbsp;could not gain access to /dev/sound/dsp for writing&quot;&lt;/b&gt;&lt;br /&gt;
Run these two commands :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$sudo ln -s /dev/snd /dev/sound&lt;br /&gt;
&lt;br /&gt;
$sudo ln -s /dev/dsp /dev/snd/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then check...&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;b&gt;60.Unmount forcefully ...&lt;/b&gt;&lt;br /&gt;
Run these two comman If you are faceing problem in unmounting usb, you can do it forcefully&lt;br /&gt;
Assuming you mount your USB at /media/disk, run :-&lt;br /&gt;
#umount -l /media/usb&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;61.Configure sify-bbclient for Ubuntu 10.10&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Download Sify Broadband client from here http://202.144.65.70:8090/linuxinstall.html &lt;br /&gt;
Download the non-rpm ...&lt;br /&gt;
Extract the archive and install the Sify Broadband client by running &lt;br /&gt;
$./install.sh &lt;br /&gt;
&lt;br /&gt;
from terminal(first go to the directory).&lt;br /&gt;
Then run try to run&amp;nbsp; &lt;br /&gt;
$sudo ./sifyconnect &lt;br /&gt;
&lt;br /&gt;
It will complain libcrypto.so.4 and libssl.so.4 not present. You have to just create a softlink for these 2 files.&lt;br /&gt;
$sudo ln -s /lib/libssl.so.0.9.8 /lib/libssl.so.4&lt;br /&gt;
$sudo ln -s /lib/libcrypto.so.0.9.8 /lib/libcrypto.so.4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After that go to System-&amp;gt; Preference-&amp;gt;Network Connection and select your wired connection give the proper settings which you have got from your ISP. Then check.&lt;br /&gt;
Then run &lt;br /&gt;
$sudo ./sifyconnect &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;62. Replace a String in a file.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
replace &#39;From&#39; &amp;nbsp;&#39;To &#39; &amp;nbsp;-- filename&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;63. Switch between&amp;nbsp;different&amp;nbsp;java installed in your system&lt;/b&gt;&lt;br /&gt;
Run &lt;br /&gt;
$sudo update-alternatives --config java&lt;br /&gt;
This will show you all installed java versions.Then you choose which you want to use.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;64.Enable SCIM(Smart Common Input Method ) for Libreoffice.&lt;/b&gt;&lt;br /&gt;
First you have to install scim.&lt;br /&gt;
Then run the following command&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$export XMODIFIERS=@im=SCIM&lt;br /&gt;
$export GTK_IM_MODULE=scim&lt;br /&gt;
$export QT_IM_MODULE=scim&lt;br /&gt;
$scim -d&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then go the installed directory of Libreoffice( My case it was /opt/libreoffice3.4/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$cd /opt/libreoffice3.4/ure/lib/&lt;br /&gt;
&amp;nbsp;$ sudo mv libstdc++.so.6 libstdc++.so.6.orig&lt;br /&gt;
&amp;nbsp;$ sudo mv libgcc_s.so.1 libgcc_s.so.1.orig&lt;br /&gt;
&lt;br /&gt;
Then check if it works by pressing comtrol+space.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;65. Restore Ubuntu 12.04 Panel&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
If Ubuntu 12.04 panel doesn&#39;t appear properly, run&lt;br /&gt;
$ sudo apt-get install dconf-tools&lt;br /&gt;
and&lt;br /&gt;
$sudo dconf reset -f /org/gnome/gnome-panel/&lt;br /&gt;
&lt;br /&gt;
This will restore your panel.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;66.&amp;nbsp; Detect rogue dhcp&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;# ifconfig ethX promisc
# tshark -i ethX -n port 68 -R &#39;bootp.type == 2&#39;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div id=&quot;divLookup&quot; style=&quot;-moz-border-radius: 3px; background-color: #ffff77; color: black; left: 42px; padding: 3px; position: absolute; top: 15094px; z-index: 10000;&quot;&gt;
&lt;img border=&quot;0&quot; src=&quot;data:image/gif,GIF89a%12%12%B3%FF%FF%FF%F7%F7%EF%CC%CC%CC%BD%BE%BD%99%99%99ZYZRUR%FE%01%02!%F9%04%04%14%FF%2C%12%12%04X0%C8I%2B%1D8%EB%3D%E4%60(%8A%85%17%0AG*%8C%40%19%7CJ%08%C4%B1%92%26z%C76%FE%02%07%C2%89v%F0%7Dz%C3b%C8u%14%82V5%23o%A7%13%19L%BCY-%25%7D%A6l%DF%D0%F5%C7%02%85%5B%D82%90%CBT%87%D8i7%88Y%A8%DB%EFx%8B%DE%12%01%3B&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maitikousik.blogspot.com/feeds/1653073848909306652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maitikousik.blogspot.com/2013/05/problems-and-solutions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2176583077566243539/posts/default/1653073848909306652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2176583077566243539/posts/default/1653073848909306652'/><link rel='alternate' type='text/html' href='http://maitikousik.blogspot.com/2013/05/problems-and-solutions.html' title='Problems and Solutions'/><author><name>Kousik Maiti</name><uri>http://www.blogger.com/profile/12844998613979053262</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1lEieMmpZqc38DwWhrhiIULbshyr8ehtadoK5jXD50u0Pmub06R_Vh_AsbGzPNBq8R50zrfkRIUpa_M-EtjuqWAn9yRdVgrb-dcDRY6VANy2N6EcaqFXLm5H5f1uup14/s220/DSC03443.JPG'/></author><thr:total>0</thr:total></entry></feed>