Install

From Dungog Wiki

Jump to: navigation, search

Software is packaged into rpms for installation with yum. You can download and install software manually, or setup yum as explained below.

Contents

Manually

Download

rpms are sorted into gpl and member repositories, you can download manually if you wish

gpl = http://contribs.org

member = dungogMember . (password required, which is sent after purchase)

Notes

  • dungog rpms generally don't require a reconfigure and reboot, (best to restart after installing or updating dansguardian)

Localinstall

You can install files locally after downloading them without setting up extra yum repositories eg.

yum localinstall smeserver-vacation-1.0-8.noarch.rpm

Repositories

We have moved some rpms around, this can result in stale data in your cache
Only if you get 404 errors on a yum update or yum install

rm /var/cache/yum/dungogMembers/*
rm /var/cache/yum/smedungog/*

dungog

The dungog gpl contribs have been moved to the smecontribs repository.

smecontribs

The smecontribs repository was added with SME 7.3,

To install or upgrade rpms append --enablerepo=smecontribs to your commands.

To use smecontribs with the server manager, enable and make visible with this command.

db yum_repositories setprop smecontribs Visible yes status enabled
signal-event yum-modify

dungogMember

Enabled

From the command line enter the following, (or copy and paste into your ssh client)

[ replace user:secret below with your username:password ]

db yum_repositories set dungogMembers repository \
 BaseURL http://user:secret@sme.dungog.net/packages/smeserver/7.0/i386/dungogMembers \
 EnableGroups yes \
 GPGCheck no \
 Name 'SME Server 7 - dungogMembers' \
 Visible yes \
 status enabled
signal-event yum-modify
Disabled

An alternative is to add the repo with status disabled

db yum_repositories set dungogMembers repository \
 BaseURL http://user:secret@sme.dungog.net/packages/smeserver/7.0/i386/dungogMembers \
 EnableGroups yes \
 GPGCheck no \
 Name 'SME Server 7 - dungogMembers' \
 Visible yes \
 status disabled

then you install or check for updates manually. eg.

yum --enablerepo=smecontribs --enablerepo=dungogMembers dungog-dansguardian
yum --enablerepo=dungogMembers list updates


Install Methods

If you are enabling the smecontribs & dungogMember repositories you can install from the /server-manager using 'Software Installer' or the contrib 'Update System'.

If you select a dungog-something rpm, yum will satisfy it's dependencies, otherwise yum will try to satisfy it's dependencies from enabled repositories

Software Installer

Enable at /server-manager > Software Installer > set 'Manage individual packages'

Then /server-manager > Software Installer > install additional software
and select the rpm to install

WARNING: most rpms here are not suitable for the server, they include all RHEL Desktop rpms
Change this to exclude these rpms

config setprop yum RestrictRepo sme,dungog
yum_update_dbs

Update System

The Update System rpm allows you to install am rpm that you have on your local filesystem using your browser

Install the smeserver-update rpm

Then /server-manager > Update System
and browse your local file system for an rpm to install,

Command Line

The command line is the most flexible way to install, update to check what is installed

read the yum manual for all the details; man yum

yum install rpmname eg

yum install smeserver-sarg

When the repositories are disabled you need to use the command line and enable them with

--enablerepo=smecontribs enablerepo=dungogMembers
Personal tools