Difference between revisions of "FreeBSD installation"
From Teknologisk videncenter
m |
m (→issue) |
||
Line 76: | Line 76: | ||
Mercantec" > /etc/issue | Mercantec" > /etc/issue | ||
</pre> | </pre> | ||
− | [[Category:FreeBSD | + | [[Category:FreeBSD]] |
Revision as of 09:26, 14 May 2009
/etc/rc.conf
Example rc.conf
# -- sysinstall generated deltas -- # Wed Jan 14 14:04:35 2009
# Created: Wed Jan 14 14:04:35 2009
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="83.90.47.29"
hostname="mars.tekkom.dk"
ifconfig_vr1="inet 83.90.47.30 netmask 255.255.255.252"
ifconfig_em0="inet 192.168.22.73 netmask 255.255.255.0"
ifconfig_em1="inet 172.16.4.16 netmask 255.255.255.0"
keymap="danish.iso"
#Enable ssh
sshd_enable="YES"
apache_enable="YES"
mysql_enable="YES"
dhcpd_enable="YES"
webmin_enable="YES"
ntpd_enable="YES"
#Internet NAT Router
gateway_enable="YES" # Enable as LAN gateway
ipnat_enable="YES" # Start ipnat function
ipnat_rules="/etc/ipnat.rules" # rules definition file for ipnat
searchd_enable="YES" # sphnix search engine to mediawiki
#Add school networks
# Add Internal Nets as static routes
static_routes="backbone tekkom printers"
route_tekkom="-net 192.168.128.0/17 172.16.4.1"
route_backbone="-net 172.16.4.0/24 172.16.4.1"
route_printers="-net 172.16.67.0/24 172.16.4.1"
After installation issues
motd - Message of the day
[root@bsd /etc]# echo " ******************************************************************************* * LEGAL NOTICE * * ============ * * * * ANY UNAUTHORISED ACCESS OR ATTEMPT TO ACCESS THIS SITE WILL - WITHOUT ANY * * PRIOR WARNING - BE REPORTED TO LEGAL AUTHORITIES. * * * * Please report any attempts to * * heth@mercantec.dk * * Have a :-) day * *******************************************************************************" > /etc/motd
issue
[root@bsd /etc]# echo " ####### ###### ##### ###### # ##### ###### ###### # # # # # # # # # # # # # # # # ##### # # ##### ##### ###### ##### # # # ##### # # # # # # # # # # # # # # # # # # # # # ###### ###### ###### ##### ###### Velkommen til FreeBSD version 6.1 Mercantec" > /etc/issue