Add Multipath and connect to XFS system Rumi, October 30, 2018 Device Mapper Multipathing (DM-Multipath) is a native multipathing in Linux, Device Mapper Multipathing (DM-Multipath) can be used for Redundancy and to Improve the Performance. It aggregates or combines the multiple I/O paths between Servers and Storage, so it creates a single device at the OS Level. For example, Lets say… Continue Reading
Ubuntu repo upgrade from an old unsupported release Rumi, October 23, 2018 If you want to continue using an outdated release then edit /etc/apt/sources.list and change archive.ubuntu.com and security.ubuntu.com to old-releases.ubuntu.com. You can do this with sed: sudo sed -i -re ‘s/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g’ /etc/apt/sources.list then update with: sudo apt-get update && sudo apt-get dist-upgrade Sometimes, it might be faster to create backups of… Continue Reading
Stateful Load Balancer with iptables and NAT Rumi, October 2, 2018October 2, 2018 Allow IP forwarding (Note: if your testing this on the same box your doing this on it won’t work, you need at least 3 machines to test this out, virtual ones work nicely) First we enable ipv4 forwarding or this will not work: # echo “1” > /proc/sys/net/ipv4/ip_forward XOR #… Continue Reading
Assign range of IP addresses to an interface Rumi, October 2, 2018 For example, you need to assign the IP range 192.168.10.6 – 192.168.10.100 to your eth0 interface. Create a range file in /etc/sysconfig/network-scripts/ifcfg-eth0-range0 as below DEVICE=eth0 BOOTPROTO=static IPADDR_START=192.168.10.6 IPADDR_END=192.168.10.100 NETMASK=255.255.255.0 CLONENUM_START=1 ONBOOT=yes TYPE=Ethernet CLONENUM_START is the number that will be assigned to the first IP alias interface (eth0:1 in this example)…. Continue Reading
Install CakePHP 3 On Ubuntu 16.04 Rumi, September 30, 2018September 30, 2018 This guide assumes you’ve set up a Ubuntu 14.04 server and have MYSQL up and running. This guide uses the “PHPMyAdmin” from the “One Click Apps” available on Digital Ocean running on a vps running Ubuntu 16.04. The smallest memory (512mb) should be enough to get you up and running…. Continue Reading
Converting OVA for use with KVM / QCOW2 Rumi, September 21, 2018February 18, 2019 The OVA file is nothing more than a TAR archive, containing the .OVF and .VMDK files. Easy! Using Evergreen ILS for example: ~ $ file Evergreen_trunk_Squeeze.ova Evergreen_trunk_Squeeze.ova: POSIX tar archive (GNU). I’ts possible to use the tar command to list the contents ~ $ tar -tf Evergreen_trunk_Squeeze.ova Evergreen_trunk_Squeeze.ovf Evergreen_trunk_Squeeze-disk1.vmdk Simply… Continue Reading
Installing Smokeping on Ubuntu 14.04 LTS Rumi, September 21, 2018 Installing Smokeping on Ubuntu used to be a total breeze. Since 14.04 however, it’s been a bit of a mission. This guide assumes a fresh out of the box Ubuntu install. I’m using the 64bit Server variety, but this should work on any 14.04 system. UPDATE – It also works… Continue Reading
Install Rocket Chat on Centos 7with Jitsi Video Conferencing Rumi, September 21, 2018 Add the epel repository and update everything. yum -y install epel-release nano && yum -y update Populate the yum repo with the mongodb-org repository nano /etc/yum.repos.d/mongodb-org.repo Paste this into the new file: [mongodb-org] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.6/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-3.6.asc To write and save do: CTRL-O, CTRL-X Now we need to… Continue Reading
Reset CentOS Root Lost or Forgotten Password Rumi, September 21, 2018 In the event your Linux box experiences disk or file system issues you may receive a “Give root password for maintenance” prompt upon reboot. If you have your root password you can login but in the event your using ‘slide’ or ‘sudo’ for wheel access or you’ve just mis-placed your… Continue Reading
Install Cacti 1.1 on CentOS 7 Rumi, September 2, 2018 Cacti is a free and open source network monitoring and graphing tool written in PHP. With the help of RRDtool (Round-Robin database tool), Cacti can be used to provide various useful features, including remote and local data collectors, graph templating, network discovery, device management automation, etc. Prerequisites A fresh CentOS… Continue Reading