forked from lxcenter/kloxo
/
how-to-install.txt
110 lines (73 loc) · 3.04 KB
/
how-to-install.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
A. pre-install -- better for fresh install
cd /
# update centos to latest version
yum update -y
# install some packages like package-cleanup, etc
yum install yum-utils yum-priorities vim-minimal subversion curl zip unzip -y
yum install telnet wget -y
setenforce 0
echo 'SELINUX=disabled' > /etc/selinux/config
cd /
B. Install Kloxo-MR (select B.1 or B.2)
B.1 For Dev (alpha, beta, candidate) Release:
B.1.1. via non-RPM (not recommended for dev)
- Install/reinstall/upgrade -- data not destroyed with this fork
for existing kloxo (6.1.x), run 'sh /script/update' first.
# move to /
cd /tmp
# delete if exist, create kloxo temp dir
rm -rf /tmp/kloxo; mkdir /tmp/kloxo ; cd /tmp/kloxo;
rm -f ./kloxo-mr-dev.sh
# get kloxo-mr-dev installer from github
wget https://github.com/mustafaramadhan/kloxo/raw/dev/kloxo/install/kloxo-mr-dev.sh --no-check-certificate
# install kloxo
sh ./kloxo-mr-dev.sh
# better reboot
reboot
B.1.2. via RPM (recommended for dev)
# move to /
cd /tmp
# get repo file -- no need for 6.5.0.c and after
wget https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/noarch/mratwork-testing-0.0.1-1.noarch.rpm --no-check-certificate
rpm -ivh mratwork-testing-0.0.1-1.noarch.rpm
#rpm -ivh https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/noarch/mratwork-testing-0.0.1-1.noarch.rpm
# move to /
cd /
# update
yum update mratwork-* -y
yum clean all
yum install kloxomr -y
B.2. For Final Release:
- Install/reinstall/upgrade -- data not destroyed with this fork
for existing kloxo (6.1.x), run 'sh /script/update' first.
# move to /
cd /tmp
# get repo file -- no need for 6.5.0.c and after
wget https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/noarch/mratwork-release-0.0.1-1.noarch.rpm --no-check-certificate
rpm -ivh mratwork-release-0.0.1-1.noarch.rpm
#rpm -ivh https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/noarch/mratwork-release-0.0.1-1.noarch.rpm
# move to /
cd /
# update
yum update mratwork-* -y
# additional step for update from Kloxo official
mv -f /etc/yum.repos.d/lxcenter.repo /etc/yum.repos.d/lxcenter.nonrepo
# to make sure uss latest version of OS
yum clean all
yum update -y
sh /script/convert-to-qmailtoaster
# install
yum install kloxomr -y
sh /script/upcp -y
# better reboot
reboot
WARNING:
1. Need running 'sh /script/backup-patch' in Kloxo Official (6.1.12) before backup data.
- In Kloxo offical run:
cd /script
wget https://github.com/mustafaramadhan/kloxo/raw/dev/kloxo/pscript/backup-patch
sh ./backup-patch
2. Since 6.5.0.f-20130701, Kloxo-MR using MySQLi API instead MySQL API. Need update mysql 5.0.x to 5.1.x or above for Centos 5.
- Check mysql version with:
mysql -V|awk '{print $5}'
- Update with 'yum replace mysql --replace-with=mysql55' (ask to forum for update to MariaDB)