I am attempting to install Apache on OmniOS. I followed the instructions here: option 2 https://wiki.openindiana.org/oi/3.+Installing+software+and+package+management
Ran the command:
echo $PATH
results in /opt/local/sbin:/opt/local/bin:/usr/gnu/bin:/usr/sbin:/sbin
curl https://pkgsrc.joyent.com/packages/SmartOS/bootstrap/bootstrap-2016Q4-x86_64.tar.gz | gtar -zxpf - -C /
pkgin -y update
pkgin -y install apache-2.4.6
resulted in the messages Calculating dependencies...done
and then nothing to do
I can not find the apache service or configuration directory as they are described here: https://docs.joyent.com/public-cloud/instances/infrastructure/images/smartos/apache
/opt/local/etc/httpd
The configuration directory for Apachesvcs pkgsrc/apache
Checking service for ApacheServer Info:
uname -v
results in omnios-r151026-d9b45886bd
Though incomplete, my commands did make a change. My Perl scripts can no longer find DBI.
Why does the Apache install say there is nothing to do
? What am I missing?
UPDATE
which apache2
resulted in no apache2
pkgin list
to list all installed packages. Only apache
reference is apache-maven-3.5.4
find . -name '*apache*'
in the following directories:
\etc
nothing\opt
found:
SUNWspro
org-apache-tools-ant-module
files and folder in netbeans/3.5V11/modules/patches
apache
folder in SUNWwbsvr/plugins/java/samples/webapps/jstl/src/org
which contains java filessfw
--- also an apache
folder in sfw
which contains readme/bash type files for apache/php and one so fileapache-maven-3.5.4
files/folders in local
org-apache-xml-resolver*
files in sunstudio12.1
share/vim/vim80/syntax
apache-fcgi.conf
in lib/python2.7/vendor-packages/cherrypy/scaffold
As far as I can tell, the binaries have not been installed
I tried running pkgin -y install apache-2
and it worked. It installed apache-2.4.3
. Perhaps apache-2.4.6
does not exist in the repository.