In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces the OpenBSD WEB application case, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
1. Upgrade the system
# cd / usr/src
# cvs-d anoncvs@anoncvs.ca.openbsd.org:/cvs-Q up-rOPENBSD_3_4-Pd
# cd / usr/src/sys/arch/i386/conf
# config GENERIC
# cd.. / compile/GENERIC
# make depend & & make
# cp / bsd / bsd.old & & cp bsd / bsd
2. Open chroot's Apache and anonymous ftp
# vi / etc/rc.conf
Httpd_flags= "- u"
Ftpd_flags= "- D"
# echo "/ usr/bin/false" > > / etc/shells
# adduser ftp "sh on false"
4. Install Tomcat to support Jsp
# chmod 755 j2sdk-1_3_1_09-linux-i586.bin
#. / j2sdk-1_3_1_09-linux-i586.bin
# sysctl-w kern.emul.linux=1
# cd / usr/ports/www/jakarta-tomcat/v4
# make & & make install
# vi / var/tomcat/server.xml
Edit
Del
# / usr/local/jakarta-tomcat-4.1.29/bin/startup.sh
5. Install mysql
# tar zxvf mysql-3.23.58.tar.gz
# cd mysql-3.23.58
#. / configure-prefix=/usr/local/mysql-with-charset=gb2312
# make & & make install
#. / 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
# vi / etc/rc.conf
Add
Usr/local/mysql/bin/safe_mysqld-- user=mysql &
6. Install php4
# tar php-4.3.4.tar.gz
# cd php-4.3.4
#. / configure-with-mysql-with-apxs=/usr/sbin/apxs
# make & & make install
# cp php.ini-dist / usr/local/lib/php.ini
# vi / var/www/conf/httpd.conf
Add
DirectoryIndex index.html index.jsp index.php index.php3
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
7. Install phpmyadmin
# tar zxvf phpMyAdmin-2.5.4-php.tar.gz
# cp-r phpMyAdmin-2.5.4 / var/www/htodcs/phpadmin
# vi / var/www/htdocs/phpadmin/config.inc.php
Edit $cfg ['PmaAbsoluteUri'] =' http://local/phpadmin/';
$cfg ['Servers'] [$I] [' auth_type'] = 'config'
Thank you for reading this article carefully. I hope the article "OpenBSD WEB Application case" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.