Set Hostname in Centos 7 Rumi, May 11, 2019 CentOS 7 only allows Fully Qualified Domain Names (FQDN’s). Acceptable values include lower-case letters a to z, numbers 0 to 9, the period, and the hyphen, and between 2 and 63 characters. At the console, type: hostnamectl set-hostname my.new-hostname.server NOTE: Replace my.new-hostname.server with your chosen hostname. Check the Hostname hostnamectl Continue Reading
SOLVED Zimbra 8.6 HTTP ERROR 404 Problem accessing /public/error.jsp. Reason: /public/error.jsp Rumi, May 10, 2019 Do a quick search under the usual jetty folders: find /opt/zimbra/jetty/ -type f -name *jsp -mtime -30 If you find files like: /opt/zimbra/jetty/webapps/zimbra/js/zimbra/csfe/XZimbra.jsp /opt/zimbra/jetty/webapps/zimbra/public/Ajax.jsp you’re actually hacked. Unlike the previous “zmcat” and “dblaunchs” that actually exploit the vuln and load some sh*t this looks like a bad childish attack. It… Continue Reading
SOLVED Debian Wheezy Letsencrypt error /opt/eff.org/certbot/venv/bin/python: No module named pip.__main__; ‘pip’ is a package and cannot be directly executed Rumi, May 10, 2019 My case and solution: Debian 7.11 wheezy python2.7 python-pip NOT installed My steps: #ln -fs /usr/lib/python2.7/plat-x86_64-linux-gnu/_sysconfigdata_nd.py /usr/lib/python2.7/ #wget https://raw.githubusercontent.com/certbot/certbot/75499277be6699fd5a9b884837546391950a3ec9/certbot-auto #chmod +x ./certbot-auto #certbot-auto renew –no-self-upgrade it download some files and works fine. Src: https://github.com/certbot/certbot/issues/6824 Continue Reading
Fixing Rainloop Can’t get message list error Rumi, April 29, 2019 For large mailbox when you have some mailbox having more than 100k mails in inbox, for those account you are getting error “Can’t get message list”. Here I got my fix, however can’t guarantee it works for you as well. My Rainloop version is 1.11.3. Following settings might help to… Continue Reading
Setup a Site to Site IPsec VPN With Strongswan and PreShared Key Authentication Rumi, March 25, 2019March 25, 2019 Today we will setup a Site to Site ipsec VPN with Strongswan, which will be configured with PreShared Key Authentication. After our tunnels are established, we will be able to reach the private ips over the vpn tunnels. Get the Dependencies: Update your repository indexes and install strongswan: $ apt… Continue Reading
Zimbra authentication without domain Rumi, March 20, 2019 In the admin interface go to Global Settings -> General Information -> Default domain and enter the name of your domain. Users in that domain can now login without the @domain part. Continue Reading
Install LAMP on Centos 7 with PHP 5.x/7.0/7.1/7.2 Rumi, March 10, 2019 In this tutorial, I use the hostname server1.example.com with the IP p 192.168.1.100. These settings might differ for you, so you have to replace them where appropriate. I will add the EPEL repo here to install latest phpMyAdmin as follows: rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY* yum -y install epel-release To edit files… Continue Reading
Endian Community (3.x)- network configuration using CLI- Netwizard Rumi, February 20, 2019 After you login in you Endian Appliance, simply issue the following command: root@endian # netwizard You will be asked a couple of questions. If the network has already been configured, the current values are shown: simply press Enter if you want to keep that value. The snippet below shows some… Continue Reading
Endian Community (2.5.1)- Change the green IP address from console Rumi, February 18, 2019 Management URL: https://192.168.0.15:10443 Green IP: 192.168.0.15/24 —————– 0) Shell 1) Reboot 2) Change Root Password 3) Change Admin Password 4) Restore Factory Defaults Choice: 0[endian]: login root’s password: Welcome to Endian Firewall Appliance release 2.5-0 (Deployset #0) [endian] root: bash Continue Reading
Install Percona XtraDB Cluster for MySQL 5.7 on Debian 8 Rumi, February 18, 2019 First of all, why we choose three nodes and not only two? In any cluster, the number of nodes should be odd, so in the case of disconnection of a node, we assume that the highest group of servers has the fresh data, and should be replicated to the down node… Continue Reading