Thursday, 19 March 2015

bugzilla-there-was-error-sending-mail

GO To -

/data/params ( where bugzilla is placed )

line 58 change sendmail to Test

Now Check Bugzilla Will work

Monday, 16 March 2015

How to set Static IP in Ubuntu Server

1 - sudo -i ( for super user and not use sudo before every command)

2 - vi /etc/network/interfaces

3 - iface eth0 inet static

        address 192.168.1.100
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1
        dns-nameservers 8.8.8.8
               

4 - save and exit

5 - service networking restart

Friday, 13 March 2015

Email Configure Bugzilla

Once you have worked out how to access your Bugzilla in a graphical web browser, bring up the front page, click Log In in the header, and log in as the admin user you defined in step 10.
Click the Parameters link on the page it gives you, and set the following parameters in the Required Settings section:
  • urlbasehttp://<servername>/ or http://<ip address>/
Click Save Changes at the bottom of the page.
There are several ways to get Bugzilla to send email. The easiest is to use Gmail, so we do that here so you have it working. Visit https://gmail.com and create a new Gmail account for your Bugzilla to use. Then, open the Email section of the Parameters using the link in the left column, and set the following parameter values:
  • mail_delivery_methodSMTP
  • mailfromnew_gmail_address@gmail.com
  • smtpserversmtp.gmail.com:465
  • smtp_usernamenew_gmail_address@gmail.com
  • smtp_passwordnew_gmail_password
  • smtp_sslOn

How to install Bugzilla

Step 1 - Create a Linux Machine

Step 2 - $ sudo su -i ( To Give Root Permission )


Step 3 - # apt-get update ( To update you machine up to date )


Step 4 - # apt-get install git nano

apt-get install apache2 mysql-server libappconfig-perl libdate-calc-perl libtemplate-perl libmime-perl build-essential libdatetime-timezone-perl libdatetime-perl libemail-sender-perl libemail-mime-perl libemail-mime-modifier-perl libdbi-perl libdbd-mysql-perl libcgi-pm-perl libmath-random-isaac-perl libmath-random-isaac-xs-perl apache2-mpm-prefork libapache2-mod-perl2 libapache2-mod-perl2-dev libchart-perl libxml-perl libxml-twig-perl perlmagick libgd-graph-perl libtemplate-plugin-gd-perl libsoap-lite-perl libhtml-scrubber-perl libjson-rpc-perl libdaemon-generic-perl libtheschwartz-perl libtest-taint-perl libauthen-radius-perl libfile-slurp-perl libencode-detect-perl libmodule-build-perl libnet-ldap-perl libauthen-sasl-perl libtemplate-perl-doc libfile-mimeinfo-perl libhtml-formattext-withlinks-perl libgd-dev lynx-cur python-sphinx

Step 5 - Download Bugzilla 
http://ftp.mozilla.org/pub/mozilla.org/webtools/
( From URL choose the Version and Copy Link)

# wget http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-4.4.2.tar.gz

Step 6 - # tar xvzf bugzilla-4.4.2.tar.gz ( under the /var/www/html/)

Step 7 - # ./checksetup.pl --check-modules

Step 8 - #  /usr/bin/perl install-module.pl --all

Step 9 - # ./checksetup.pl --check-modules

Step 10 - # vim /etc/mysql/my.cf
  • Alter on Line 52: max_allowed_packet=100M
  • Add as new line 31, in the [mysqld] section: ft_min_word_len=2
Step 11 - # mysql -u root -p -e "GRANT ALL PRIVILEGES ON bugs.* TO bugs@localhost IDENTIFIED BY '$db_pass'"  

Replace $db_pass with a strong password you have generated

Step 12 - # Service mysql restart

Step 13 - # vim /etc/apache2/sites-available/bugzilla.conf

ServerName localhost

<Directory /var/www/html>
  AddHandler cgi-script .cgi
  Options +ExecCGI
  DirectoryIndex index.cgi index.html
  AllowOverride Limit FileInfo Indexes Options
</Directory>

a2ensite bugzilla
a2enmod cgi headers expires
service apache2 restart

Step 14 - #cd /var/www/html

./checksetup.pl

Step 15 - # vim localconfig
  • Line 29: set $webservergroup to www-data
  • Line 67: set $db_pass to the password for the bugs user you created in MySQL a few steps ago
Step 16 - #./checksetup.pl

Step 17 - #./testserver.pl http://localhost/

Step 18 - # http://localhost/



Thursday, 12 March 2015

How to root samsung

Step to root Samsung mobile

Step 1 - Turn your phone into RECOVERY MODE.

VOLUME UP + HOME + POWER after few seconds your phone go in recovery mode.



Step 2 - Download the File from URL and copy in SD card

Link - https://drive.google.com/folderview?id=0B3qUUSbGTcTWfnBCUVJiNFlQZjBiQ3U4RzEtVXExR1cwd1ltUk9IWU4xa3pOZTk5TUkycXc&usp=sharing

Step 3 - Go SD Card and install both file one by one.

Step 4 - Reboot