Dear Community,
thanks for taking the time! ;-) I am really glad about communities like this one and I do have a few questions related to my little home server. Maybe one day I am able to contribute something back to this one
You can skip ahead to the bold-marked sections if you want to leave out "my history" with FreeBSD ;-)
I am living together with 6 other guys, inside a bigger community of alltogether around 20 people. We want to have our own little wiki-server, filesharing and maybe print-server.
Coming from Gentoo-Linux I am quite experienced in compiling my own system. About 10 years ago a friend showed me FreeBSD and I was interested, but not "ready". Then I switched to MacOS-X and now came back to FreeBSD.
I played with FreeBSD 8.0 the last couple of days and think it is time to install my new server that arrived yesterday.
Hardware configuration server:
Intel Atom 330 (dualcore with hyperthreadding, looks like 4 cores)
NVidia ION-Chipset
NVidia 9400M GPU
2 GB DDR2 RAM
320 GB 3,5" hdd.
Setup:
What happend so far:
What do I want to do?
Next steps:
Questions:
So any comments, tipps, hints, howtos, critics are welcome
Thanks and have a nice day!
Thomas
thanks for taking the time! ;-) I am really glad about communities like this one and I do have a few questions related to my little home server. Maybe one day I am able to contribute something back to this one
You can skip ahead to the bold-marked sections if you want to leave out "my history" with FreeBSD ;-)
I am living together with 6 other guys, inside a bigger community of alltogether around 20 people. We want to have our own little wiki-server, filesharing and maybe print-server.
Coming from Gentoo-Linux I am quite experienced in compiling my own system. About 10 years ago a friend showed me FreeBSD and I was interested, but not "ready". Then I switched to MacOS-X and now came back to FreeBSD.
I played with FreeBSD 8.0 the last couple of days and think it is time to install my new server that arrived yesterday.
Hardware configuration server:
Intel Atom 330 (dualcore with hyperthreadding, looks like 4 cores)
NVidia ION-Chipset
NVidia 9400M GPU
2 GB DDR2 RAM
320 GB 3,5" hdd.
Setup:
- We have a small little router (FritzBox), which needs to be used due to VoIP :-(
- dLink AccessPoint, this one is for the Laptops and is DHCP-Server as I can configure, what DNS-IPs it distributes
- My cute little Server above ;-)
What happend so far:
- Registered with dyndns.org and having our router login and updating the dns-entry.
- Installed FreeBSD 8.0 on the server
- Configured inetd (only running service as of now is sshd without root-login!)
- Portforwarding on the Router of Port 22 (ssh) to the server so I have remote access from my work-place
- installed tools like nano and bash to make myself a little more comfortable
- created /etc/adduser.conf and fitted to my needs and paths
What do I want to do?
- I want to have a FreeBSD that is fitted to my hardware
- Have mediawiki installed and locked into a jail (as I plan on making it publicly available, too!)
Next steps:
- update the installed ports-tree: How do I do that? I could only find a howto about how to install not how to update ports
- configure and compile the kernel. I will do that when I am at home, not at work for obvious reasons! ;-)
- update the system according to the freshly upgraded ports-tree
- install and configure -> apache, mysql, php, mediawiki and jail it
- portforwarding the port 80 (or maybe 443 for https) to my server in order to have others outside our network (but "inside" our community) to access the wiki
Questions:
- ports: When I make install clean a software, top shows me a cpu-idle of about 75%. I guess that is because FreeBSD sees 4 cores but only uses 1 for the make. How do I make it use all 4 cores?
- jails: What should I jail? Just the apache, or the apache and the mysql?
- VPN or sshd? Should I rather setup a PPTP-VPN-server on my FreeBSD-Machine and vpn into my network, rather then portforward the sshd to the public? I mean security-wise. It would have the benefit of me having access to the router and the accesspoint from work, too!
So any comments, tipps, hints, howtos, critics are welcome
Thanks and have a nice day!
Thomas