How to search text in Ubuntu Linux
1- Install ack-grep by typing
#sudo apt-get install ack-grep
2- Change to the directory where you want to search
# ack-grep yourtext
it will show all files containing text yourtext
How to search text in Ubuntu Linux
1- Install ack-grep by typing
#sudo apt-get install ack-grep
2- Change to the directory where you want to search
# ack-grep yourtext
it will show all files containing text yourtext
Cisco 7960 SIP Phone Time India Time Setting
My Phone was showing One hour ahead in IST time . I configured below setting in SIPDefault.cnf.
It was showing one hour ahead due to dst_auto_adjust: was enabled. I just disabled its worked fine.
How to record linux ssh terminal output and replay it for all users
we can get it done using script command .you can save all the session from all users login in to your server and there activity. this will help you to troubleshoot the issues .
1- edit the profile file ( /etc/profile )and insert the below code.
……………………………………………………
if [ "x$SESSION_RECORD" = "x" ]
then
timestamp=$(date +%d-%m-%Y-%T)
session_log=/var/log/session/session.$USER.$$.$timestamp
SESSION_RECORD=started
export SESSION_RECORD
script -t -f -q 2>${session_log}.timing $session_log
exit
fi
……………………………………………………
2- create a directory to record session
How to install OpenVPN server on Centos 7
1- Install Centos 7 64 bit minimal install
2- Update the Centos 7
# yum update -y
3- Install EPEL repositories
cd /tmp wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm ls *.rpm
yum install epel-release-latest-7.noarch.rpm
Continue reading
How to install BigBlueButton web conference server.
The minimum requirements for a BigBlueButton server are
How to install Cisco Configuration Professional on windows 10 64 Bit
Cisco Configuration Professional required Java to run and and security setting in Java .
1- Download and install Java updated version.
2- Allow Cisco Configuration Professional in Java Security setting.
How to install ISSABEL PBX by USB flash drive
1- Download ISSABEL ISO from https://www.issabel.org/latest-iso
2- Download RUFS utility https://rufus.ie/
3- Convert ISO to USB and choose Write in DD Inamge mode
How to configure GoIP GSM SIP VOIP Gateway with ISSABEL PBX
1- Login in to GoIP
GoIP default IP address is 192.168.8.1 default user name is admin password is admin .
Step 1- Create trunk in the ISSABEL PBX to configure GoIP
If you are trying to access mikrotik router through winbox and you are confirm your admin password is wright and its not getting you login through winbox. You tried to login through Router console locally and you are able to login. but through winbox you are getting below error.
its giving Error : wrong username or password

So This is because your router has been compromised and the hacker has denied all logins from any IP address except his IP address . like below image.

Now you will have to remove there IP address to access through winbox.
1- Login in to your Mikrotik router console
2- go to under user /user >edit admin address and press Enter
3- Now delete all the IP address
4- Now press Ctrl + O
5- Now try to access through winbox
you should be able to login.
Backup and Restore your Centos 7
Some time you want to take backup of your server including application and settings .below are the easy method a small example
1- The first step is to create a location to store the backup. For this article we’re going to store the backup on the same hard drive as the installed operating system
2-Make a backup directory where you will keep backup file.
mkdir /backup
3- Now we will create a compressed version of the Operating System in one single file (tarball) using the tar command.
tar cvpzf /backup/backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backups --exclude=/dev --exclude=/sys --exclude=/boot/grub --exclude=/boot/grub2 --exclude=/etc/fstab --exclude=/etc/sysconfig/network-scripts/ --exclude=/etc/udev/rules.d/70-persistent-net.rules /
Now transfer your backup.tgz file to new server .In order to restore your server from the previously created tarball the server must have the same Operating System version loaded on it.
To Restore your backup use the following.
tar xvpfz /backups/backup.tgz -C /