2.配置Linux a. smb服务的配置 smb服务把Linux和windows连接。 配置方法: 修改 /etc/smb.conf 1. #vi /etc/smb.conf 2. modify the workgroup item as your window workgroup name workgroup = your_window_domain 3. unmount thest lines password level=8 username level=8 encrypt passwords = yes smb passwd file = /etc/smbpasswd wins support = yes
4. add a line : interfaces = 111.222.1.2/24 (you can input your IP address and subnet mask) 5. 增加必要的共享目录 [deploy] comment = NDB web document root path = /usr/local/jakarta-tomcat/webapps/deploy writable = yes
6. restart smb /etc/rc.d/init.d/smb restart 6. add user to the /etc/smbpasswd #smbpassed -a username 其中 username 为 Linux 一系统用户。 给该用户设定从windows访问linux的密码,可以与用户系统密码不同。 测试: 从windows的网上邻居能看到即为成功了。
3 安装Oracle for linux (Clent Part) login as root 1. # cp oracle8161_tar.gz /usr/local 2. # tar xvzf oracle8161_tar.gz (this will unpack the files to /usr/local/Oracle8iR2) 3. # groupadd dba 4. # groupadd oinstall 5. # useradd -G oinstall -g dba oracle 6. # passwd oracle login as oracle 1. # startx 2. run /usr/local/Oracle8ir2/runInstall 3. install whole as the Universal Intaller tell. 配置 /etc/profile 文件(加入环境变量) (参考所给的文件 进行必要的修改)
4 安装 Apache Web Server (含 PHP 和 SSL 的支持) a 通过光盘或网上邻居 把 apache_1.3.12.tar.Z php-4.0.2.tar.gz openssl-0.9.5a.tar.gz mod_ssl-2.6.6-1.3.12.tar.gz 拷贝到 /usr/local 并解开 $cd /usr/local $tar xvzf apache_1.3.12.tar.Z $tar xvzf php-4.0.2.tar.gz $tar xvzf openssl-0.9.5a.tar.gz $tar xvzf mod_ssl-2.6.6-1.3.12.tar.gzmod_ssl-2.6.6-1.3.12.tar.gz b $ cd openssl-0.9.5a $ ./config $ make $ cd .. c $ cd /mod_ssl-2.6.6-1.3.12 $ ./configure --with-apache=../apache_1.3.12 $ cd ..
d $ cd apache_1.3.12 $ ./configure --prefix=/usr/local/apache $ cd .. e $ cd ../php-4.0.2 $ CFLAGS=´-O2 -I /usr/local/openssl-0.9.5a/include´ ./configure --with-apache=../apache_1.3.x --enable-memory-limit=yes --enable-debug=no --with-oracle=/usr/local/oracle/OraHome1 --with-oci8=/usr/local/oracle/OraHome1 --enable-sigchild --enable-track-vars $ gmake $ gmake install $ cd .. f $ cd apache_1.3.12 $ SSL_BASE=/usr/local/openssl-0.9.5a ./configure --prefix=/usr/local/apache --with-layout = GNU --enable-module=ssl --activate-module=src/modules/php4/libphp4.a --enable-shared=max --enable-module=most $ make $ make certificate $ make install