Install sysadmin on Amazon Linux?

Hello all,
trying to install sysadmin on my freepbx system that runs on Amazon EC2:

~  sudo yum install sysadmin
Loaded plugins: priorities, update-motd, upgrade-helper
No package sysadmin available.
Error: Nothing to do
~  cat /etc/os-release
NAME="Amazon Linux AMI"
VERSION="2015.09"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2015.09"
PRETTY_NAME="Amazon Linux AMI 2015.09"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2015.09:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"

Does anyone know how to install sysadmin on this platform?

Thanks

See the wiki http://wiki.freepbx.org/display/FPG/Installation+on+CentOS+and+RHEL+based+systems

Thanks for the speedy response - when I try to add the schmooze commercial repo I get this error:

[[email protected] tftpboot]# wget -P /etc/yum.repos.d/ -N http://yum.schmoozecom.net/schmooze-commercial/schmooze-commercial.repo

--2015-11-05 20:41:20--  http://yum.schmoozecom.net/schmooze-commercial/schmooze-commercial.repo
Resolving yum.schmoozecom.net (yum.schmoozecom.net)... 162.253.134.138, 199.102.239.168
Connecting to yum.schmoozecom.net (yum.schmoozecom.net)|162.253.134.138|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 287 [text/plain]
Saving to: ‘/etc/yum.repos.d/schmooze-commercial.repo’

schmooze-commercial.repo                                               100%[=============================================================================================================================================================================>]     287  --.-KB/s   in 0s

2015-11-05 20:41:21 (60.3 MB/s) - ‘/etc/yum.repos.d/schmooze-commercial.repo’ saved [287/287]

All good so far - the repo file is in my /etc/yum.repos.d directory

[[email protected] tftpboot]# yum clean all
Loaded plugins: priorities, update-motd, upgrade-helper
Cleaning repos: MongoDB amzn-main amzn-updates schmooze-commercial
Cleaning up everything

Still looking good… however:

[[email protected] tftpboot]# yum -y install php-5.3-zend-guard-loader sysadmin fail2ban incron ImageMagick
Loaded plugins: priorities, update-motd, upgrade-helper
MongoDB                                                                                                                                                                                                                                                             |  951 B     00:00
MongoDB/primary                                                                                                                                                                                                                                                     |  44 kB     00:00
MongoDB                                                                                                                                                                                                                                                                            274/274
amzn-main/latest                                                                                                                                                                                                                                                    | 2.1 kB     00:00
amzn-main/latest/group                                                                                                                                                                                                                                              |  35 kB     00:00
amzn-main/latest/primary_db                                                                                                                                                                                                                                         | 3.4 MB     00:00
amzn-updates/latest                                                                                                                                                                                                                                                 | 2.3 kB     00:00
amzn-updates/latest/group                                                                                                                                                                                                                                           |  35 kB     00:00
amzn-updates/latest/updateinfo                                                                                                                                                                                                                                      | 266 kB     00:00
amzn-updates/latest/primary_db                                                                                                                                                                                                                                      | 174 kB     00:00


 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Disable the repository, so yum won't use it by default. Yum will then
        just ignore the repository until you permanently enable it again or use
        --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>

     4. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: schmooze-commercial/latest/x86_64

I don’t know how to proceed… Thanks

I’m not sure what releasever that AMI is. You could probably just try setting it to be 6.6, rather than $release

[schmooze-commercial]
name=schmooze-commercial
mirrorlist= http://mirrorlist.schmoozecom.net/?release=6.6&arch=$basearch&repo=schmooze-commercial
#baseurl=http://yum.schmoozecom.net/schmooze-commercial/$release/$basearch/
gpgcheck=0
enabled=1
1 Like

Rob
that did the trick - thanks!

1 Like