Solaris X86 64 Bit

I have a new assignment last week which need to migrate company groupware from LAMP (Linux, Apache, Mysql, PHP) to SAMP (Solaris 10, Apache, Mysql, PHP) platform. Hereby is the step by step guide to install and configure Apache, Mysql and PHP on Sun Solaris 10. This guideline is not my original work; I had added some extra steps for the issue I faced while using this guideline. Pre Installatioin Requirement (Entry Criteria) • Solaris 10 successful installed. • Apache and Mysql is installed, they come with the Solaris 10 installation disk. Free Download Program Elementi Di Ecologia Smith Pdf Printer. Step 1 – Configure and Test Start Apache2 • Apache 2.xx is included with Solaris 10.

When you install Solaris 10 on DVD SPARC also install mysql, Apache, php? What are the commands that I use to see versions of mysql, Apache, php on Solaris 10? Installing Perl & Apache on Solaris 10 One of the first things you will want to setup on your new Solaris/OpenSolaris operating system is a web server, even though Solaris now comes with Perl and Apache installed by default, it is still worth installing your own version.

A few configuration details need to be addressed prior to starting Apache 2.xx: • • Login as root • Copy the file, /etc/apache2/httpd.conf-example to /etc/apache2/httpd.conf. # svcadm enable apache2 • That is all it takes to to start the basic Apache 2 web server bundled with Solaris 10.

In fact, the Apache 2 web service should persist through server and/or zone boots. The actual web pages are located in the /var/apache2/htdocs directory by default. Steps 2 – Configure and Start MySQL • To start using the mysql bundled with Solaris 10, a number of post-install procedures need to be made by root. • This configuration has been successfully tested in a SPARCE Root Local Zone.

• The following steps are derived from the mysql manual (manual.ps, manual.txt or manual_toc.html) found in the /usr/sfw/src/mysql/Docs directory. • Log in as root and initialise the database tables.

#./mysqlshow -p Enter password: new-password +-----------+ Databases +-----------+ mysql test +-----------+ #./mysql -u root -p Enter password: new-password Welcome to the MySQL monitor. Commands end with; or g.

Your MySQL connection id is 3 to server version: 4.0.20-standard Type 'help;' or ' h' for help. Type ' c' to clear the buffer. Mysql>show databases; +-----------+ Databases +-----------+ mysql test +-----------+ 2 rows in set (0.00 sec) mysql>quit; • Optionally perform the following steps for automatic start and stop of mysql daemon at boot and shutdown: Link boot time start up script from rc3.d and rc[012S].d. # pkg-get -i autoconf. # which autoconf && autoconf --version head -2 /opt/csw/bin/autoconf autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille.

# pkg-get -i automake. # which automake && automake --version head -2 /opt/csw/bin/automake automake (GNU automake) 1.8.3 Written by Tom Tromey.

# pkg-get -i gsed. # which gsed && gsed --version head -2 /opt/csw/bin/gsed GNU sed version 4.1.4 Copyright (C) 2003 Free Software Foundation, Inc. Drivers Para Hp Laserjet P10006.

# pkg-get -i c url. # which c url && c url --version head -2 /opt/csw/bin/c url c url 7.15.5 (sparc-sun-solaris2. Libcurl/7.15.5 OpenSSL/0.9.8d zlib/1.2.3 libidn/0.5.19 Protocols: tftp ftp telnet dict ldap http file https ftps • Verify availability of other Open Source Software Required to install PHP.

Refer from http://www.php.net/manual/en/install.unix.solaris.php. # which gc c && gc c --version head -2 /usr/sfw/bin/gc c gc c (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath) Copyright (C) 2004 Free Software Foundation, Inc. # which gm ake && gm ake --version head -2 /usr/sfw/bin/gm ake GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. # which fl ex && fl ex --version head -2 /usr/sfw/bin/fl ex fl ex version 2.5.4 # which b ison && b ison --version head -2 /usr/sfw/bin/b ison b ison (GNU Bison) 1.875 Written by Robert Corbett and Richard Stallman. # which g m4 && g m4 --version head -2 /opt/csw/bin/g m4 GNU M4 1.4.3 Written by Rene' Seindal.

# which p erl && p erl -v head -2 /opt/csw/bin/p erl This is p erl, v5.8.7 built for sun4-solaris-thread-multi # which gunz ip && gunz ip -V head -2 /usr/bin/gunz ip gunz ip 1.3.3-patch.1 (2002-03-08) # which gt ar && gt ar --version head -2 /usr/sfw/bin/gt ar tar (GNU tar) 1.14 Copyright (C) 2004 Free Software Foundation, Inc. • Test the Open Source tools by builing libxml2 from source. Download the latest version from: xmlsoft.org [ftp://xmlsoft.org/]. # pwd /build # gunzip -cd php-5.1.2.tar.gz g tar xvpf. # cd php-5.1.2 #./confi gure --with-apxs2=/usr/apache2/bin/apxs --with-mysql=/usr/sfw --enable-dbase --with-libxml-dir=/usr/local --with-config-file-path=/etc/apache2.