Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My Proftpd is working smoothly now , thanks for all supports.
Next, I will try to install new webapps server. I can make Apache run. Now, I want to install Php and MySQL in order to I can install web forum on to my Sun box.
I installed php normally (just: ./configure --> make --> make install). However, after install, I don't see the lib files of php. I think that I need to put some parameters when I configure and install php (i didn't). Now, can I make clean and reconfigure it again? There's any suggestions?
Ah, should do I install MySql first, then install php later?
I see the pkg-get download a lot of things and install them, while the process is running, i select "n" when they ask me to install apache (apache has been install already). After i chose "n", the installation stop immediately.
I don't know what has been installed or not to my system. How can I check them?
When I look at the /opt/csw, there have so many directories of installed packages, i guess. Can I remove some of them?
After i tried pkg-get -i mod_php5 again and approved to install apache, the installation finished successfully. However, there're 2 instances of apache, one in /usr/apache and one is /opt/csw/apache (this is active now). I wanna remove new apache instance. How do I do?
It looks so complicated, sothat i wanna remove the new one. Only one is easier to maintain, to trouble shooting and make the system clear when we look into.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
What is looking complicated ?
csw packages are living in their own environment, and do not interfere with remaining packages that would already be present.
You have installed PHP and apache built and configurated to work together, that would made no sense to remove the working apache and try to have the csw PHP working with the Solaris apache ...
as you said, I should leave csw apache package and reconfigure it as I did with Solaris apache. At this time, Solaris's apache isn't used, can I remove it?
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
You certainly can remove Solaris apache, either just by disabling it (remove /etc/rc3.d/S50apache) or by removing all the apache/tomcat packages:
pkgrm SUNWapchr SUNWapchu SUNWapchd SUNWtcatu SUNWtcatr
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.