CalmAV on CentOS 7

yum -y update yum -y install epel-release yum clean all yum -y install clamav-server clamav-data clamav-update clamav-filesystem clamav clamav-scanner-systemd clamav-devel clamav-lib clamav-server-systemd setsebool -P antivirus_can_scan_system 1 setsebool -P clamd_use_jit 1 getsebool -a | grep antivirus antivirus_can_scan_system –> on antivirus_use_jit –> off sed -i -e “s/^Example/#Example/” /etc/clamd.d/scan.conf vim /etc/clamd.d/scan.conf #LocalSocket /var/run/clamd.scan/clamd.sock LocalSocket /var/run/clamd.scan/clamd.sock sed -i -e […]

Install Zimbra Mail Server

# yum update -y ; reboot # hostnamectl set-hostname “mail.catatanku.com” # exec bash # vim /etc/hosts 192.168.10.10 mail.catatanku.web.id mail cek domain # dig -t A mail.catatanku.web.id. # dig -t MX catatanku.web.id install zimbra / ZCS dependencies # yum install unzip net-tools sysstat openssh-clients perl-core libaio nmap-ncat libstdc++.so.6 wget -y membuat folder zimbra di root # […]

webmin error ssl

Ketika Webmin beres di install terkadang ada masalah di sll nya pada web browser memasukan “http://IP ADDRESS:10000” akan keluar error seperti ““The Web Server is running in SSL mode. Try the URL https://domain.com:10000” langkahnya SSL nya di disable dengan cara: Masuk ke Linuxnya dan masuk ke directory webmin # cd /etc/webmin Lalu open file miniserv.conf […]

Upgrade Maria DB to 10.1 CentOS

Backup All MariaDB Databases # mysqldump -u root -ppassword –all-databases > /tmp/all-database.sql # systemctl stop mysql # cp -a /var/lib/mysql/ /var/lib/mysql.bak # vim /etc/yum.repos.d/MariaDB10.repo DI isi dengan : # MariaDB 10.1 CentOS repository list – created 2016-01-18 09:58 UTC # http://mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 Keluar vim : (Keluar dan […]

Webmin + virtualmin

# yum install wget # wget http://prdownloads.sourceforge.net/webadmin/webmin-1.791-1.noarch.rpm # yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty # wget http://software.virtualmin.com/gpl/scripts/install.sh # rpm -U webmin-1.791-1.noarch.rpm # chmod +x install.sh # ./install.sh masukan domain yang akan di daftarkan Setelah selesai install Masuk web browser  192.168.12.20:10000 Masuk ke Webmin > system settings > re-check configuration

Setting IP di CentOS

Cek iP terlebih dahulu # Ifconfig Tampilan yang belum mempunyai IP Masuk dengan menggunakan perintah # vim /etc/sysconfig/network-scripts/ifcfg-eno16777984 Tambahkan baris : TYPE=Ethernet BOOTPROTO=none ONBOOT=yes IPADDR=192.168.12.20 GATEWAY=192.168.12.254 DNS1=192.168.12.254 Keluar vim : (Keluar dan tidak di save) esc:q! (keluar dan save) esc:wq kemudian restart servicenya service network restart setelah itu tes ping ke ip gateway # ping […]