SAP Crystal Report pending restart

If the installation/upgrade of Crystal Report is giving you “A reboot request is suppressed on the local machine.” despite reboots you have to clean a registry entry:
\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\
Delete the content of the PendingFileRenameOperations entry and launch the setup again.

FreeBSD 11.2 install Clamav with Postfix and Dovecot

Install clamav and clamsmtpd from ports
cd /usr/ports/security/clamav/
make install clean
cd /usr/ports/security/clamsmtpd/
make install clean

Add those lines to /etc/rc.conf:
clamav_clamd_enable="YES"
clamsmtpd_enable="YES"

Start the first sync of virus definitions:
root@hazard:/usr/ports/security/clamav # freshclam
ClamAV update process started at Sun Sep 2 15:58:02 2018
Downloading main.cvd [100%]
main.cvd updated (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
Downloading daily.cvd [100%]
daily.cvd updated (version: 24895, sigs: 2072257, f-level: 63, builder: neo)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 327, sigs: 91, f-level: 63, builder: neo)
Database updated (6638597 signatures) from database.clamav.net (IP: 104.16.189.138)

Continue reading “FreeBSD 11.2 install Clamav with Postfix and Dovecot”

Install Zabbix 3.4 server on CentOS 7

Let’s install the dependencies first:
yum install mariadb-server mariadb-embedded mariadb-devel httpd php php-gd php-bcmath php-ctype php-xml php-xmlreader php-xmlwriter php-session php-mbstring php-ldap php-gettext php-mysqli pcre pcre-devel libevent libevent-devel libssh2 libcurl libcurl-devel net-snmp-devel net-snmp-agent net-snmp-libs libxml2 libxml2-devel

Edit /etc/php.ini file and change this variables to:
max_execution_time = 600
max_input_time = 600
memory_limit = 256M
post_max_size = 32M
upload_max_filesize = 16M
date.timezone = Europe/Rome

Continue reading “Install Zabbix 3.4 server on CentOS 7”

CentOS set static IP address

To set a static IP address in CentOS edit the file
/etc/sysconfig/network-scripts/ifcfg-$networkcard
Where $networkcard is the name of the interface that you want to setup.
The default is dhcp so you have to change like this, for example:
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=static
IPADDR=192.168.8.3
NETMASK=255.255.255.0
GATEWAY=192.168.8.9
DNS1=192.168.8.203
DNS2=192.168.8.213
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
NAME=eth0
UUID=aabb3fe2-4eea-4096-9dbb-a674e196a821
DEVICE=enp1s0
ONBOOT=yes