-
Notifications
You must be signed in to change notification settings - Fork 11
Installation
- Install and configure MariaDB and memcached and their development libraries.
- Ubuntu16-x86_64bit
sudo apt-get install mariadb-server libmariadb-client-lgpl-dev libmariadbclient-dev memcached libmemcached-dev
- CentOS8-x86_64bit
dnf install @mariadb
systemctl enable --now mariadb
mysql_secure_installation
dnf --enablerepo=powertools install libmemcached-devel
yum install mariadb-connector-c-devel.x86_64
- Ubuntu16-x86_64bit
Download install package from http://uplusware.net/.
Run tar -xzf erisemail_***.gz
Run cd erisemail_filename
Edit the file of erisemail-utf8.conf. set domain, database and others.
- install erisemail:
sudo ./install.sh
sudo eriseutil --install
Start or Stop the service - Run
/etc/init.d/erisemail start
- Run
/etc/init.d/erisemail stop
-
sudo apt-get install gcc g++ make openjdk-8-jdk unzip
-
Enter the directory the source code of erisemail
-
Download and build libtasn1
- Download libasn1 from https://www.gnu.org/software/libtasn1/
- Extract and rename or
ln -s
it tolibtasn1
,the default path is '${ERISEMAIL_SOURCE}/libtasn1'. cd libtasn1
./configure --enable-shared=no
make
sudo make install
-
Download and build libmemcached
- Download libmemcached, such as https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz
tar zxvf libmemcached-1.0.18.tar.gz
./configure && make && sudo make install
-
Download and build OpenSSL
- Download openssl from https://www.openssl.org/source/ into the erisemail source code tree.
- eg.:
wget https://www.openssl.org/source/openssl-1.0.2j.tar.gz
- eg.:
- Extract and rename or
ln -s
it toopenssl
,the default path is '${ERISEMAIL_SOURCE}/openssl'. cd openssl
./config
make
make test
make install
- Download openssl from https://www.openssl.org/source/ into the erisemail source code tree.
-
Download and install Hadoop(If want to support HDFS feature)
- Download Hadoop http://hadoop.apache.org/releases.html if want HDFS based, the default path is '{ERISEMAIL_SOURCE}/Hadoop'.
cd src/
-
vim Makefile
edit the dir of OPENSSL_DIR, HADOOP_DIR, LIBJVM_DIR and mariadb in the Makefile to your own set.
eg. LIBJVM_DIR= /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/
-I/usr/include/mariadb/
-
Build erisemail
make
-
make LDAP
if want to support LDAP -
make HDFS=1
if want HDFS based. -
make DIST=1
if want clusting
-
cd ../script
-
edit the file of erisemail-utf8.conf. set domain, database.
vim erisemail-utf8.conf
cd ../
-
Run
bash build_release_install.sh
in installation package -
Run
/usr/bin/eriseutil --install
start or stop erisemail: -
Run
/etc/init.d/erisemail start
-
Run
/etc/init.d/erisemail stop
-
Please refer Online Manual in the installation package
-
edit hostname to your mail domain.
vim /etc/hostname
or#hostname mail_domain
can resolve the error 'Helo command rejected: need fully-qualified hostname';