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
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 /
VOS3000 2.1.4.0 does not support latest Kernel Versions. you have to downgrade Kernel
mkdir download
cd download/
wget http://vault.centos.org/6.4/os/x86_64/Packages/kernel-2.6.32-358.el6.x86_64.rpm
yum list kernel-2.6.32-358*
yum install kernel-2.6.32-358.el6.x86_64.rpm
ls
vi /boot/grub/menu.lst
reboot
Login to your server
To STOP Apache Tomcat Server
# /home/kunshiweb/base/apache-tomcat/bin/shutdown.sh
To START Apache Tomcat server
#/home/kunshiweb/base/apache-tomcat/bin/startup.sh
Update of packages using default repositories (base, update etc.) is no longer applicable.You should switch boxes, run on CentOS 5.x., to so called Vault repositories.
1- Disable base, updates and other enabled repositories (where enabled=1 is set) in the CentOS-Base.repo:
sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/CentOS-Base.repo
create a new repo file and enter the following lines
vim /etc/yum.repos.d/CentOS-Vault.repo
[c5.11-base]
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
gpgcheck=1
name=CentOS-5.11 - Base
baseurl=http://vault.centos.org/5.11/os/$basearch/
exclude=ruby* libyaml* corosync* corosynclib* pacemaker*
enabled=1
[c5.11-updates]
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
gpgcheck=1
name=CentOS-5.11 - Updates
baseurl=http://vault.centos.org/5.11/updates/$basearch/
exclude=ruby* libyaml* corosync* corosynclib* pacemaker*
enabled=1
original link :- https://docs.onapp.com/misc/eol-centos-5-x
How to Install VMware Tools on CentOS 7
# yum install -y open-vm-tools
check file is exist
# ls /usr/bin/vmtoolsd
Now reboot the server
How to check directory size in Linux
DU command uses for disk uses you can use du command to check directory size. for example you want to check directory size of a folder "database" use -h for size in MB GB etc # du -h ./database/ 17G ./database/
How to update Centos 5 .X and cannot find a valid baseurl for repo
If you are using CentOS 5.x and want to install any software and update CentOS 5.x . you are getting following error .
root@server1 [~]# yum update -y
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
This is because update repositories were moved to the CentOS vault when the operating reached it's end-of-life.
Edit the following file
vos3000 illegal calls query to block IP address
All call records are saved in e_cdr_files
you can query to get ip addresses of illegal calls source.
mysql> select DISTINCT callerip from e_cdr_20180818 where endreason = ‘-9’;
+—————-+
| callerip |
+—————-+
| 195.154.93.229 |
| 50.2.187.130 |
| 5.62.63.181 |
| 216.244.84.202 |
| 37.49.231.161 |
| 88.198.57.146 |
| 37.49.231.63 |
| 50.22.52.22 |
| 93.190.143.70 |
| 216.244.73.98 |
+—————-+
10 rows in set (0.00 sec)
if someone can write a script to get IP address from current date CDR for every 5 min and update the iptables automatically.