Dorothy
Dorothy

Reputation: 2862

How to install Apache on OmniOS

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:

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

Server Info:

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

As far as I can tell, the binaries have not been installed

Upvotes: 1

Views: 479

Answers (2)

Dorothy
Dorothy

Reputation: 2862

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.

Upvotes: 1

Bhartendra Upadhyay
Bhartendra Upadhyay

Reputation: 116

This mean apache is already installed on the Linux system. To run below command which will tell the location of the system binary.

which apache2

for the configuration folder look for below directory:

/etc/apache2

Upvotes: 0

Related Questions