Autor Thema: OFORK auf CentOS  (Gelesen 2504 mal)

April 10, 2019, 08:56:34 Vormittag
Gelesen 2504 mal

Schumacher68

  • *
  • Information
  • Newbie
  • Beiträge: 8
    • Profil anzeigen
Hallo,
übrigens ist der FORK Spitze.

Hier eine kleine Anleitung zur Installation auf CentOS


setenforce Permissive
yum install -y nano
nano /etc/selinux/config
yum install httpd mariadb-server -y
systemctl start httpd
systemctl start mariadb
systemctl enable httpd
systemctl enable mariadb
cd /opt
wget https://ftp.o-fork.de/ofork-8.0.1.tar.gz
tar xzf ofork-8.0.1.tar.gz
mv ofork-8.0.1 ofork
yum install bash-completion "perl(Archive::Zip)" "perl(Crypt::SSLeay)" "perl(IO::Socket::SSL)" "perl(LWP::UserAgent)" "perl(Net::DNS)" "perl(Net::LDAP)" "perl(Template)" "perl(XML::LibXML)" "perl(XML::LibXSLT)" "perl(XML::Parser)" "perl(YAML::XS)" "perl(YAML::XS)" "perl(Authen::NTLM)" "perl(Mail::IMAPClient)" "perl(JSON::XS)" "perl(Encode::HanExtra)"  "perl(DBD::Pg)" "perl(Crypt::Eksblowfish::Bcrypt)" perl-core procmail -y   
perl /opt/ofork/bin/ofork.CheckModules.pl
yum install "perl(DateTime)“
useradd -d /opt/ofork -c 'OFORK user' ofork
usermod -G apache ofork

perl -cw /opt/ofork/bin/cgi-bin/index.pl
perl -cw /opt/ofork/bin/cgi-bin/customer.pl
perl -cw /opt/ofork/bin/ofork.Console.pl

yum install httpd mod_perl

 ln -s /opt/ofork/scripts/apache2-httpd.include.conf /etc/httpd/conf.d/zzz_ofork.conf
systemctl restart httpd
cd /opt/ofork/
bin/ofork.SetPermissions.pl

nano /etc/my.cnf
max_allowed_packet=64M
query_cache_size=64M
innodb_log_file_size=256M
rm -f /var/lib/mysql/ibdata1 /var/lib/mysql/ib_logfile*

mysql
CREATE DATABASE ofork CHARACTER SET utf8;
GRANT ALL PRIVILEGES ON ofork.* TO 'ofork'@'localhost' IDENTIFIED BY 'Passwort';
FLUSH PRIVILEGES;
exit
systemctl restart mariadb

systemctl disable firewalld
systemctl stop firewalld
http://192.168.XX.XX/ofork/installer.pl

su ofork
/opt/ofork/bin/ofork.Daemon.pl start
exit
 cd /opt/ofork/var/cron
for foo in *.dist; do cp $foo `basename $foo .dist'; done
su ofork
 /opt/ofork/bin/Cron.sh start

April 10, 2019, 08:59:26 Vormittag
Antwort #1

ofork

  • *****
  • Information
  • Newbie
  • Administrator
  • Beiträge: 27
    • Profil anzeigen
Hallo,

vielen Dank für die Anleitung, wird sicherlich für einige nützlich sein.

OFORK - Team