K
K
krylovlf2014-04-09 08:02:48
Apache HTTP Server
krylovlf, 2014-04-09 08:02:48

CentOS + Bitrix + ownCloud - how to raise?

Good afternoon, it became necessary to raise ownCloud on a combat VM with CentOS and Bitrix.
What I did:
1. installed own and the necessary components suggested by the installer
2. moved everything to /home/own/www/owncloud
3. gave 0770 rights to the Bitrix user
4. created /etc/httpd/bx/conf/own.conf

<IfModule mod_alias.c>
Alias /own /home/own/www/owncloud/
</IfModule>
<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot /home/own/www/owncloud/
<Directory /home/own/www/owncloud/>
   Options None
   Order allow,deny
   allow from all
</Directory>
</VirtualHost>

5. on the link ip/own/index.php got an error:
Error while trying to create admin user: could not find driver

6. corrected in /home/own/www/owncloud/lib/private/db.php
$type = OC_Config::getValue( "dbtype", "mysql" );
Now when entering the start page it says
Ваша папка с данными и файлы возможно доступны из интернета потому что файл .htaccess не работает.
Для информации, как правильно настроить Ваш сервер, пожалуйста загляните в документацию.

And if you fill in all the points, then an error is added again
Error while trying to create admin user: could not find driver

Also, the page itself looks kind of " stupid ", i.e. no style or decoration.
It seems to me that either there is a problem with the rights, or the Indian config is incomplete, I will be glad for any hint, I have already stuck in the wall.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Brovko, 2014-04-11
@cyber01

And if you look at the Apache logs? There, anyone will see what data is requested. Check the paths.

K
krylovlf, 2014-04-11
@krylovlf

everything, won, a lot of things were wrong.
Conclusion:
do not use Bitrix or ready-made VMs from 1s.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question