On Sunday, I mentioned making your forward and reverse DNS entries match up. But I didn’t really discuss what to do if they don’t. For those readers moving into Ubuntu from Mac OS X Server, you’ll note that at installation time, if the hostname doesn’t match the A record and PTR for your server then it will install DNS and make them match up. The reason for this is that host names are a critical aspect in how many of the network services that modern services run. If you don’t have DNS or if you want to fire up DNS in the same manner that Mac OS X Server does…
-
-
Installing Ubuntu 10 in Fusion
I’ve done a number of articles on using Ubuntu 10 as a server recently, but haven’t actually looked at doing the base installation of an Ubuntu 10 host. In this example, I’ll look at using Ubuntu 10.04 Desktop. In many of the previous examples I’ve been looking at Ubuntu 10.10 Server; the reason I’m using 10.04 Desktop here is because I believe there is a smaller learning curve and that inherently Mac OS X Systems Administrators who might be following this thread actually like a GUI. There are a number of aspects of this type of setup that are simply not GUI oriented; however, the base OS can easily be,…
-
QuickTime Streaming Server on Ubuntu 10
OK, so you don’t necessarily call rtsp on Ubuntu QuickTime Streaming Server. Instead, you call it Darwin Streaming Server (DSS). But the end result is basically what you have exposed in Mac OS X Server, but running on Linux. You don’t have the same functionality in Server Admin, but it does work. And the key to what it does is use the rtsp protocol to stream supported files from the server to clients. It is a little tougher than just clicking on the start button, but too much tougher provided you follow these directions (thanks to the good folks of the DSS list that I’ve been a member of for…
-
Ubuntu Server 10 & Active Directory
There are a number of different ways to join Linux systems into an Active Directory domain. One is to use winbind, a popular part of Samba often used for this purpose. However, having had success with the Likewise Open directory services plug-in for Mac I decided to give their Linux solution a shot as well. After all, it is free (as in beer). And I am glad I did (well, I wasn’t when I was using Ubuntu Server 10.10, but backing back down to 10.04 (which is LTS after all) made it all better. To get started, let’s run apt-get to grab and install the likewise-open package: apt-get -y install…
-
Installing phpLDAPadmin
phpLDAPadmin is a tool that can be used to walk LDAP trees and view attributes of objects located within them using a web browser. This isn’t to say that it’s the prettiest tool out there but it works really well and is portable between various flavors of LDAP. Before you can use phpLDAPadmin you will need Apache. In Ubuntu, Apache can be installed using apt-get: apt-get install apache2 Once you have Apache installed, downloading phpLDAPadmin and installing it in Ubuntu Server 10 couldn’t be easier, just apt-get the package: apt-get install phpldapadmin Now you have the pieces, let’s copy phpLDAPadmin into your web root directory: cp -R /usr/share/phpldapadmin /var/www/myphpldapadmin In that…
-
Install ntpd in Ubuntu Server 10
I’m sure you’re getting tired of seeing me regurgitate apt-get commands, but here’s another: apt-get install ntp This will install ntpd. Then a quick update to /etc/ntp.conf to configure who you get your updates from (I still like time.apple.com) and you’re now an ntp server. Once changed, restart the daemon: /etc/init.d/ntp restart Then, use ntpq to check your time against the server: ntpq -np Lucky us, ntp is easy, but we’re gonna’ need it for Kerberos now aren’t we…
-
Enable Jumbo Frames in Ubuntu Server 10
Jumbo frames can completely suck. But they can also boost network throughput performance. The MTU in networking terminologies is the Maximum Transmission Unit in bytes that protocol data can send over the wire. MTU is configured per interface and needs (er, prefers) the network infrastructure to match about the same MTU sizes. By default, eth0 (en0 in Mac OS X) is set to 1500. But increasing that to 9000 means that you’re sending less error correction and addressing data and more payload (but as usual the payload can get messy if all parties aren’t knowledgeable that they’re taking it). Before you get started, install ethtool: apt-get install ethtool Then run…
-
Configure sshd for Ubuntu Server 10
Installing things in Linux is just silly easy these days. Getting them to work just like you want them is a little more complicated, but not that bad really… By default, Ubuntu Server 10 doesn’t come with ssh enabled. To install it, just run apt-get with elevated privileges and tell it to install ssh (aka – openssh-server): apt-get install openssh-server Once that’s complete every user on your system will be able to authenticate via ssh. Go ahead and test out authentication. Provided that it works, it’s time to restrict who can authenticate via ssh. Do so by editing the /etc/ssh/sshd_config file and adding a line that starts with AllowUsers and…
-
afp on Linux via Bonjour
Based on a few messages I got after the article on building netatalk to host afp on Linux, it looks like building netatalk to host your shares just isn’t enough. I guess people still like Bonjour or something… In that case, let’s make this netatalk thingie announce itself to the world (er, your local network)! Avahi is much simpler than netatalk, given that there’s none of this dhx nonsense preventing us from using aptitude (again, this whole thing is for Debian/Ubuntu and you’re gonna’ need to escalate those privileges): aptitude install avahi-daemon Then we’re gonna’ need to teach it about the whole afpd service we built, which is done in…
-
Hosting afp on Linux
One of the main reasons people get a server is to share files. Mac OS X Server is one of the more common devices used to share files to Mac OS X clients, using afp, the default file sharing protocol for Mac OS X. But you don’t have to use Mac OS X Server. You can use Linux as well. We’re going to look at using an open source project called netatalk to do so. If you find that after reading this that you’d like to find out more about netatalk then check out the open source project page at http://netatalk.sourceforge.net. The netatalk installer can be installed through most of…