Install python-requests for mlmmj + mlmmjadmin integration.

Fix incorrect apt repo file name.
This commit is contained in:
Zhang Huangbin 2018-04-11 11:35:47 +02:00
parent 3e9ccef50d
commit 1cf360c4cc
8 changed files with 34 additions and 22 deletions

View File

@ -51,13 +51,13 @@ a good idea to backup it now before you adding any new mailing lists.
iRedMail by default. So we can install it directly:
```
yum install mlmmj uwsgi uwsgi-plugin-python uwsgi-logger-syslog
yum install mlmmj uwsgi uwsgi-plugin-python uwsgi-logger-syslog python-requests
```
* On Debian/Ubuntu:
```
apt-get install mlmmj uwsgi uwsgi-plugin-python
apt-get install mlmmj uwsgi uwsgi-plugin-python python-requests
```
* On FreeBSD:
@ -67,6 +67,8 @@ cd /usr/ports/mail/mlmmj
make install clean
cd /usr/ports/www/uwsgi
make install clean
cd /usr/ports/www/py-requests
make install clean
```
* On OpenBSD (iRedMail always installs `uwsgi` during installation, so no need
@ -230,7 +232,7 @@ We will setup `mlmmjadmin` program to make managing mailing lists easier.
cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/1.2.tar.gz
tar zxf 1.2.tar.gz -C /opt
ln -s /opt/mlmmjadmin-1.1 /opt/mlmmjadmin
ln -s /opt/mlmmjadmin-1.2 /opt/mlmmjadmin
```
* Generate config file by copying sample file, `settings.py.sample`:

View File

@ -51,13 +51,13 @@ databases.
iRedMail by default. So we can install it directly:
```
yum install mlmmj uwsgi uwsgi-plugin-python uwsgi-logger-syslog
yum install mlmmj uwsgi uwsgi-plugin-python uwsgi-logger-syslog python-requests
```
* On Debian/Ubuntu:
```
apt-get install mlmmj uwsgi uwsgi-plugin-python
apt-get install mlmmj uwsgi uwsgi-plugin-python python-requests
```
* On FreeBSD:
@ -67,6 +67,8 @@ cd /usr/ports/mail/mlmmj
make install clean
cd /usr/ports/www/uwsgi
make install clean
cd /usr/ports/www/py-requests
make install clean
```
* On OpenBSD:
@ -256,7 +258,7 @@ We will setup `mlmmjadmin` program to make managing mailing lists easier.
cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/1.2.tar.gz
tar zxf 1.2.tar.gz -C /opt
ln -s /opt/mlmmjadmin-1.1 /opt/mlmmjadmin
ln -s /opt/mlmmjadmin-1.2 /opt/mlmmjadmin
```
* Generate config file by copying sample file, `settings.py.sample`:

View File

@ -51,13 +51,13 @@ databases.
iRedMail by default. So we can install it directly:
```
yum install mlmmj uwsgi uwsgi-plugin-python uwsgi-logger-syslog
yum install mlmmj uwsgi uwsgi-plugin-python uwsgi-logger-syslog python-requests
```
* On Debian/Ubuntu:
```
apt-get install mlmmj uwsgi uwsgi-plugin-python
apt-get install mlmmj uwsgi uwsgi-plugin-python python-requests
```
* On FreeBSD:
@ -67,6 +67,8 @@ cd /usr/ports/mail/mlmmj
make install clean
cd /usr/ports/www/uwsgi
make install clean
cd /usr/ports/www/py-requests
make install clean
```
* On OpenBSD (iRedMail always installs `uwsgi` during installation, so no need
@ -257,7 +259,7 @@ We will setup `mlmmjadmin` program to make managing mailing lists easier.
cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/1.2.tar.gz
tar zxf 1.2.tar.gz -C /opt
ln -s /opt/mlmmjadmin-1.1 /opt/mlmmjadmin
ln -s /opt/mlmmjadmin-1.2 /opt/mlmmjadmin
```
* Generate config file by copying sample file, `settings.py.sample`:

View File

@ -77,8 +77,8 @@ cp /etc/default/sogo /root/sogo-backup/default/
bash /var/vmail/backup/backup_sogo.sh
```
* Open file `/etc/apt/sources.list`, change the version number `3` to `4`, like
below:
* Open file `/etc/apt/sources.list` or `/etc/apt/sources.list.d/sogo-nightly.list`,
change the version number `3` to `4`, like below:
```
# Debian

View File

@ -76,13 +76,13 @@ a good idea to backup it now before you adding any new mailing lists.</p>
<li>On RHEL/CentOS, <code>mlmmj</code> is available in <code>EPEL</code> repo, and it's enabled in
iRedMail by default. So we can install it directly:</li>
</ul>
<pre><code>yum install mlmmj uwsgi uwsgi-plugin-python uwsgi-logger-syslog
<pre><code>yum install mlmmj uwsgi uwsgi-plugin-python uwsgi-logger-syslog python-requests
</code></pre>
<ul>
<li>On Debian/Ubuntu:</li>
</ul>
<pre><code>apt-get install mlmmj uwsgi uwsgi-plugin-python
<pre><code>apt-get install mlmmj uwsgi uwsgi-plugin-python python-requests
</code></pre>
<ul>
@ -92,6 +92,8 @@ a good idea to backup it now before you adding any new mailing lists.</p>
make install clean
cd /usr/ports/www/uwsgi
make install clean
cd /usr/ports/www/py-requests
make install clean
</code></pre>
<ul>
@ -246,7 +248,7 @@ fully integrated.</p>
<pre><code>cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/1.2.tar.gz
tar zxf 1.2.tar.gz -C /opt
ln -s /opt/mlmmjadmin-1.1 /opt/mlmmjadmin
ln -s /opt/mlmmjadmin-1.2 /opt/mlmmjadmin
</code></pre>
<ul>

View File

@ -75,13 +75,13 @@ databases.</p>
<li>On RHEL/CentOS, <code>mlmmj</code> is available in <code>EPEL</code> repo, and it's enabled in
iRedMail by default. So we can install it directly:</li>
</ul>
<pre><code>yum install mlmmj uwsgi uwsgi-plugin-python uwsgi-logger-syslog
<pre><code>yum install mlmmj uwsgi uwsgi-plugin-python uwsgi-logger-syslog python-requests
</code></pre>
<ul>
<li>On Debian/Ubuntu:</li>
</ul>
<pre><code>apt-get install mlmmj uwsgi uwsgi-plugin-python
<pre><code>apt-get install mlmmj uwsgi uwsgi-plugin-python python-requests
</code></pre>
<ul>
@ -91,6 +91,8 @@ databases.</p>
make install clean
cd /usr/ports/www/uwsgi
make install clean
cd /usr/ports/www/py-requests
make install clean
</code></pre>
<ul>
@ -272,7 +274,7 @@ fully integrated.</p>
<pre><code>cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/1.2.tar.gz
tar zxf 1.2.tar.gz -C /opt
ln -s /opt/mlmmjadmin-1.1 /opt/mlmmjadmin
ln -s /opt/mlmmjadmin-1.2 /opt/mlmmjadmin
</code></pre>
<ul>

View File

@ -75,13 +75,13 @@ databases.</p>
<li>On RHEL/CentOS, <code>mlmmj</code> is available in <code>EPEL</code> repo, and it's enabled in
iRedMail by default. So we can install it directly:</li>
</ul>
<pre><code>yum install mlmmj uwsgi uwsgi-plugin-python uwsgi-logger-syslog
<pre><code>yum install mlmmj uwsgi uwsgi-plugin-python uwsgi-logger-syslog python-requests
</code></pre>
<ul>
<li>On Debian/Ubuntu:</li>
</ul>
<pre><code>apt-get install mlmmj uwsgi uwsgi-plugin-python
<pre><code>apt-get install mlmmj uwsgi uwsgi-plugin-python python-requests
</code></pre>
<ul>
@ -91,6 +91,8 @@ databases.</p>
make install clean
cd /usr/ports/www/uwsgi
make install clean
cd /usr/ports/www/py-requests
make install clean
</code></pre>
<ul>
@ -273,7 +275,7 @@ fully integrated.</p>
<pre><code>cd /root/
wget https://github.com/iredmail/mlmmjadmin/archive/1.2.tar.gz
tar zxf 1.2.tar.gz -C /opt
ln -s /opt/mlmmjadmin-1.1 /opt/mlmmjadmin
ln -s /opt/mlmmjadmin-1.2 /opt/mlmmjadmin
</code></pre>
<ul>

View File

@ -103,8 +103,8 @@ cp /etc/default/sogo /root/sogo-backup/default/
</code></pre>
<ul>
<li>Open file <code>/etc/apt/sources.list</code>, change the version number <code>3</code> to <code>4</code>, like
below:</li>
<li>Open file <code>/etc/apt/sources.list</code> or <code>/etc/apt/sources.list.d/sogo-nightly.list</code>,
change the version number <code>3</code> to <code>4</code>, like below:</li>
</ul>
<pre><code># Debian
https://packages.inverse.ca/SOGo/nightly/4/debian ...