Back at the beginning of August my daughter told me that she was starting her "practical" working for a company that uses a Debian Etch server, and she (nor I) have any hands-on experience working with Linux servers. She's been given a few projects using Joomla to help update the site (from what I gather) only to find that she was experiencing problems handling the linux side of it. I have a very small amount of experience with knoppix, ubuntu, fedora and a few others so I am not scared about getting my feet wet on yet one more distro. I said I would build a Debian server for her, so that she could dig and discover

It also gives me the motivation to dig & discover too!
I have some old PC's that are ideal for the purpose and around beginning August started to follow the The Perfect Setup - Debian Etch (Debian 4.0) tutorial not getting much farther than Page 3 until I found a vi cheat sheet .. apart from lack of time, forgetting the passwords used, not understanding what was to be done etc and getting myself out of trouble, I also had visitors that kept me away from my project from 15th Sept until 4th October.
Whilst I was getting ahead though I must have re-installed the basic system some 20 times. I also tried to make files on my CD2USB Ubuntu HDD installation which I used to copy said files over to the Debian installed HDD. All good fun and a great learning experience for a noob like me .
to get to the point though .. by the time I returned to my project on 5th October I had managed to get the vi cheat sheet and proceeded a bit farther into the installation and arriving at a point where to the point where I had proceeded to
Code:
vi /etc/default/syslogd
only I just couldn't find the file to edit !!
it was after several repeat installs that I realised that I was no longer installing ETCH but in fact LENNY!!
On another forum I am member of, one of the linux guys pointed me at the
The Perfect Server - Debian Lenny (Debian 5.0) tutorial and I downloaded the latest 5.03 Netinst CD then followed instructions.
Only point is that things haven't gone quite the same way as they had earlier although I don't know if I am to blame for that by jumping a step and then going back over my tracks !!
This part of installing ETCH was working well but the same "equivalent" part for LENNY seems to bring an error finding the hostname .
ETCH
Quote:
vi /etc/hosts
Quote:
127.0.0.1 localhost.localdomain localhost
192.168.0.100 server1.example.com server1
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
|
Now run
Code:
echo server1.example.com > /etc/hostname
and reboot the system:
Afterwards, run
Code:
hostname
hostname -f
Both should show server1.example.com.
|
The above works ..
This bit below doesn't !! ( I am using 192.168.1.100 and by accident I missed the apt-get install ssh openssh-server step and installed it after this failed first time.. running the loop again didn't seem to help at all ..
LENNY
http://www.howtoforge.com/perfect-se...-ispconfig2-p3
Quote:
vi /etc/hosts
Quote:
127.0.0.1 localhost.localdomain localhost
192.168.0.100 server1.example.com server1
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
|
Now run
Code:
echo server1.example.com > /etc/hostname
/etc/init.d/hostname.sh start
Afterwards, run
Code:
hostname
hostname -f
Both should show server1.example.com.
|
What I get at this pooint is this
Code:
hostname -f
hostname: hostname look up failure
when I first got the error I checked that I had given all the correct commands in vi & CLI .. no typos and no accidents. I realised that I had forgotten to install openssh-server, installed it, tried hostname -f again, re-ran all the instructions again but each time came back to the same error .. and now I am wondering .. do I start over again ( no problem , the more the better, I'll become an expert

) or is there something that shoukld have been mentioned but wasn't !!
your help and expertise will be gratefully appreciated
Thanks
I have tried the missing "reboot" instruction but that didn't help either
Recent comments
22 hours 21 min ago
1 day 5 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 18 hours ago
2 days 4 hours ago
2 days 5 hours ago
2 days 8 hours ago
2 days 13 hours ago
2 days 13 hours ago