HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   The Perfect Setup - Ubuntu 6.06 LTS Server (http://www.howtoforge.com/forums/showthread.php?t=13286)

tommytomato 9th June 2007 11:06

The Perfect Setup - Ubuntu 6.06 LTS Server
 
Hi all when running the commands

Code:

apt-get install binutils cpp cpp-4.0 fetchmail flex gcc gcc-4.0 libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev linux-kernel-headers lynx m4 make ncftp nmap openssl perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++
I get this,

Code:

Couldn't find package zliblg-dev
I took the following package out and it installed, is zliblg-dev needed :confused: how do i install it, I edited the sources.list like it said on the forum when i did a search for ncftp

TT

tommytomato 9th June 2007 11:26

allso when running

Code:

chmod 666 /var/lib/named/dev/null /var/lib/named/dev/random
from the section

Quote:

Make null and random devices, and fix permissions of the directories:

Code:

mknod /var/lib/named/dev/null c 1 3
mknod /var/lib/named/dev/random c 1 8
chmod 666 /var/lib/named/dev/null /var/lib/named/dev/random
chown -R bind:bind /var/lib/named/var/*
chown -R bind:bind /var/lib/named/etc/bind


I get the following error

Code:

chmod: cannot access '/var/lib/named/dev/random' : No such file or
directory

I'm following this step by step

TT

chuckl 9th June 2007 11:43

That is zlib1g-dev - zed ell eye bee one gee, not ell gee.

Regarding your second error, just prior to that the instructions
mkdir /var/lib/named/dev
create the /var/lib/named/dev folder, then the mknod instructions create the null and random devices in that folder. I suggest you check if they exist. If not, repeat until they do.

tommytomato 9th June 2007 11:46

Quote:

That is zlib1g-dev - zed ell eye bee one gee, not ell gee.
Sorry I dont get what you mean :rolleyes:

not sure if i under stand you

TT

tommytomato 9th June 2007 11:53

Quote:

chmod 666 /var/lib/named/dev/null /var/lib/named/dev/random
my system seems to have ramdom

Quote:

chmod 666 /var/lib/named/dev/null /var/lib/named/dev/ramdom
worked for me

I think theres a typo on that page

cant seem to copy and paste my command line from Putty to post to here, I'm using a GUI Ubuntu system

TT

chuckl 9th June 2007 12:06

To install zlib1g-dev, simply type the following when logged in as root

apt-get install zlib1g-dev

where the fifth character of the name is the number 1 (one) not lowercase L (ell).

Typo on the page? Not on my copy of the Internet. 'ramdom' is useless to you, it must be 'random' , so recreate them.

tommytomato 10th June 2007 11:00

Ok I went and did this all again, I dont seem to have any errors this time round.

So were do i go next, I haven't install ispconf

How can i test the mail server, is it possable to test it using another PC on my next work using Evolution :confused:

I see mutt it not installed, I dont know of any other way to test the mail server.

TT

falko 10th June 2007 15:11

Quote:

Originally Posted by tommytomato
How can i test the mail server, is it possable to test it using another PC on my next work using Evolution :confused:

Create a mail account, either with ISPConfig, or if you don't want to install ISPConfig, like this: http://www.howtoforge.com/forums/showthread.php?t=2
Afterwards you can test with Evolution (sending/receiving).

tommytomato 11th June 2007 03:00

Thank you falko

I'll get onto to it soon some time tonight, I have to go to work now

thanks for the help

TT

tommytomato 11th June 2007 04:26

Cool, I dont have to start work till later

So I gave it ago, but I think some thing is wrong

/etc/postfix/local-host-names I dont seem to have that file :confused:

or this file /etc/postfix/virtusertable

Code:

root@rockinghamgateway:/etc/postfix# ls
dynamicmaps.cf  main.cf  master.cf  postfix-files  postfix-script  post-install  prng_exch  sasl  ssl


Here is what I typed in on the command line

Code:

root@rockinghamgateway:~# useradd -d /home/tommytomato -g users tommytomato
root@rockinghamgateway:~# passwd tommytomato
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@rockinghamgateway:~# postconf -e 'virtual_maps = hash:/etc/postfix/virtusertable'
root@rockinghamgateway:~# postconf -e 'mydestination = /etc/postfix/local-host-names'
root@rockinghamgateway:~# postmap /etc/postfix/virtusertable
postmap: fatal: open /etc/postfix/virtusertable: No such file or directory

Post fix seem to start ok

Code:

root@rockinghamgateway:~# /etc/init.d/postfix restart
 * Stopping Postfix Mail Transport Agent postfix                                                      [ ok ]
 * Starting Postfix Mail Transport Agent postfix                                                      [ ok ]
root@rockinghamgateway:~#

Have I missed some thing along the way :confused:

Evolution gives me this error

Quote:

Error while Fetching Mail.

Could not connect to rockinghamgateway.com: No route to host
TT


All times are GMT +2. The time now is 03:38.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.