|
|
Choosing A Webhost: |
Re: Quick review: msg#00011linux.ubuntu.server
Rocco Stanzione wrote: > > Network Configuration: > http://doc.ubuntu.com/ubuntu/serverguide/C/network-configuration.html One line review for this one: "man 5 interfaces" Seriously. /etc/network/interfaces (and ifdown/ifup) is how interface configuration is done in Debian and Ubuntu, but this doc leads me to believe that I have to do everything by hand with ifconfig and route (and then, presumably, write my own scripts to make sure it happens on boot?) I'm not against telling people how ifconfig, route, and other tools work, but not at the expense of forgetting to tell them about the higher level tools that make this all much simpler. > Firewall: > http://doc.ubuntu.com/ubuntu/serverguide/C/firewall-configuration.html I have no issues with this one. It's not long, nor detailed, but the one thing most people want to do (set up a NAT MASQ) is explained, and done in the simplest way possible (which is nice, I've seem some pretty convoluted setups). The only possible change I'd make to that one (to make things even simpler is to change this: > sudo iptables -t nat -A POSTROUTING -s 192.168.0.0/16 -o ppp0 -j MASQUERADE > sudo iptables -A FORWARD -s 192.168.0.0/16 -o ppp0 -j ACCEPT > sudo iptables -A FORWARD -d 192.168.0.0/16 -m state --state > ESTABLISHED,RELATED -i ppp0 -j ACCEPT ... to this: > sudo iptables -A FORWARD -i eth0 -o ppp0 -m state --state ESTABLISHED,RELATED > -j ACCEPT > sudo iptables -A FORWARD -i eth0 -o ppp0 -j ACCEPT > sudo iptables -t nat -A POSTROUTING -i eth0 -o ppp0 -j MASQUERADE Or, you can include both, since they work slightly differently. But, the latter form is actually what most people usually want. They want to masquerade "everything behind this interface, when passing through to the internet", not necessarily specific subnets. Either is easy enough to explain and understand, though. > Samba Configuration: > http://doc.ubuntu.com/ubuntu/serverguide/C/configuring-samba.html > sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.original > sudo chmod a-w /etc/samba/smb.conf.original Advising people to backup files before they edit them is good practice. Telling people to remove the write bit from files they're going to be editing as root is pretty much pointless, since root can overwrite anything anyway. :) > Email Services: > http://doc.ubuntu.com/ubuntu/serverguide/C/email-services.html#http-installation Again, this construct: > sudo apt-get install postfix libsasl2 sasl2-bin libsasl2-modules libdb3-util > procmail People are really going to start thinking our package management system sucks, if they have to specify every dependency on the command line. :) For reference, postfix depends on libsasl2 and libsasl2-modules (so no need to specify those), suggests sasl2-bin (but, despite the HOWTO's insistence, I'm not sure it's actually required for SASL to work), is linked against DB4.3, not DB3, so libdb3-util would be completely useless, and again, suggests procmail (which is good, but the HOWTO never actually tells users what procmail is or how to use it, so I'm not sure why we tell them to install it, as if it's needed for postfix to work) > mkdir /etc/postfix/ssl > cd /etc/postfix/ssl/ Again, as noted in my Apache feedback, please recommend people use /etc/ssl/{certs,private} for the public and private keys. And I think I've now worn myself out for the day. :) ... Adam
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Quick review, Adam Conrad |
|---|---|
| Next by Date: | Re: Quick review, Christian Bjälevik |
| Previous by Thread: | Re: Quick review, Dan McGarry |
| Next by Thread: | Re: Quick review, Christian Bjälevik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |