Command line

Status
Not open for further replies.

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
The web software I'm running (mediawiki) requires command line access for a few installation scripts, among other things, and I was wondering how do I go about requesting an administrator to do this (I know that you don't give out SSH to free users, which is why I'm not asking). I know the commands that need to be run, but I'd rather not make them publicly available if at all possible. I also know that I shouldn't pm the admins unless asked to do so, so I'm in a conundrum. How should I request that these commands be carried out?
 

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
You don't have to run any commands to get mediawiki working.
The database stuff you do in cPanel.
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
You don't have to run any commands to get mediawiki working.
The database stuff you do in cPanel.

I have the base software working just fine, but I need to run installation scripts for some extensions I want to include (namely, CheckUser and IRC Chat (also, please excuse me if the IRC Chat violates the terms of service, I didn't see anything in there against having an IRC Client, but if that is disallowed, I will pursue the idea no further)).
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
No IRC is allowed on our servers. I don't see anything about SSH in CheckUser you should be all set.
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
I beg to differ (about the CU part). In CheckUser, it says here (in step 2): "open up command line and run install.php".

The path to the file is
Code:
http://maplestreetwiki.x10hosting.com/w/extensions/install.php
so if you could just do that... I'll get out of your guys' hair :)

As for the IRC, it might be helpful to add a clause about that to the terms of service so questions like mine don't come up in the future.
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Seems to be an error with the script when I run it, if you could see what the problem is I would try again.

[root@stoli extensions]# php install.php

Warning: require_once(/home/skizzerz/public_html/w/extensions/../../maintenance/commandLine.inc): failed to open stream: No such file or directory in /home/skizzerz/public_html/w/extensions/install.php on line 7

Fatal error: require_once(): Failed opening required '/home/skizzerz/public_html/w/extensions/../../maintenance/commandLine.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/skizzerz/public_html/w/extensions/install.php on line 7
[root@stoli extensions]#
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
I think I've corrected the mistake in the .php file to account for the extra directories in front. Try it again now.
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Alright, you should be all set now.

[root@stoli extensions]# php install.php
...cu_changes table added.
...cu_changes table added and populated.
[root@stoli extensions]#
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Users problem was solved, closed. If you need any more help please reopen this topic or create a new one.
 
Status
Not open for further replies.
Top