The Artima Developer Community
Sponsored Link

Python Buzz Forum
Setting up a new Debian server

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Phillip Pearson

Posts: 1083
Nickname: myelin
Registered: Aug, 2003

Phillip Pearson is a Python hacker from New Zealand
Setting up a new Debian server Posted: Jun 3, 2004 4:44 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Phillip Pearson.
Original Post: Setting up a new Debian server
Feed Title: Second p0st
Feed URL: http://www.myelin.co.nz/post/rss.xml
Feed Description: Tech notes and web hackery from the guy that brought you bzero, Python Community Server, the Blogging Ecosystem and the Internet Topic Exchange
Latest Python Buzz Posts
Latest Python Buzz Posts by Phillip Pearson
Latest Posts From Second p0st

Advertisement
apt-get install emacs21
    i need my editor :)
emacs /etc/hostname
    change hostname.
apt-get remove exim
    otherwise we can't install qmail...
apt-get remove portmap
    who needs nfs on a web server anyway?
emacs /etc/inetd.conf
    comment everything out.
/etc/init.d/inetd restart
apt-get install ucspi-tcp-src
build-ucspi-tcp
apt-get install qmail-src
build-qmail
    right, now qmail is in.
apt-get install logrotate
emacs /etc/lilo.conf
    add initrd=/initrd.img
emacs /etc/kernel-img.conf
    add do_initrd = Yes
apt-get install kernel-image-2.4.18-686
emacs /etc/modules
    add eepro100
apt-get install hdparm
hdparm -t /dev/hda
    damn that's slow! probably dma is off ...
hdparm -d1 /dev/hda
hdparm -t /dev/hda
    much better now!
emacs /etc/init.d/phil-hdparm
    add hdparm -d1 /dev/hda
chmod +x /etc/init.d/phil-hdparm
update-rc.d phil-hdparm defaults
cd /boot
mkdir safe
cp *2.2* safe/
emacs /etc/lilo.conf
    copy the previous OK config to a new 'Linux22SAFE' config, and make that the default
lilo -v -v
reboot
    ok, that worked (with the safe config)
lilo -R Linux
reboot
    phew! it rebooted ok! we now have a 2.4 kernel in action!
cd /boot
cp *2.4* safe/
emacs /etc/lilo.conf
    copy all the working kernel stuff to a new 'Linux24SAFE' config
lilo -v -v
lilo -R Linux24SAFE
reboot
    still working!
emacs /etc/lilo.conf
    change default to the working kernel.
lilo -v -v
reboot
    and it goes still! we're done with the kernel now.
apt-get install apache php4 mysql-server
apt-get install python2.2 python2.2-egenix-mxdatetime python2.2-mysql
    i would install python2.3, but i'm trying to stick to debian stable here.
apt-get install bind9

OK, now we're getting there. I've got my server mostly set up -- running a stable but fast kernel image, and with all the tools I need. Now to start copying stuff over from the old (virtual) FreeBSD server. This should be interesting - do all my web bits and pieces run on Linux???

The server is one of Layered Tech's $35 dedicated servers, BTW. Both cheaper and more powerful than the old server ... hopefully everything will stay up OK :)

Comment

Read: Setting up a new Debian server

Topic: Heart Transplants For Fun And Profit Previous Topic   Next Topic Topic: Like Calls To Like Across The Vasty Deep

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use