Skip to content

Install on opensuse

mattpascoe edited this page Aug 30, 2013 · 1 revision

Simple install notes.. Let's flesh this out in more detail

Here is how to install OpenNetAdmin on an OpenSUSE or SUSE box. This example is based on OpenSUSE 12.1 box. This configuration is not intended to be fully secure or appropriate for running a production install. It is simply to get an initial system running. Please read and understand how to configure your system securely in at least the OS, Apache, and Mysql layers.

  • zypper install php5-mysql php5-mbstring php5-gmp apache2-mod_php5 apache2 mysql-community-server
  • Configure and start apache and mysql servers as desired
  • vi /etc/apache2/default-server.conf and adjust the Options None section to be Options All

<Directory "/srv/www/htdocs"> ... Options All ...

  • Download the latest tar archive from http://github.com/opennetadmin/ona/archive/ona-current.tar.gz
  • Create the directory where ONA will live. I would suggest using mkdir /opt/ona but any other location would work as well.
  • Issue the command tar --strip-components=1 -C /opt/ona -zxvf ona-current.tar.gz to extract the archive into the ``/opt/ona directory. You can leave off, or change, the "-C /opt" part if you wish to extract it elsewhere.
  • Add a symlink in your web server root that points ona -> /opt/ona/www. An example would be: ln -s /opt/ona/www /srv/www/htdocs/ona assuming your apache root is /var/www. An alternative to a symlink could be to add something like the following to your apache configuration:
Alias /ona "/opt/ona/www/"
<Directory "/opt/ona/www/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride All
    Order allow,deny
    allow from all
</Directory>
  • .... follow the remaining steps from the main install page.....