NBSD] My OpenBSD 3.6 Basic Application [2004-09-16]

xiaoxiao2021-03-06  67

Author: Freebird Published: 2004-09-16 Transfer from: http: //www.chinaunix.net Author: slzq 1, making OpenBSD 3.6 ISO file and adds support for SMP from ftp://ftp.openbsd.org download the latest The 3.6 installation package, using Winiso to make ISO file production, start file selection BSD.RD or BSD.mp (SMP support), and then perform CDROM burning. At present, AnonCVS does not support directly upgraded from other versions to 3.6, the old version can be upgraded PATCH to increase the support for SMP: #setenv cvsroot anoncvs@anoncvs.ca.openbsd.org: / cvs #cd / usr #cvs checkout -rsmp src / sys (After upgrading SMP code, add a generic.mp file in / usr / src / sys / arch / i386 / conf) #CD / USR / SRC / SYS / ARCH / I386 / Conf #config generic.mp # CONFIG & Make & make INSTALL #Reboot 2, install mysql 4.0.20 #tar zxvf mysql-4.0.20.tar.gz #. / configure --prefix = / usr / local / mysql --with-charset = GB2312 #MAKE & make Isntall #. / scripts / mysql_install_db #adduser mysql #chown -r root / usr / local / mysql #chown -r mysql / usr / local / mysql / var #chgrp -r mysql / usr / local / mysql 3, configuration Web application Apache1.3.29 php4.3.9rc2 Tomcat4.1.30 openbsD mysql4.0.20 installed with PHP5.0.1, I only configured once in 3.5, and I can't reset it again for a long time. Check the bug submitted by bugs.php.net, where the BUG submission (http://bugs.php.net/bug.php?id=29824) is installed (htp://bugs.php.net/bug.php?id=29824), PHP.NET reply php5-200408241630 The installation package has been fixed this bug, but I have been looking for a long time, I have never found this installation package. Http://www.openbsd.org/36.html also said 3.6 version of the PATHC for DSO, but I didn't succeed during the PHP-5.0.1 installation process.

In addition, foreign countries with CGI have increased support for PHP-5.0.1 (see http://archives.neohapsis.com/archives/openbsd/2003-09/0090.html) OpenBSD PHP-5.0.1 Mounting considerations: 1, requires Libiconv1.9.1 and IBXML2-2.5.50 or above; Configure --with-mysql --with-apxs = / usr / sbin / apxs can not be compiled, need to specify mysql installation directory: #. / configure --with-mysql = / usr / local / mysql - WITH-APXS = / usr / sbin / apxs (3.1) Install PHP4.3.9RC2 #TAR ZXVF PHP4.3.9RC2.TAR.GZ #CD PHP4.3.9RC2 #. / configure --with-mysql --with-apxs = / usr / sbin / apxs # make & make install #cp php.ini-dist /usr/local/lib/php.ini (3.2) Start openbsd chroot Apache1.3.29 #CD / USR / Ports / Editors / EE #make Install #ee /etc/rc.conf (Find httpd, modified to httpd = yes "-u" To release chroot) (3.3) Installing JDK and Tomcat installation Linux Simulation: #CD / usr / ports / emulators / redhat #make install #CP J2SDK-1_3_1_12-Linux-i586.bin / usr / ports / distfiles / #ee /usr/ports/devel/jdk/1.3-linux/makefile J2SDK-1_3_1 modified to J2SDK-1_3_1_12 #RM / USR / ports / deb /jdk/1.3-linux/distinfo #make install installation configuration Tomcat: #CD / usr / ports / www / jakarta-tomcat #make install #ee / v Ar / tomcat / conf / server.xml "Remove PHPMYADMIN #CD / USR / PORTS / WWW / PHPMYADMIN / #make install 4 before removing 8080 port, configure DHCP service #ee /etc/dhcpd.conf shared-network local-net { Option Domain-name "openbsd.org"; option domain-name-servers 10.0.0.225; Subnet 10.0.0.0 Netmask 255.255.255.0 {Option Routers 10.0.0.225; Range 10.0.0.1 10.0.0.50;

转载请注明原文地址:https://www.9cbs.com/read-110875.html

New Post(0)