FreeBSD 6.2 How to quickly set up a Web server? Please see this article for your explanation.
1, installation settings Prozilla (port download acceleration)
Of course, install download speed First, or the following installation will be very slow
The installation uses the following instructions:
#cd/usr/ports/ftp/prozilla
#make Install clean
The middle will appear:
This is the example and HTML format of the man page, will not be used to study
Recently the company because of the need to improve the monitoring software ~ ~ So several different monitoring software installed after the comparison ~ ~
For everyone more familiar with the MRTG, cacti, such as the equivalent of the article has been a lot of ~ ~
Recent survey found that Munin is also a very easy to install and set up convenient monitoring software ~ ~
Younger brother in the FreeBSD after installation ~ ~ In order to facilitate th
access. When a higher performance and stability system is required, UNIX should be selected. FreeBSD is clearly a very good WWW server operating system to choose from when using Intel platform systems.
Basic concepts
Although ordinary users only need to understand some common sense concepts, such as URLs, HTML, and so on, they can easily access web resources on the Internet through the browser. However, to build a Web server, you need more relevant
The UNIX system provides cron and AT commands that allow the system and users to run certain programs on a regular basis without the need to manually start them.
Using Cron for periodic execution of a command, in order to use it, you must edit the crontab file. The system default/etc/crontab file is:
#/etc/crontab-root ' s crontab for FreeBSD # # $Id: crontab,v 1.13 1996/01/06 22:21:37 ache Exp $ # FROM:ID:CRONTAB,V 1.6 1993/05/31 02:03:57 CGD
/local/apache--enable-so--enable-module=rewrite
Compile
#make
Installation
#make Install
Installation Complete
Test the installation effect
#cd/usr/local/apache
#cd bin
#./apachectl Start
Httpd:apr_sockaddr_info_get () failed for
Httpd:could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Thu Apr 03 09:37:41 2008] [Warn] (2) No such file or directory:failed to enable the ' Httpready ' Accept Filter
This prompt appears
#vi/usr/local/a
FreeBSD setusercontext () function bypass security restriction Vulnerability
Release date: 2010-08-18Updated on: 2010-08-19
Affected Systems:FreeBSD 8.0FreeBSD 7.2Description:--------------------------------------------------------------------------------Bugtraq id: 42533
FreeBSD is an open-source Unix system that runs on the Intel Platform and can be freely used.
The setusercontext () function in the lib/l
Release date: 2010-09-08Updated on: 2010-09-09
Affected Systems:FreeBSD 7.2FreeBSD 7.1FreeBSD 7.0Description:--------------------------------------------------------------------------------Bugtraq id: 43060
FreeBSD is an open-source Unix system that runs on the Intel Platform and can be freely used.
From FreeBSD 5.0 onwards, the system supports POSIX extension attributes and allows the storage of file-re
It is not freebsd, It is freenas7.2. Due to a problem with freenas installed for a friend, I studied how to operate raid1 in freebsd command mode yesterday and the night before. I should say how to configure freenas.
In fact, freebsd manual says:
Http://www.freebsd.org/doc/zh_CN.GB2312/books/handbook/geom-mirror.html
The operation is as follows:Gmirror label
at ease.After the network problem is fixed, we will upgrade and compile the kernel with the system. First, we will upgrade the system.System upgrade (src and ports)To upgrade the system, we must use a software: cvsup, which can be installed on a CD (in the second CD) to save time.# SysinstallSelect Configure to enter[Packages]-> [CD/DVD]-> [devel]Select the [X] cvsup-without-gui-16.1h_2Select OK and return to the previous page. Select Install. Wait until the installation is complete.After CVSUP
.
After CVSUP is installed, cvsup is installed in/usr/local/bin by default.
# Rehash
After the cvsup is installed, we can upgrade the src and ports directories of our system.
# Cd/usr/share/examples/cvsup
# Ls
Cvs-supfile # upgrade CVSUP's own
Doc-supfile # Operating System document upgrade file
Gnats-supfile # FreeBSD BUG database
Ports-supfile # Ports upgrade file
Stable-supfile # stable version
Top monitoring commands on FreeBSD use top monitoring tools to display processes whose CPU usage is the first few, and provide the real-time CPU activity syntax: top [-stime] [-dcount] [-q] [-h] [-nnumber] [-ffilename] [-ofield] [-Uusename...
Use of top monitoring commands on FreeBSD
The top monitoring tool displays the processes whose CPU usage is the first few, and provides real-time CPU activity.
Synta
System: FreeBSD 4.1
Install the gd-1.8.3 and libpng,jpeg6b with Sysinstall. Make sure you have libgd.so.* and libpng.so.* under the Usr/local/lib.
CD PATH_TO_PHP_SRC
./configure--with-mysql=/path_to_mysql
--with-apache=/path_to_apache_src
--with-gd=/usr/local, don't add lib here.
--with-png-dir=usr/local Ibid.
--enable-track-vars
--enable-discard-path
--disable-debug
Then everything goes as usual.
The West brother of the 3.4 is gd-1.7.0 do not know wh
closed port
Accounting_enable= "YES": Enable system Audit function
ifconfig_alc0= "inet 10.1.1.10/8" #可设置为 "DHCP" Get IP automatically
ifconfig_alc0= "inet 10.1.1.11/32" #同一网络的多个地址, except for the first one, the remaining netmask are set to 255.255.255.255
ifconfig_alc0_alias0= "inet 172.16.10.10/16" #设置多个 IP
Defaultrouter= "10.1.1.1": Default gateway
Sshd_enable= "YES": Set random Start
/etc/sysctl.conf Common parameters
kern.ipc.somaxconn=32768: Number of
Zfs: failedwitherror6 under FreeBSD. Solution environment for zfs: failedwitherror6 in FreeBSD: re-compile the kernel, restart the kernel after installation, and display: zfs: failedwitherror6, followed by the mountroot prompt. This is a solution that rarely solves the zfs: failed with error 6 error in FreeBSD.
Environment: After the kernel is re-compiled, the sy
machine
#####
DNS Address Configuration################################
# Ee/etc/resolv. confNameserver 202.96.209.20.Nameserver 202.96.209.5
Nic control switch################################
Ifconfig fxp0 upIfconfig fxp0 down
###### Routing configuration################################
View routesNetstat-Rn
Add a route (equivalent to configuring gateway)Route add default 192.168.8.1#192.168.8.1 is the gateway address
If you want to modify the current route configuration, You need to delete i
[Switch] Provision of time synchronization and NTP service for FreeBSD system
China National Time Service Center Time Server IP Address: 210.72.145.44
Http://www.cnfug.org/journal/archives/000038.html
Original article of NTP at www.cnfug.org:
Tonight
If you ignore the computer time, there will be an error soon.This error is reflected in the time stamp of the email sending time, and in the posting time of your forum post. At least I have enc
From: http:// OS .51cto.com/art/201012/236797.htm
Linux is a cute little penguin, while FreeBSD is a little devil with a fork. Do you often hear people confuse Linux and BSD systems? Yes, I often hear from new users and even the media. Of course, the two actually have many similarities. For example, they are all developed based on UNIX, and basically both systems are developed by non-profit organizations and teams, in addition, I would like to say tha
I believe you have heard of qemu. qemu is a well-known virtual machine like bochs. however, the performance and functions are relatively better than bochs. for example, why not run qemu when it supports ISO installation, DHCP gateway, and IMG images compatible with bochs? Haha, of course, there are also some shortcomings, but sometimes the operation is unstable, and the keyboard shortcut for switching the mouse is not properly designed, the two keys Ctrl + shift will be used first.
Well, consid
Freebsd uses the overall solution and simple kernel to impress us. A bigger reason to use it is its outstanding software package management. The Free Software in unix/linux is much more convenient than that in windows, regardless of port or pkg_add.
Back to the topic, everything can only be measured. Server hardware performance, software resource occupation, and performance are part of our overall solution.
The use of unixbench and built-in diskinfo i
Http://ltyluck.blog.51cto.com/170459/420944
Create a file without make. conf:CD/etc/VI make. confAdd the following content:Master_site_freebsd_org = ftp://ftp.cn.FreeBSD.org/pub/FreeBSD/%SUBDIR%/Master_site_gnome = http://mirrors.geekbone.org/gnome/%SUBDIR%/Master_site_local = ftp://ftp.cn.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/%SUBDIR%/Master_site_override = ftp://ftp.cn.freebsd.org/pub/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.