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 $PATHresults in/opt/local/sbin:/opt/local/bin:/usr/gnu/bin:/usr/sbin:/sbincurl https://pkgsrc.joyent.com/packages/SmartOS/bootstrap/bootstrap-2016Q4-x86_64.tar.gz | gtar -zxpf - -C /pkgin -y updatepkgin -y install apache-2.4.6resulted in the messagesCalculating dependencies...doneand thennothing 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/httpdThe configuration directory for Apachesvcs pkgsrc/apacheChecking service for Apache
Server Info:
uname -vresults inomnios-r151026-d9b45886bd- Running x86
- Also running SunONE webserver
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
- Ran
which apache2resulted inno apache2 - Ran
pkgin listto list all installed packages. Only apache reference isapache-maven-3.5.4 - Ran
find . -name '*apache*'in the following directories:\etcnothing\optfound:- vim, el, and elc files in
SUNWspro org-apache-tools-ant-modulefiles and folder innetbeans/3.5V11/modules/patchesapachefolder inSUNWwbsvr/plugins/java/samples/webapps/jstl/src/orgwhich contains java files- vim, tag, el and elc files in
sfw--- also anapachefolder insfwwhich contains readme/bash type files for apache/php and one so file apache-maven-3.5.4files/folders inlocalorg-apache-xml-resolver*files insunstudio12.1
- vim, el, and elc files in
- '\usr' found:
- 2 vims in
share/vim/vim80/syntax apache-fcgi.confinlib/python2.7/vendor-packages/cherrypy/scaffold
- 2 vims in
- '\var' nothing
As far as I can tell, the binaries have not been installed
I tried running
pkgin -y install apache-2and it worked. It installedapache-2.4.3. Perhapsapache-2.4.6does not exist in the repository.