Skip to main content

Install DNS Server

I chose to install djbdns because it's small, simple, and secure. All instructions are located at: http://cr.yp.to/djbdns/install.html On our installation, I had to install gcc. I used rpmdrake. When I run rpmdrake on this machine (Gateway pc, 'dizzy', it comes up and flashes forever. finally I close the small window in front, and the packages come up and things seem to work fine. Anyway, I picked gcc and it found the dependencies and installed them. But at the command 'make', I am getting the error shown below, which I got around with the instructions below: ...stuff deleted ./compile uint32_pack.c ./compile uint32_unpack.c ./makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o byte_zero.o case_diffb.o case_diffs.o case_lowerb.o fmt_ulong.o ip4_fmt.o ip4_scan.o scan_ulong.o str_chr.o str_diff.o str_len.o str_rchr.o str_start.o uint16_pack.o uint16_unpack.o uint32_pack.o uint32_unpack.o ./load auto-str buffer.a unix.a byte.a buffer.a(buffer_put.o)(.text+0x43): In function `allwrite': : undefined reference to `errno' collect2: ld returned 1 exit status make: *** [auto-str] Error 1 Workaround here: http://kerneltrap.org/node/view/1014 they mention a patch to properly define 'errno'. The patch is here: http://moni.csi.hu/pub/glibc-2.3.1/djbdns-1.05.errno.patch (Following the instructions on the former of those 2 links is probably a better idea for next time, since they listed other config steps before install!) In summary, here's what I did: - install gcc and dependencies - verify daemontools and ucspi-tcp are installed (they are in our default install) - download djbdns - unzip and untar djbdns - download that patch - run that patch command:
patch -p1 < ../djbdns-1.05.errno.patch  Then run make, etc as defined before you run make. The rest of the instructions are fine.


[root@dizzy djbdns-1.05]# make setup check

no directories got created.... i'm totally stuck...
maybe i should have used urpmi...

Comments

Popular posts from this blog

Virus scan Windows using a Linux live CD

[There's been quite a bit of interest in this post and I've expanded on it quite a bit. Please post any comments or questions to help me improve this guide. - Neil] Keith and I have both run into situations where we want to recover a Windows computer by cleaning it up with a Linux Live (bootable) CD distro. This offers several advantages to cleaning up an infected or compromised computer by booting into Windows: It prevents the malware, if it exists, from jumping from the infected computer or partition we are trying to fix to the repair partition or boot medium.If we boot from a CD, there's actually no way to alter the boot medium, since it's read-only. Naturally, we started with Knoppix -- download it here. Installing and scanning with F-Prot is covered in this Knoppix.net discussion thread, Virus Scan from LiveCD, which describes how to install F-Prot from the command line using apt-get. Also, In Knoppix 5.1, you can boot from the Knoppix CD and install F-Prot wi…

1Password on Ubunutu

One of the biggest barriers preventing me from using Ubuntu as my primary desktop OS used to be my favorite password manager, 1Password. I use it on the Mac, Windows, iOS, and Android and couldn't really function without it.

For a while I could use it on any computer running a web browser using the 1Password Anywhere browser only implementation, with Dropbox. But Dropbox no longer supports that option (not sure why, but that's the way it goes).

I was thrilled to discover that 1Password 4.6 for Windows runs quite reliably on Ubuntu via Wine. Even better, the Browser Helper program also runs on Wine, which means I can also use the nifty browser add-ons to auto-fill web logins.

Installation was super easy. I installed Configure Wine from the Ubuntu Software app, and just like that, I could run Windows applications. I then followed the excellent instructions on the Agile Bits support site, Running 1Password for Windows on Linux systems. It worked just as advertised, and now I am …

Joomla 1.5 Directory Status: Writeable

[UPDATED] Joomla 1.5 is acting flaky on one of our installations because the directories are set to ‘unwriteable’. To see the their current state, log in as Super Administrator and go to Help > System Info > Directory Permissions. Elsewhere, it's been suggested that the specified directories must be set to “world-writeable” (777). This works, but it is a very bad idea, since it means anyone can change your files! Not cool. Fixing Security with User and Group Settings To perform these changes, you need shell (command line) access to your server. If you don't have it, you can beg your host to make these changes for you, or switch to a Joomla-friendly host. I'm going to assume that you are using a LAMP (Linux/Apache/MySQL/PHP) server because if you're not, then ... well, these instructions should work in principle, but the specifics for your server may be quite different. Here's the issue: you, the FTP user, need full access to your files. So does Joomla, wh…