Friday, July 9, 2021
0 comments
undefined
undefined
Md. Mahidul Hasan
1. Created a new user at the QNAP server named 'username' and gave him full permission on the desired folder. For example, let's share the 'media' folder.2. Mounted the partition from the client machine[root@redhat ~]# mkdir /opt/mymedia/[root@redhat ~]# mount -t cifs -o username=username,password=user's_password,uid=application_name,gid=application_name //192.168.1.1/media /opt/mymedia/Testing:[root@redhat ~]# cd /opt/mymedia/[root@redhat mymedia]# lltotal 2-rwxr-xr-x 0 nginx nginx 7 2020-12-15 12:44 100.txt-rwxr-xr-x 0 nginx...
Friday, May 21, 2021
0 comments
undefined
undefined
Md. Mahidul Hasanmonitor raid
How to monitor hardware RAID array status from Linux
First check which raid card we are using:To find out which RAID you are using, just type one command to the command line:[root@school ~]# lspci -vv | grep -i raid15:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS-3 3108 [Invader] (rev 02) Kernel driver in use: megaraid_sas Kernel modules: megaraid_sasThere may be several responses to this request: 1. Hewlett-Packard is your HP RAID array 2. 3ware is your 3ware RAID array 3. megaRAID is your MegaRAID arrayIf we do not receive a response or some other answer,...
Sunday, October 12, 2014
0 comments
undefined
undefined
Md. Mahidul HasanERROR 1051 (42S02): Unknown table corrupttablename
MYSQL ERROR 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~]#...
Subscribe to:
Posts (Atom)