ispCP - Board - Support
Gentoo Installation - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Documentation (/forum-45.html)
+--- Thread: Gentoo Installation (/thread-2627.html)

Pages: 1 2 3


Gentoo Installation - kevin666 - 03-04-2008 06:06 PM

so the guy that sold me my dedicated server f'd me over. and i got a new one and had to reinstall ispcp. so i decided to keep track of everything i did and add it to the documentation. and i figured i would let everyone know.

http://www.isp-control.net/documentation/start/installation/gentoo

i dont think i missed anything. but i tryed and i think it will help alot of people. even some non-gentoo users. Smile

edit: i just noticed the documentation area of the forums. please move this thread there ;\


RE: Gentoo Installation - gOOvER - 03-04-2008 06:13 PM

Wow thanks Kevin666. I will take a look on it and set it into form Smile

@Mod's: can you move this to Documentation, please!


RE: Gentoo Installation - kevin666 - 03-04-2008 06:29 PM

gOOvER Wrote:Wow thanks Kevin666. I will take a look on it and set it into form Smile

@Mod's: can you move this to Documentation, please!

awesome. im sure you can touch it up alot i kinda just threw it together real quick


RE: Gentoo Installation - Zothos - 03-05-2008 01:59 AM

I have to say, nice work Wink but! ^^

Code:
to disable the annoying admin email notices, edit /var/www/ispcp/gui/include/ispcp-lib.php on line 134 change

$cfg['LOG_LEVEL'] = E_USER_NOTICE;
to
$cfg['LOG_LEVEL'] = E_USER_ERROR;

Code:
make the ssl certs. the postfix already had some made in /etc/ssl/postfix so i just used them. see in my main.cf down lower.

/usr/sbin/mkpop3dcert
/usr/sbin/mkimapdcert
cd /etc/proftpd/
openssl genrsa -des3 -out ssl.key 5120
openssl rsa -noout -text -in ssl.key
openssl req -new -x509 -days 365 -key ssl.key -out ssl.crt
openssl x509 -noout -text -in ssl.crt
cp ssl.key ssl.key.orig
openssl rsa -in ssl.key.orig -out ssl.key

are not gentoo related.

Code:
before we run the setup lets fix a few things so we dont get any errors.

mkdir /etc/ispcp/cron.d/backup
touch /etc/ispcp/cron.d/backup/ispcp
mkdir /etc/ispcp/cron.d/working
touch /etc/ispcp/cron.d/working/ispcp
mkdir /var/log/proftpd
touch /var/log/proftpd/ftp_traff.log
mkdir /var/run/courier
touch /var/log/mail.log

should be fixed by rats

Code:
and change line 201 and 203 or you will have problems adding domains, some of the gid's are taken.

APACHE_SUEXEC_MIN_GID = 2501

APACHE_SUEXEC_MIN_UID = 2501
not gentoo related

Code:
after its installed and no errors, edit /etc/ispcp/ispcp.conf and add these so you can login

CMD_BZCAT = /bin/bzcat
CMD_GZCAT = /bin/zcat
CMD_GZIP = /bin/gzip
ZIP = gzip
im will update the gentoo ispcp.conf i this evening so its not nessesary

Code:
install perl-net-libidn.. isnt in portage anymore no idea why

wget http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-0.10.tar.gz
tar xzf Net-LibIDN-0.10.tar.gz
cd Net-LibIDN-0.10
perl Makefile.PL
make
make install
was in portage a week ago XD so it should be there... Tongue


RE: Gentoo Installation - Zothos - 03-05-2008 04:38 AM

Code:
server zothos # emerge --search libidn
Searching...
[ Results for search key : libidn ]
[ Applications found : 1 ]

*  net-dns/libidn
      Latest version available: 1.0-r1
      Latest version installed: 1.0-r1
      Size of files: 2,318 kB
      Homepage:      http://www.gnu.org/software/libidn/
      Description:   Internationalized Domain Names (IDN) implementation
      License:       LGPL-2.1 GPL-3



RE: Gentoo Installation - kevin666 - 03-05-2008 06:04 AM

that is not the perl version


RE: Gentoo Installation - Zothos - 03-06-2008 04:06 AM

I have currently ispcp running on a gentoo maschine and you need only this package, try it out.


RE: Gentoo Installation - gOOvER - 03-06-2008 05:07 AM

@Zothos: can you check this Docu, maybe rewrite it, so that other User can install ispCP on Gentoo. I haven't any expirience with Gentoo. Thanx Smile


RE: Gentoo Installation - Zothos - 03-06-2008 05:12 AM

sure, when i find a bit freetime... XD


RE: Gentoo Installation - gOOvER - 03-06-2008 05:48 AM

Don't hurry. We have enough time Smile When you find some time, it's ok, when not it's also OK. Smile