Jei forume lankaisi pirmą kartą, kviečiame registruotis ir prisijungti prie diskusijų.
PrisijungtiRegistruotisJei forume lankaisi pirmą kartą, kviečiame registruotis ir prisijungti prie diskusijų.
yum install nano -y
wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
nano /etc/yum.repos.d/remi.repo
enabled=1
yum install mysql ntp php php-gd php-json php-mbstring php-pear-MDB2-Driver-mysqli php-pear-Net-Curl php-process php-xml php-zip -y
rpm --import https://download.owncloud.org/download/repositories/stable/CentOS_6_SCL_PHP54/repodata/repomd.xml.key
wget http://download.owncloud.org/download/repositories/stable/CentOS_6/ce:stable.repo -O /etc/yum.repos.d/ce:stable.repo
yum clean expire-cache
yum install owncloud
nano /etc/httpd/conf/owncloud.conf
Įklijuojame kodą (pakeiskite eilutę ServerName į savo serverio pavadinimą):<Directory /var/www/owncloud/>
Options None
Order allow,deny
allow from all
</Directory>
<VirtualHost *:80>
ServerAdmin foo@foofarm.com
DocumentRoot /var/www/html/owncloud
[B]ServerName owncloud.foo.com[/B]
ErrorLog logs/owncloud.foo.info-error_log
CustomLog logs/owncloud.foo.info-access_log common
</VirtualHost>
Redaguojame httpd.conf failą:nano /etc/httpd/conf/httpd.conf
Failo gale pridėkite eilutę:
Include /etc/httpd/conf/owncloud.conf
Perkraukite Apache:service httpd restart
Viskas.