After reading the installation experience of many online users in php, jsp, sybase, oracle, apache, and other aspects, I found that many of them are repeated and incomplete, based on my long-term summary of the above various types of things, relevant documents and articles by netizens, and my own practice, we will now go to apache1.3.12 + gSyntaxHigh under RedHat6.2
After reading the installation experience of many online users in php, jsp, sybase, oracle, apache, and other aspects, I found that many of them are repeated and incomplete, based on my long-term summary of the above various types of things, I have referred to relevant documents and articles by netizens, and have personally practiced them, in RedHat6.2, apache1.3.12 + gd1.8.3 + php4.04 + tomcat + sybase11.9.2 + oracle8.1.6 + mysql3.22.27 will all be provided to you, hoping to help you; runtime environment: installation plan for P Ⅲ 550 + 256 M + 20G + 530TX Lan + sis6326 8 M + RedHat Linux6.2: sybase installed in the/sybase directory oracle installed in the/home/oracle directory gd installed in the/usr/local directory apache installed in the/www directory tomcat installed in the/usr/local/jakarta-tomcat Directory install jdk on/usr/ Local/jdk122 Directory, data preparation 1paiapache_1312.tar.gz 21_php-404.tar.gz small 4, sybase11.9.2 package: sybase-common-1192-1i386.rpm sybase-ase-1192-1i386.rpm sybase-monserver-1192-1i386.rpm sybase-openclient-1111-1i386.rpm sybase-sqlremote-602-1i386.rpm 5、oracle8.1.6.tar 6, mysql3.22.27 package: sybase-chinese-1192-1i386.rpm mysql-3.22.27-1.i386.rpm mysql-devel-3.22.27-1.i386.rpm mysql-client-3.22.27-1.i386. Rpm 7、jdk1_2_2-linux-i386.tar.gz 8, mod-jserv.so 9、gd183.tar.gz 2, environment configuration 1, system installation and installation of linux system create directory/www,/sybase and/home and assign to their own large space, used to store database materials and Web files; 2. configure environment variables for running oracle, tomcat, and java. use the root user to log on to the system # vi/etc/profile and add the following line ORACLE_HOME =/home/oracle export ORACLE_HOME JAVA_HOME = /usr/local/jre export JAVA_HOME ORACLE_SID = dblee (here dblee can be changed to the name you want) export ORACLE_SID ORACLE_TERM = xterm export ORACLE_TERM ORACLE _ OWNER = oracle8 export ORACLE_OWNER TNS_ADMIN =/home/oracle/config/8.1.6 export TNS_ADMIN CLASSPATH = $ ORACLE_HOME/jdbc/lib/classes111.zip :. CLASSPATH =/usr/local/jdk/lib:/usr/local/jre/lib: $ CLASSPATH export classpath path = $ PATH:/usr/local/jre/bin: /usr/local/jdk/bin:/sbin PATH = $ PATH:/usr/bin:/usr/sbin:/usr/local/bin: $ ORACLE_HOME/bin PATH = $ PATH:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin :. export PA TH log out and log on again. it is set to take effect. 3. file installation. 1. sybase installation. if you have a sybase installation disc, you can install it graphically on the linux GUI, sybase provides graphical interface installation wizard this article uses manual rpm Package installation; (1) as the root user login (2) in each sybase rpm package, you must first install the sybase-common-1192-1i386.rpm package, this is necessary for running other packages # rpm -- prefix =/sybase-hiv. /sybase-common-1192-1i386.rpm # rpm -- prefix =/sybase-hiv. /sybase-ase-1192-1i386.rpm # rpm -- prefix =/sybase-hiv. /sybase-monserver-1192-1i386.rpm # rpm -- prefix =/sybase-hiv. /sybase-op Enclient-1111-1i386.rpm # rpm -- prefix =/sybase-hiv. /sybase-sqlremote-602-1-i386.rpm # rpm -- prefix =/sybase-hiv. /sybase-chinese-1i386.rpm to this end, completed the installation of sybase components, need to create a database and necessary configuration to run (3) set the permission for the directory file # chown-R sybase/sybase # chgrp-R sybase/sybase (4) set the sybase User password # passwd sybase (5) log out of the system and log on with the sybase User, the system will prompt you to select n and press Enter. (6) create a directory where the sybase database file exists # mkdir/sybase/data (7) create a database in the/sybase/bin directory and edit srvbuild in the two files required for database creation and operation. ada Ptive_server.rs and srvbuild. backup_server.rs file srvbuild. an example of the adaptive_server.rs file is as follows: sybinit. release_directory:/sybase sybinit. product: sqlsrv. server_name: kevin_sybase (the name of the sybase database service you want to use is set here) sqlsrv. new_config: yes sqlsrv. do_add_server: yes sqlsrv. network_protocol_list: tcp sqlsrv. network_hostname_list: 192.168.18.19 (set as your server IP address here) sqlsrv. network_port_list: 4000 (port used by sybase database) sqlsrv. master _ Device_physical_name:/sybase/data/master. dat sqlsrv. master_device_size: USE_DEFAULT sqlsrv. master_database_size: USE_DEFAULT sqlsrv. errorlog: USE_DEFAULT sqlsrv. do_upgrade: no sqlsrv. sybsystemprocs_device_physical_name:/sybase/data/sybsystem. dat sqlsrv. sybsystemprocs_device_size: USE_DEFAULT sqlsrv. sybsystemprocs_database_size: USE_DEFAULT sqlsrv. sybsystemdb_device_physical_name:/sybase/data/sy Bsystemdb. dat sqlsrv. sybsystemdb_device_size: USE_DEFAULT sqlsrv. sybsystemdb_database_size: USE_DEFAULT sqlsrv. default_backup_server: kevin_sybase_bk (set here to the backup service name of your sybase database) srvbuild. example of the backup_server.rs File: sybinit. release_directory:/sybase sybinit. product: bsrv. server_name: kevin_sybase_bk (this is the name of the backup service set on-site) bsrv. do_add_backup_server: yes bsrv. network_protocol_list: tcp bsrv. networ K_hostname_list: 192.168.18.19 (server IP address) bsrv. network_port_list: 4100 (port used by the sybase backup server) bsrv. language: USE_DEFAULT bsrv. character_set: USE_DEFAULT bsrv. tape_config_file: USE_DEFAULT bsrv. errorlog: USE_DEFAULT (8) create a database (the current user is still sybase) # cd/sybase/bin #. /srvbuild-r. /srvbuild. adaptive_server.rs #. /srvbuild-r. /srvbuild. after backup_server.rs is run, two new files RUN_kevin_sybase and RUN_kevin_sy will be generated in the/sybase/install directory. Base_bk at this point, the installation and configuration of the sybase database and the creation of the database have been completed; (9) start the database (the current user is still sybase) # cd/sybase/install #. /startserver-f. /RUN_kevin_sybase #. /startserver-f. /RUN_kevin_sybase_bk. If no error is reported, the database has been started and you can run the command in the current directory. /showserver view ;#. /showserver returns the currently running sybase database service. normally, there are two services: adative and backup. at this point, all your sybase databases have been installed, you can use sybase client, powerbuilder, and other tools to access the sybase database through your server ip address and port 4000. (10) experience prompts that if you encounter an error in step 8th or 9th, check your machine Whether the network settings are normal, you must ensure that your server ip address can be pinged on the local machine, not the localhost, must be successfully pinged your ip, this is a secret that kevin once tried to discover in the afternoon! Jdk # cd/usr/local # tar-zxvf jdk1_2_2-linux.tar.gz # ln-s jdk122 jdk # ln-s jdk122/jre jdk to install jdk 3. oracle8.1.6 before installing oracle, you must complete environment variable setting and jdk installation [root @ oradb/root] $ # log on to [root @ oradb/root] $ groupadd oracle # create an oracle User Group [root @ oradb/root] $ useradd oracle-g oracle # Create a user in the oracle group oracle [root @ oradb/root] $ passwd oracle # modify the oracle user password [root @ oradb/root] $ useradd apache-g oracle # Create Apache User Note: oracle and oracle users are required for oracle installation. note: After an oracle User is created, the linux system automatically creates the/home/oracle directory under the/home directory, for oracle users, oracle users have all permissions for this directory, in this example, the oracle system is installed in the oracle user's own directory [root @ oradb/oracle] $ exit #, and the oracle user is logged on again (the following operations are all oracle users) [oracle @ oradb/oracle] $ [oracle @ oradb/oracle] $ ls-l [oracle @ oradb/oracle] $ tar zxvf oracle81620.tar.gz # decompress the oracle compressed package to the current directory [oracle @ oradb/oracle] $ mv Oracle8iR2 orainst # for ease of writing, I set the Directory After renaming, you can [oracle @ oradb/oracle] $ startx # Start X-windows, enable a terminal (xterm), (graphic window) # run runInstaller [oracle @ oradb/oracle] $ cd orainst [oracle @ oradb/orainst] $ on this terminal. /runInstaller # run the oracle installation program. run a program in linux. /call and execute the command. you can see the Welcome screen of the new graphical OUI running with jre. follow the prompts to continue the installation process: Welcome: Press next File Locations: Press next UNIX Group Name: if you press next, the system prompts you to run "/home/oracle/orainstRoot" with the root permission. sh CTRL + ALT + F2, open a new console (Character window) and log on to [r Oot @ oradb/root] $ cd/home/oracle at this time, there is only one file orainstRoot in the/home/oracle/directory. sh, run it [root @ oradb/oracle] $ sh orainstRoot. sh CTRL + ALT + F7, return to the Installation page (graphic window) and press Retry to continue the Installation. Available Products: Select Oracle8i Enterprise Edition 8.1.6.1.0, and press next Installation Types: select Typical (540 MB) and press next. at this time, a progress ruler Database Identification: Global Database Name: enter oracle8 (can be any) SID in the upper right corner of the screen: retain orcl and press next Database File Location: any Directory. In this example, set it to "/ Home/oracle/", press Next. at this time, the progress ruler in the upper right corner of the screen continues to display the Summary, and make a Summary of the product you want to Install by pressing Install. the Install screen appears, waiting... you can see the installation and other log file directories prompted at the bottom of the window for future query. The Setup Privileges window prompts you to run a script "/home/oracle/root. sh ", CTRL + ALT + F2, return to the first terminal window that was just run and run the file as root, [root @ oradb/oracle] $ sh root. sh: Enter the full pathname of the local bin dire