Run the following query as root:
SELECT table_schema AS "Database", SUM(data_length + index_length) / 1024 / 1024 AS "Size (MB)" FROM information_schema.TABLES GROUP BY table_schema
Category: BSD
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”
Webmin LDAP error
To resolve this error in the LDAP Users and Groups session:
Can't locate Net/LDAP.pm in @INC (you may need to install the Net::LDAP module) (@INC contains: /usr/local/lib/webmin /usr/local/lib/perl5/site_perl/mach/5.26 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.26/mach /usr/local/lib/perl5/5.26 /usr/local/lib/webmin/ . ..) at (eval 147) line 1.
BEGIN failed--compilation aborted at (eval 147) line 1.
Install ldap perl module:
pkg install p5-perl-ldap
Rainloop reset admin password
Edit the file
data/_data_/_default_/configs/application.ini
inside the rainloop directory.
Set the password to “12345”
; Login and password for web admin panel
admin_login = "admin005"
admin_password = "12345"
Reach your rainloop web page adding
?admin
at the end of the url
When you’re in, change the password to the desired one.
FreeBSD / Linux – How to know what shell you are using
How to know what shell you are using under FreeBSD or Linux
ps -p $$
or
echo $SHELL;