1. installing Apache MySQL and PHP
i use bitvise tunnelier to remote my vps ( http://www.bitvise.com/tunnelier )
- login to root
- after login, enter terminal console, and type this
# pfexec pkg install SUNWapch22 SUNWapch22m-php5 SUNWapch22m-fcgid SUNWmysql5 SUNWphp524-mysql SUNWmysql-base SUNWphp524 SUNWphp524core SUNWphp524usr
those command will install AMP, and bind those componens
now activate apache and mysql :
# pkg refresh
# pfexec /usr/sbin/svcadm enable network/http:apache22
# pfexec /usr/sbin/svcadm enable database/mysql:version_50
AMP should be running now, test with your browser, directly to your vps IP
And to make sure PHP is already running to, upload a php info to http root ( ussualy it’s /var/apache2/2/.2/htdocs ) and acces it from browser, eg. http://yourIP/info.php
2. installing webmin
# cd /opt
# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.470.pkg.gz
# gunzip webmin-1.470.pkg.gz
# pkgadd -d webmin-1.470.pkg WSwebmin
after it’s complete ( no error ) u can acces webmin on h**t://yourip:10000
No comments yet.