Sunday, October 12, 2014
0 comments
undefined
undefined
Md. Mahidul HasanERROR 1051 (42S02): Unknown table corrupttablename
Very rare we got a message to the browser saying "Unknown table tablename". Though we have the database and the table properly to the server. To solve the issue, we need to follow the below steps-
ERROR 1051 (42S02): Unknown table corrupttablename
[root@db ~]# service mysqld stop[root@db ~]# mv /var/lib/mysql/database_name/corrupttablename.frm /tmp[root@db ~]# service mysqld sta...
Wednesday, August 27, 2014
0 comments
undefined
undefined
Md. Mahidul HasanHow to capture network traffic using Wireshark & TCPdump with Linux
How to capture network traffic using Wireshark & TCPdump
How to capture network traffic using Wireshark & TCPdump
Using Wireshark (Grafical interface)
Install wireshark:
mahidul@mtr:~$ sudo apt-get install wireshark
Or, download it from official site https://www.archlinux.org
Error: Wireshark not listing interfaces on Ubuntu 12.04 precise pangolin
Solution:
mahidul@mtr:~$ sudo dpkg-reconfigure wireshark-common
mahidul@mtr:~$ sudo usermod -a -G wireshark $USER
mahidul@mtr:~$ sudo reboot
Reference:
http://it-connects.co/wireshark-not-listing-interfaces-on-ubuntu-12-04-precise-pangolin/
Using...
Friday, June 13, 2014
0 comments
undefined
undefined
Md. Mahidul HasanBurning CD/DVD using CLI in linux (redhat/debian/ubuntu)
Burning CD/DVD using CLI in linux (redhat/debian/ubuntu)
Burning CD/DVD using CLI:
1. find cdrom/dvdrom
2. make an iso
i. create an iso
ii. create an iso from collecting data from diffrent location
iii. add new data to an existence iso
3. burn the disk (cd/dvd)
i. single session burning
ii. Multi-session burning
iii. Blank a disk for re-writing cd/dvd (re-writable disk)
1. First findout the cd drive. Here my cd/dvd rom is dev=1,0,0
root@mahidul:~# cdrecord --devices
wodim: Overview of...
Monday, June 2, 2014
0 comments
undefined
undefined
Md. Mahidul HasanInstall and Configure Hudson in redhat 6.x, install apache, install java, install tomcat6
Install and Configure Hudson in redhat 6.x

Install and Configure Hudson in redhat 6.x
Packages Requirements:
. Java
. Apache
. Apache-tomcat
Installing java:
Download the leatest java from http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jdk-7u10-oth-JPR
[root@hudson~]# mkdir -p /usr/jdk
[root@hudson~]# tar -zxvf /Packages/jdk-7u10-linux-x64.tar.gz -C /usr/jdk/
[root@hudson~]# ls /usr/jdk/jdk1.7.0_10/
Installing Apache2:
[root@hudson~]#...
Tuesday, May 6, 2014
0 comments
undefined
undefined
Md. Mahidul HasanHow to rotate your application logs
How to rotate your application logs
How to rotate your application logs
Concept:
We use system's logrotate script to rotate our services logs. This (/etc/logrotate.conf) is a default script of the system which is executed by cronjob (/etc/cron.daily/logrotate) for log rotation. So, logration script and cronjob is already prepared by system, all we need to do is create a new file on (/etc/logrotate.d/) directory for our application and declair our requirement as below-
[root@db1 ~]# vim /etc/logrotate.d/asterisk
/var/log/asterisk/call.log {
#If the log file is...
Monday, April 28, 2014
1 comment
undefined
undefined
Log-in problem and Nautilus problem in Ubuntu 12.04
Log-in problem and Nautilus problem in Ubuntu 12.04After a long search in web didn't find the right solution. Here is the solutions to fix those problems. Error1: Desktop is not comming after login in Ubuntu 12.04.Solution:mahidul@mahidul-pc:~$ sudo apt-get updatemahidul@mahidul-pc:~$ sudo apt-get -y install --reinstall ubuntu-desktopError2: Nautilus does not working in ubuntu 12.04. And error log shows as below- (Press Ctrl+Alt+F1)mahidul@mahidul-pc:~$ tail -f /var/log/syslogmahidul-pc kernel: [ 809.241978] nautilus[3199]: segfault at ab...
Tuesday, April 8, 2014
0 comments
undefined
undefined
Md. Mahidul HasanHow to install and configure Torrent client in redhat/centos 6.x
How to install and configure Torrent client in redhat/centos 6.x

How to install and configure Torrent client in redhat 6
Topic Index:
1. Concept
2. Installation
3. Set global speed restriction
4. Start a download from Transmission-gui
5. Start a download from command line
6. Start a download from web interface
7. Create new Torrent
8. Download torrent file using cronjob
9. Troubleshooting
01....
2
comments
undefined
undefined
Md. Mahidul HasanHow to install and configure JIRA in redhat/centos 6.x
How to install and configure JIRA in redhat/centos 6.x
How to install and configure JIRA
Concept:
JIRA is a proprietary issue tracking product, used for bug tracking, issue tracking and project management which is developed by Atlassian. We can install JIRA three different ways like using .bin, .war or .tar.gz files. Here I will show you how to install jira using .bin file. It's very easy and simple. Follow the below steps and total installation will be complete within a few minutes.
Install mysql:
[root@db1 ~]# yum -y install mysqld
Or, download the following rpm packages and install from it.
[root@db1...
Tuesday, February 18, 2014
0 comments
undefined
undefined
Md. Mahidul Hasandebian, How to install glances in redhat 6.X, mint, ubuntu
How to install glances
How to install glances
Introduction:
In short Glances is a command line monitoring tools which present real time report regarding the following uses at a glance.
1. CPU uses,
2. server load,
3. memeory uses,
4. swap memory uses,
5. network interface uses,
6. HDD uses, and
7. Processes uses
On RedHat
Download the packages:
[root@gw ~]# wget ftp://ftp.univie.ac.at/systems/linux/fedora/epel/6/i386/glances-1.7.3-1.el6.noarch.rpm
[root@gw ~]# wget ftp://ftp.univie.ac.at/systems/linux/fedora/epel/6/x86_64/python-psutil-0.6.1-1.el6.x86_64.rpm
Simply...
2
comments
undefined
undefined
Md. Mahidul HasanHow to configure yum repository (with groupinstall) in redhat 6
How to configure yum repository (with groupinstall) in redhat 6
How to configure yum repository (with groupinstall) in redhat 6
Create a local repository repository:
First insert the redhat 6.X dvd in the dvdrom and mount it.
[root@gw ~]# mount /dev/dvdrw /mnt/
Copy the Packages folder to a location
[root@gw ~]# cp -Rfv /mnt/Packages /storage/
[root@gw ~]# cd /storage/Packages
Lets install dependencies for createrepo:
[root@gw Packages]# rpm -ivh deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
[root@gw Packages]# rpm -ivh python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
[root@gw Packages]# rpm -ivh createrepo-0.9.8-4.el6.noarch.rpm
[root@gw...
Thursday, January 16, 2014
0 comments
undefined
undefined
Md. Mahidul HasanHow to install phpMyadmin from tar.gz, How to setup phpMyadmin from tar.gz
How to install phpMyadmin from tar.gz
How to install phpMyadmin from tar.gz
Install Dependency(php and mysql):
[root@nccsc ~]# yum install -y php* mysql-server
[root@nccsc ~]# wget ftp://mirror.switch.ch/pool/1/mirror/scientificlinux/6.4/x86_64/os/Packages/php-mbstring-5.3.3-22.el6.x86_64.rpm
[root@nccsc ~]# rpm -ivh php-mbstring-5.3.3-22.el6.x86_64.rpm
Install phpMyAdmin:
First download the latest tar from http://www.phpmyadmin.net/home_page/downloads.php.
[root@nccsc ~]# wget http://garr.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/4.1.4/phpMyAdmin-4.1.4-all-languages.tar.gz
[root@nccsc...
Subscribe to:
Posts (Atom)