run sh file in solaris

hi
i have been using solaris for the first time i want to run the xampp but when i click on the sh file it doesnt let me run it it asks for associated file i dont know how to run sh file in the solaris please advice
LVL 11
mattibuttAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

fosiul01Commented:
normaly in linux

to run a ssh file you need to give the script execte permssion by

chmod +x file.sh

then

./file.sh

it shold run the script
0
omarfaridCommented:
can you elaborate more on the problem? what interface do you use? are you running graphical interface?
0
mattibuttAuthor Commented:
hi
i am running th graphic interface on vmwaRE ITS INSTALLED AS A VIRTUAL SOLARIS I ACTUALLY MANAGE TO RUN IT BUT THE PROBLEM WAS THE XAMPP I WAS TRYING TO INSTALL CAUGHT CHECKSUM ERROR NOW I REALISE THERE IS APACHE VERSION IS ALREADY INSTALLED INSIDE THE SOLARIS 10
NEED TO DO TWO MORE THINGS INSTALL PHP AND MYSQL
0
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

omarfaridCommented:
If you manage to run a terminal window then you get a shell window from which you can run commands e.g. to install s/w.
0
mattibuttAuthor Commented:
hi
i only see one terminal is there another command line interface in the solaris or its only this i have enabled apache its working fine i need to install php and mysql now any idea how to install php on solaris?
0
omarfaridCommented:
please see link below for available precompiled s/w for solaris 10 x86 :

http://sunfreeware.com/indexintel10.html

for php:

http://sunfreeware.com/indexintel10.html

please instructions for installation of other prerequisites s/w
 
download

ftp://ftp.sunfreeware.com/pub/freeware/intel/10/php-5.2.9-sol10-x86-local.gz

run

gunzip php-5.2.9-sol10-x86-local.gz

pkgadd -d php-5.2.9-sol10-x86-local

for mysql

http://sunfreeware.com/indexintel10.html

ftp://ftp.sunfreeware.com/pub/freeware/intel/10/mysql-5.0.67-sol10-x86-local.gz

gunzip mysql-5.0.67-sol10-x86-local.gz

pkgadd -d mysql-5.0.67-sol10-x86-local
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mattibuttAuthor Commented:
hi buddy
i ran the php command it has installed but it doesnt seem to be working when i tested it i dont understand how to access apache configuration file in solaris the http.conf file where is that?
0
omarfaridCommented:
Sorry, but I am not familiar with apache, but you can try with

find / -name http.conf

0
mattibuttAuthor Commented:
i found the file but i guess i have to find a way t configure it
0
mattibuttAuthor Commented:
thanks buddy
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Shell Scripting

From novice to tech pro — start learning today.