few days ago, on my solaris 10 apache integration with php, some problems have been encountered, very representative, where the relevant measures to deal with the process and record, we want to help.
with solaris 9 The difference is, solaris 10 is already installed by default GNU development tools (GCC, make, etc.). However, the default environment variables are not set into the path of the associated – see if the path is set in, as long as the implementation options and parameters without the command gcc will know – find search for files with make and gcc, then the path is written into the file/etc/profile, my system’s/etc/profile path is set as follows:
export PATH=$ PATH:/usr/ccs/bin:/usr/sfw/bin
change after the implementation of source/etc/profile on it. In view of the tar solaris 10 comes with not very convenient, to replace it with GNU tar, the process is as follows:
gunzip-d tar-1.16.tar.gztar xvf tar-1.16.tarcd tar-1.16./configure-prefix=/usr/local/gnutar//specify the directory, or it may error makemake install//to install in the directory/usr/local/gnutar the mv/usr/sbin/tar/usr/sbin/tar.orig//vi comes with the system moves to the side, to be able to recover back in case of accidents//ln-s/usr/local/gnutar/bin/tar/usr/sbin/tar
Next to install apache, the process is as follows:
cd/roottar zxvf httpd-2.2.0.tar.gzcd httpd-2.2.0 ./configure-prefix=/usr/local/apache2-enable-so makemake instal
see whether the build directory/usr/local/apache2 glance apache is installed correctly.
install php, the process is as follows:
cd/roottar zxvf php-5.2.0.tar.gzcd php-5.2.0./configure-prefix=/usr/local/php -with-apxs2 =/usr/local/apache2/bin/apxs … … …
this process can not continue normal operation, the following error message appears:
Configuring extensionschecking whether to enable LIBXML support … yeschecking libxml2 install dir … nochecking for xml2-config path …/usr/bin/xml2-configconfigure: error: libxml2 version 2.6.11 or greater required.
This indicates that the system comes with libxml2 version of the low, you need 2.6.11 or later. There are two ways to solve this problem: a re-install to upgrade the libxml2 and libxml2. Solaris running business environment, upgrading is a very risky way, We have many packages to upgrade the system programmers get random crashes precedent, it is strongly recommended as conservative as I re-install a new libxml2. As long as we specified during the installation of a source installation directory, the new libxml2 installed on the system will not produce any harm, of course, take that point of the disk space is negligible. Here is the libxml install a new step:
cd/roottar zxvf libxml2-2.6.26.tar.gz./configure-prefix=/usr/local/libxmlmakemake install
when we come back to install php
cd/root/php-5.2.0./configure-prefix=/usr/local/php5-with-apxs2=/usr/local/apache2/bin/apxs -with-libxml-dir=/usr/local/libxml//configuration is successful completion of the makemake install
final step is to configure and test In fact, only need to modify the apache configuration file httpd.conf. As in the php configuration options used in the process-with-apxs, so the file will htppd.conf insert “LoadModule php5_module modules/libphp5.so” line, first check to see whether it is automatically written by; then manually insert the line “AddType application/x-httpd-php. php. phtml”, note:. php,. phtml a space in front of their own, without the spaces will not parse php pages properly, this is a very easy to overlook the questions, please pay attention to beginners. Write a simple test file index.php, contains “
Software: solaris8 x86 (02/02) oracle8.1.7 for solarisx86 Hardware: AMD K6-2 450M CPU, MVP3 mainboard, 128M mem, 10G harddisk, TNT2 M64 16M videocard, intel82557 10/100M netcard (Oh, the configuration of the bar low enough) System environment: full OEM install solaris8, recommend a minimum of space left over 4G, 400M swap partition at least the above (which require special attention if the installation does not finish less than 400M) A pre-installation environment settings 1, first set up the oracle user as the root user and management groups. oracle official document recommended the establishment of two administrative rights groups, a database management group as dba, an installation component management group orainst group. Many senior DBA with experience you can create a dba group. # Groupadd dba # Useradd-d / export / home / oracle-g dba-m oracle # Passwd oracle 2, specify the network connection when running oracle port # Vi / etc / services Finally, add two lines orasrv 1525/tcp oracle listener 1521/tcp 3, set system operating parameters # Vi / etc / system in a set period after the increase set semsys: seminfo_semmni = 315 set semsys: seminfo_semmsl = 300 set semsys: seminfo_semmns = 630 set semsys: seminfo_semopm = 315 set semsys: seminfo_semvmx = 32767 set shmsys: shminfo_shmmax = 4294967295 set shmsys: shminfo_shmmni = 315 set shmsys: shminfo_shmseg = 10 set shmsys: shminfo_shmmin = 1 4, log in as the oracle user to specify a location for oracle database files $ Mkdir / export / home / oracle / data 5 Edit the oracle user configuration file, set the oracle environment variables $ Vi / export / home / oracle / .profile DISPLAY = 10.0.0.1:0.0 # here starts the graphical interface for the IP address of the machine export DISPLAY ORACLE_HOME = / export/home/oracle/oracle/product/8.1.7 export ORACLE_HOME ORACLE_BASE = / export / home / oracle export ORACLE_BASE ORACLE_SID = orcl export ORACLE_SID NLS_LANG = AMERICAN_AMERICA.ZHS16GBK export NLS_LANG PATH =.: / bin: / usr / bin: / sbin: / usr / sbin: / usr / css / bin: / usr / local / bin: / usr / proc / bin: $ ORACLE_HOME / bin: $ ORACLE_HOME / admin / bin: $ ORACLE_HOME / lib export PATH LD_LIBRARY_PATH =.: / lib: / usr / lib: / usr / local / lib: / usr / share / lib: / usr / ccs / lib: $ ORACLE_HOME / lib: $ ORACLE_HOME / rdbms / lib: / usr / java / lib export LD_LIBRARY_PATH After completion of the above the machine reboot, the settings take effect. Second, start the installation After the graphical interface to select English as the oracle user login. It is said that the Chinese may have problems installing, so the best choice for the English language. 1, insert the installation CD oracle 2, run the installer $ / Cdrom/cdrom0/runInstaller oracle graphical installation interface appears, click next to continue 3, enter the oracle installation directory, you can choose the default; locate java box do not use the default value, enter / usr / java; next appear unix group box, fill in the dba; next oracle_base path settings box appears, use the default / export / home / oracle; next appear oracle_data path settings box, which is a local oracle database file storage location, can be set to / export / home / oracle / data. 4, select the installation method, with typical and custom option, if sufficient hard disk space recommended to install all components 5, there oracle product installation information, after confirmation click next, oracle start the installation 6, if the machine configuration will be lower then the long wait, take a rest first; 100% after the installation is complete, the prompt, / oracle / orainst / install.log install log file prompt OK 7, the pop-up Setup Privileges window, su to root user required to run the root.sh specified executable file; prompted Are these setting correct (y / n): y Enter the input; Enter the full pathname of the local bin directory ( y / n): Enter / usr / bin carriage return, it is best not to use the default / usr / local / bin 8, set the / var / opt / oracle / oratab file link $ Ln-s / var / opt / oracle / oratab / etc / oratab 9, net8 connection parameters to create the database, where no special settings, follow the prompts to complete the long wait. 10, if you want to use dbstart and dbshut database startup and shutdown scripts, modify / var / opt / oracle / oratab last line orcl: / export/home/oracle/oracle/product/8.1.7: N The N into Y. 11, execution dbstart, start the database. Using sqlplus tool to test if the normal connection is successfully installed oracle. Third, set the Oracle Manager Server 1, create oms Knowledge Base $ Emca The default account and password: sysman / oem_temp 2, start oms $ Oemctrl start oms 3, start the graphical management interface $ Oemapp console 4, for the client to connect oracle in windows for network management windows, install the appropriate client software, and is not described in detail. Computer Failed To Start Up Correctly After SP3 RC2 Installed Successfully; Computer Won't Boot Following SP3 Install; Will Not Boot After Installing SP3 If you're using the Microsoft Windows XP operating system, there's a chance that at some point, you've encountered the following error: "The Windows Installer Service ... Installshield Tutorial hi, can anyone point to me to some location where i can find some tutorial on Installshield. i am new to it. i need to learn it from I have accidently installed an unsupported audio driver. Now there is no sound at all. I like to erase this new driver and install my old sound driver. I have my old ... DevStudio > InstallShield DevStudio 9 (InstallScript projects) ... Hi all, I'm using InstallScript MSI project in IS DevStudio 9 SP 1. The installation ... Hi aramych ...Incoming search terms:

September 20, 2011
No comments


