The bash error gives it away. You need to quote your parameters if they
contain special character so the shell doesn't interpret them.
On Tue, Sep 17, 2013 at 3:40 PM, Alex Muir <alex.g.muir(a)gmail.com> wrote:
Hi Mark,
So I'm a little bit further along but still getting stuck. I'm not sure
what scriptpath is to be relative to (/var/www ?) nor why I get no such
file or directory for both scriptpath and confpath. I configure apache
virtual host settings for the wiki prior to install? Does it matter?
maintenance$ php install.php php install.php --name=ELT --admin=admin
--pass=xx& --scriptpath=/elt.x.com/public_html/wiki/ --lang=en
--dbtype=mysql --dbserver=localhost --dbname=wiki --dbprefix=smw
--installdbuser=root --installdbpass=1689twentyfour& --dbuser=root
--dbpass=xx& --confpath=/var/www/
elt.x.com/public_html/wiki/mediawiki-1.21.2/
[1] 18873
[2] 18874
[3] 18875
-bash: --scriptpath=/elt.x.com/public_html/wiki/: No such file or
directory
-bash: --confpath=/var/www/elt.x.com/public_html/wiki/mediawiki-1.21.2/:
No
such file or directory
ec2-user@ELT:/var/www/
elt.x.com/public_html/wiki/mediawiki-1.21.2/maintenance$ --dbuser=root:
command not found
Regards
Alex
On Fri, Sep 13, 2013 at 3:10 PM, Mark A. Hershberger <mah(a)everybody.org
wrote:
On 09/13/2013 01:51 PM, Alex Muir wrote:
> I'm trying to setup some scripts to configure a fresh ubuntu server and
> install the semantic media wiki automatically or least
sem-automatically.
I've
got up to the maintenance/install.php script. When I run the
following
command I'm immediately logged out of the
ubuntu server and have to log
in
again. No install is performed and no error
message is presented.
I don't understand why this would log you out but I can say that you
shouldn't be using sudo to do this. Also, you are using parameters in
the wrong way. Instead of "--db:prefix:smw" you would use
"--db-prefix=smw".
I did a lot of the work to adapt Chad's web-based installer to the CLI.
Thanks for pointing out the lack of documentation for this. I'll work
on improving it and I appreciate any further feedback you have.
Mark.
--
Mark A. Hershberger
NicheWork LLC
717-271-1084
--
-
Alex Muir
http://ca.linkedin.com/pub/alex-muir/36/ab7/125
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l