Current time: 12-24-2024, 06:26 AM Hello There, Guest! (LoginRegister)


Post Reply 
Gentoo Installation
Author Message
kevin666 Offline
Junior Member
*

Posts: 15
Joined: Jan 2008
Reputation: 1
Post: #1
Exclamation Gentoo Installation
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...ion/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 ;\
(This post was last modified: 03-04-2008 06:10 PM by kevin666.)
03-04-2008 06:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: Gentoo Installation
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!
03-04-2008 06:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kevin666 Offline
Junior Member
*

Posts: 15
Joined: Jan 2008
Reputation: 1
Post: #3
RE: Gentoo Installation
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
03-04-2008 06:29 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #4
RE: Gentoo Installation
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
03-05-2008 01:59 AM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #5
RE: Gentoo Installation
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
03-05-2008 04:38 AM
Find all posts by this user Quote this message in a reply
kevin666 Offline
Junior Member
*

Posts: 15
Joined: Jan 2008
Reputation: 1
Post: #6
RE: Gentoo Installation
that is not the perl version
03-05-2008 06:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #7
RE: Gentoo Installation
I have currently ispcp running on a gentoo maschine and you need only this package, try it out.
03-06-2008 04:06 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #8
RE: Gentoo Installation
@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
03-06-2008 05:07 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #9
RE: Gentoo Installation
sure, when i find a bit freetime... XD
03-06-2008 05:12 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #10
RE: Gentoo Installation
Don't hurry. We have enough time Smile When you find some time, it's ok, when not it's also OK. Smile
03-06-2008 05:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)