HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Debian - The Perfect Server Setup (http://www.howtoforge.com/forums/showthread.php?t=50797)

micko_escalade 4th January 2011 08:40

Debian - The Perfect Server Setup
 
Hi all,

phpMyAdmin on my server was attacked with this exploit
http://www.google.com/support/forum/...e288d60f&hl=en
and there's so many tables that were filled with code to the point of no repair.
I was running FC8 and today I decided to make a switch to Debian. I'm hoping its good decision because I was debating between FC14 and CentOS? Mostly I'm worried about dependencies when installing something.

I would like to install ISPConfig 3 and make whole server more secure so this or something else does not happen again.

Right now I'm in process of backing up all my files to a attached USB drive in data center and after that I was gonna start "The Perfect Server Setup".

Can someone please provide me with link to most current ISO so that people at the data center can burn on DVD/CD and I can start install process with help howto on this site.

Also, does "The Perfect Server - Debian Lenny" for ISPConfig 3 exist?

Thanks in advance!

falko 5th January 2011 13:34

Quote:

Originally Posted by micko_escalade (Post 247989)
Can someone please provide me with link to most current ISO so that people at the data center can burn on DVD/CD and I can start install process with help howto on this site.

http://debian.org/CD/netinst/#netinst-stable

Quote:

Originally Posted by micko_escalade (Post 247989)
Also, does "The Perfect Server - Debian Lenny" for ISPConfig 3 exist?

Yes:
http://www.howtoforge.com/perfect-se...nny-ispconfig3
http://www.howtoforge.com/perfect-se...ot-ispconfig-3

micko_escalade 5th January 2011 17:00

Thanks Falko!

I thought my thread will go into archives for no replies :)
Wow, CD image is so small. Hopefully I won't run into any problems during the install.

I know you're supporter of Debian but can you tell me when comes to dependencies is Debian "better" then CentOS?

Like I said I was using FC8 for a while and had troubles with dependencies when installing various packages.

falko 6th January 2011 15:04

Quote:

Originally Posted by micko_escalade (Post 248101)
Wow, CD image is so small. Hopefully I won't run into any problems during the install.

I always use the netinstall image and never had any problems. :)

Quote:

Originally Posted by micko_escalade (Post 248101)
I know you're supporter of Debian but can you tell me when comes to dependencies is Debian "better" then CentOS?

Yes.

micko_escalade 7th January 2011 07:07

Quote:

Originally Posted by falko (Post 248145)
I always use the netinstall image and never had any problems. :)


Yes.

Thanks!
..

micko_escalade 12th January 2011 08:35

I installed VM virtualbox and downloaded above net install .iso
I'm trying to test it first before I start messing with it on a real server.
Couple of questions:

1. What's the difference between BIND+Dovecot and MyDNS+Courier? which one is better?
2. In step 6 http://www.howtoforge.com/perfect-se...ispconfig-3-p3 it talks about setting up a static ip but my server has only public ip, how do I set that up?

Thanks!

falko 13th January 2011 17:52

Quote:

Originally Posted by micko_escalade (Post 248562)
1. What's the difference between BIND+Dovecot and MyDNS+Courier? which one is better?

Both work equally good; personally, I'd go for BIND + Courier, but that's just my preference. :)

Quote:

Originally Posted by micko_escalade (Post 248562)
2. In step 6 http://www.howtoforge.com/perfect-se...ispconfig-3-p3 it talks about setting up a static ip but my server has only public ip, how do I set that up?

If the VM is in a LAN, you can use an unused local IP. If it's not in a LAN, and you just have one public IP which in in use already by the host, then you need to get another public IP.

micko_escalade 13th January 2011 22:33

Thanks!
I will go with Bind+Dovecot setup.
I've contacted my host and they provided me with Gateway IP and other info so Debian basic install went fine.

Now under #7 on this setup guide http://www.howtoforge.com/perfect-se...ispconfig-3-p3
it says to add
Code:

deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
but in my current /etc/apt/sources.list
I have this
Code:

#
# deb cdrom:[Debian GNU/Linux 5.0.7 _Lenny_ - Official i386 NETINST Binary-1 20101128-01:05]/ lenny main

#deb cdrom:[Debian GNU/Linux 5.0.7 _Lenny_ - Official i386 NETINST Binary-1 20101128-01:05]/ lenny main

deb http://ftp.us.debian.org/debian/ lenny main
deb-src http://ftp.us.debian.org/debian/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

Only difference is that setup guide has contrib non-free
do I just add another line on the buttom?
Code:

deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

till 14th January 2011 11:46

Quote:

do I just add another line on the buttom?
No. The volatile repository lines are ok. Just proceed with the next step in the tutorial.

falko 14th January 2011 14:29

You can simply add contrib non-free at the end of your existing volatile.debian.org lines.


All times are GMT +2. The time now is 20:54.

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