Ticket #942: yum_install.txt

File yum_install.txt, 3.5 kB (added by RomanK, 11 months ago)
Line 
1 Log in to you Server with "root" we need this for compiling later and changing some things
2
3 Fist of all you had to update our system with
4 "yum update"
5
6 I head some problems working with an LAMP and SELINUX so I disable it.
7 "vi /etc/selinux/config"
8 change
9 "SELINUX=enforcing"
10 to
11 "SELINUX=disabled"
12
13 Next of all change the hostname in the /etc/hosts to you FQDN
14
15 "vi /etc/hosts"
16
17 I had to add the folowing lines.
18 127.0.0.1 tsrv.rok-bln.local tsrv localhost.localdomain localhost
19 172.16.10.188 tsrv.rok-bln.local tsrv
20 Remember the name here tsrv.rok-bln.local is my hostname of the server. Change it to you name e.g. server.domain.com
21
22 In the next step restart the server to make the changes work.
23
24 "shutdown -r now"
25
26 Welcome back, now you shud see you hostname in the shell
27
28 Something like this:
29 "[root@tsrv ~]#"
30
31 If not, you had to change the hostname in /etc/hosts because something went wrong.
32
33 Ok, now we can start with the installation of the essentials Tools for iscpCP. (Don't wonder, here are a lot of things that are allready installd but if somewhere not you'll install everything in this step
34
35 yum install httpd httpd-devel courier-authlib courier-authlib-mysql courier-imap courier-pop bzip2 diffutils gcc gcc-c++ postrgey gzip postfix make mysql mysql-devel mysql-server php-mysql php php-pear php-gd php-cgi php-imap php-mcrypt php-mhash procmail proftpd proftpd-mysql rkhunter cyrus-sasl cyrus-sasl-devel cyrus-sasl-lib openssl bind bind-utils
36
37 on my x86 server i had to install the bind-libs for i386 before I whas able to install the bind-devel!
38
39 "wget ftp://rpmfind.net/linux/fedora/core/updates/6/i386/bind-libs-9.3.4-8.P1.fc6.i386.rpm"
40 "rpm -ihv bind-libs-9.3.4-8.P1.fc6.i386.rpm"
41
42 "yum install bind-devel"
43
44 Now we need some Perl things.
45 "cpan"
46 if you run cpan the first time, it will ask some things. You can accept the default things with enter.
47
48 When it's configured fine you'll see:
49
50 "cpan> "
51
52 enter here:
53 "install MIME::Entity MIME::Parser Crypt::CBC Crypt::Blowfish Crypt::PasswdMD5 Term::ReadPassword"
54
55 Caution, cpan will ask to intstall some depensities, accept them all. If not, the setup will went wrong.
56
57 Wee need to set the root password for the mySQL
58
59 service mysld start
60 mysqladmin -u root password XXXXXX (replace the XXX with you password and remember it!)
61
62 Ok, we now ready to install ispCP,
63
64 download the daly Snapshot or a stable version (if there ist some one :) )from
65
66 http://www.isp-control.net/download.html
67
68 In my case, the folowing:
69 wget http://www.isp-control.net/downloads/snapshots/ispcp-omega-trunk-20080102.tar.gz
70
71 umtar it
72
73 tar xfzv ispcp-omega-trunk-20080102.tar.gz
74
75 In the case of a daly snapshot go to:
76 cd web/svn/nightly
77 on an stable version it should be something like
78 cd ispcp-1.0.0/
79
80 ok, we can start compiling now :)
81
82 don'f forget to set the -f Makefile.fedora for the right pathes.
83
84 "make -f Makefile.fedora install"
85
86 If everything went rigt copy the files to you system (some people will now make a backup of the System :) )
87
88 "cp -Rvf /tmp/ispcp-1.0.0/* /"
89
90 Look for Errors and if there some, copy the files manualy
91
92 When alle files are copied, start with the installation script:
93
94 "cd /var/www/ispcp/engine/setup"
95 "./ispcp-setup"
96
97 The Setup will ask some question whitch you have to answer. If everything went rigth until now you will see the rigt settings in the [ ] (default settings by the setup)
98
99 We are done, login to ispCP with http://admin.yourdomain.com
100
101 Enjoy!