Install/iRedAdmin-Pro/MySQL/FreeBSD
From iRedMail
(Difference between revisions)
(→Install necessary packages) |
(→Install necessary packages) |
||
| Line 16: | Line 16: | ||
Install several devel binary packages, used for building python modules. | Install several devel binary packages, used for building python modules. | ||
| - | {{cmd|<pre> | + | {{cmd|<pre> |
# bash | # bash | ||
# for p in www/mod_wsgi www/webpy databases/py-dbutils devel/py-Jinja2 databases/py-MySQLdb net/py-ldap2 net/py-netifaces; do cd /usr/ports/${i} && make install clean; done | # for p in www/mod_wsgi www/webpy databases/py-dbutils devel/py-Jinja2 databases/py-MySQLdb net/py-ldap2 net/py-netifaces; do cd /usr/ports/${i} && make install clean; done | ||
Revision as of 03:01, 29 January 2011
Contents |
System requirements
- Apache, 2.2+. Web server. Already shipped within RHEL/CentOS 5.x.
- mod_wsgi 2.1+. Apache module used to host Python application which supports the Python WSGI interface.
- Python 2.4+, core programming language. Already shipped within RHEL/CentOS 5.x. Warning: Python 3.x is not supported yet.
- Web.py, 0.32+. A python-powered web framework.
- MySQLdb. A thread-compatible interface to the popular MySQL database server that provides the Python database API.
Add new system account: iredadmin
We will make iRedAdmin run with Apache web server, but as non-apache, low privilege user: iredadmin.
| Terminal: |
# pw useradd -s /sbin/nologin -d /home/iredadmin -n iredadmin |
Install necessary packages
Install several devel binary packages, used for building python modules.
| Terminal: |
# bash
# for p in www/mod_wsgi www/webpy databases/py-dbutils devel/py-Jinja2 databases/py-MySQLdb net/py-ldap2 net/py-netifaces; do cd /usr/ports/${i} && make install clean; done
|
