![]() |
|
|
![]() |
|
This page is intended to help me upgrade lagoon.lemis.com, Yvonne's machine, but currently it's severely broken and contains stuff about remove servers. FIXME. There's also a file lagoon-upgrade.php, but it's even older.
@reboot mount -t nfs -a
--- syslog.conf 2025/08/14 23:15:09 1.1
+++ syslog.conf 2025/08/14 23:15:23
@@ -20,8 +20,8 @@
# uncomment this to enable logging of all log messages to /var/log/all.log
# touch /var/log/all.log and chmod it to mode 600 before it will work
#*.* /var/log/all.log
-# uncomment this to enable logging to a remote loghost named loghost
-#*.* @loghost
+# Log everything to eureka
+*.* @eureka
syslogd needs restarting after that.
# Wait for these slow external disks
kern.cam.da.retry_count=6
Enable wake for normal users:
/etc/inetd.conf:
netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd
/usr/local/etc/smb4.conf
Create passwords with smbpasswd, test with testparm and smbclient. From CFBSD:
testparm
smbpasswd -a yvonne
smbclient -L lagune -U yvonne
cp -p /lagoon/etc/master.passwd /lagoon/etc/group /etc
cp -p /lagoon/etc/gettytab /etc/gettytab
cp -p /lagoon/etc/gettytab /etc/gettytab
cp -p /lagoon/etc/ttys /etc/ttys
cp -p /lagoon/etc/X11/xorg.conf /etc/X11/xorg.conf
/etc/exports
/etc/inetd.conf
/etc/rc.conf: inetd_enable
/etc/rc.local to mount NFS
ln -s /hydra/home/grog/private /home/grog
ln -s /eureka/home/local /home
ln -s /eureka/home/local/etc/ethers /etc
# ln /usr/local/bin/ungoogled-chromium /usr/local/bin/chrome <b>!</b>
ln -s /eureka/home/var/mail /var
cron jobs
ports config files
=== root@lagune (/dev/pts/2) /lagoon/home/yvonne 18 -> rsync -Havx . /home/yvonne 2>/tmp/foo
ln -s /etc/RCS /destdir/etc
=== root@lagoon (/dev/pts/2) /destdir/etc 65 -> rcsdiff -wu RCS/*|less
# pkg_install mutt qpopper
To enable the qpopper-daemon, add the following line to your /etc/inetd.conf:
pop3 stream tcp nowait root /usr/local/libexec/qpopper qpopper -s
# pkg_install squid
Message from squid-4.7_1:
o You can find the configuration files for this package in the
directory /usr/local/etc/squid.
o The default cache directory is /var/squid/cache/.
The default log directory is /var/log/squid/.
Note:
You must initialize new cache directories before you can start
squid. Do this by running "squid -z" as 'root' or 'squid'.
If your cache directories are already initialized (e.g. after an
upgrade of squid) you do not need to initialize them again.
o When using DiskD storage scheme remember to read documentation:
http://wiki.squid-cache.org/Features/DiskDaemon
and alter your kern.ipc defaults in /boot/loader.conf. DiskD will not
work reliably without this. Last recomendations were:
kern.ipc.msgmnb=8192
kern.ipc.msgssz=64
kern.ipc.msgtql=2048
o The default configuration will deny everyone but the local host and
local networks as defined in RFC 1918 for IPv4 and RFCs 4193 and
4291 for IPv6 access to the proxy service. Edit the "http_access
allow/deny" directives in /usr/local/etc/squid/squid.conf
to suit your needs.
o If AUTH_SQL option is set, please, don't forget to install one of
following perl modules depending on database you like:
databases/p5-DBD-mysql
databases/p5-DBD-Pg
databases/p5-DBD-SQLite
To enable Squid, set squid_enable=yes in either
/etc/rc.conf, /etc/rc.conf.local or /etc/rc.conf.d/squid
Please see /usr/local/etc/rc.d/squid for further details.
Note:
If you just updated your Squid installation from an earlier version,
make sure to check your Squid configuration against the 3.4 default
configuration file /usr/local/etc/squid/squid.conf.sample.
/usr/local/etc/squid/squid.conf.documented is a fully annotated
configuration file you can consult for further reference.
Additionally, you should check your configuration by calling
'squid -f /path/to/squid.conf -k parse' before starting Squid.
# pkg_install bip
Doesn't work: currently broken.
Greg's home page | Greg's diary | Greg's photos | Copyright |