Roundcube Community Forum

 

how to set up roundcube 0.9.5 from command line?

Started by cong, July 26, 2014, 01:56:58 PM

Previous topic - Next topic

cong

greetings.

I need to set up that version of roundcube, with sqlite, for reasons not relevant now, on a centos 6 server. I have installed it from rpm which is also mandatory for me, but does NOT have the /installer/ subfolder

I have to do it from the command line, which is fine... as long as i  know what to do. There seems to be no documenttion about how to put into the sqlite.db database user name, password, whatever... what exact commands shoudl I issue? What are the var names etc
thanks


cong

Quote from: SKaero on July 26, 2014, 05:15:01 PM
http://trac.roundcube.net/wiki/Howto_Install#ShellScript

I did not mention explicitly that I had already found that script myself before posting... but only because I had explicitly written:

"I need to set up that version (=the one I had written in the Subject) of roundcube, with sqlite, for reasons not relevant now, on a centos 6 server. I have installed it from rpm which is also mandatory for me"

that script is useless in the setup I have explicitly specified. It should be rewritten almost line by line to work after an rpm install (there is no config/ subfolder anywhere, a main.inc instead of a config.inc, service is httpd and not apache2...), and it would still NOT do what I had explicitly asked, that is use sqlite instead of mysql.

Where is the documentation to read, in order to install as I actually asked?

Thanks,

ABerglund

Who built the rpm? Perhaps they can assist with the necessary script.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

alec

$rcmail_config['db_dsnw'] = 'sqlite:////full/path/to/sqlite.db?mode=0646';

That's all you need to use sqlite, and of course PHP's PDO SQLite extension installed.