Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-06-2011, 12:01 AM   #1
LQ Newbie
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
installing wikimedia with ssh tunnel

Hi all
I have a final assignment for this semestem and im stuck at 1 part.
i installed mysql and httpd on my server then installed wikimedia using yum wikimedia install.

now the questions says

1. Edit MediaWiki's httpd configuration file, /etc/httpd/conf.d/mediawiki.conf Uncomment the first two Alias lines
Reload the httpd configuration using the service command

2. Access http://localhost/wiki on the machine on which the web server is running (this will not work if done remotely, unless you use an ssh tunnel so that the access appears to be coming from the local host). You will see the MediaWiki welcome page; click on the setup link.

ive done step 1 correctly.

so now on option 2

when i go to http://localhost/wiki

i get this error:
You don't have permission to access /wiki/ on this server.

now the question on the assignment says that i have to use ssh tunnel so the access appears to be coming from localhost.

can any one help me with this please?

i'm not requesting any one to solve my assignment as i know the rest of it ( im onlu stuck at this questions where i cant access the wiki to complete the installation.

any help would be appreciated

Thanks again
Old 04-18-2011, 04:42 PM   #2
LQ Newbie
Registered: May 2009
Location: Kapiti, NZ
Distribution: Fedora 14
Posts: 9

Rep: Reputation: 1
Hmmm, I'm not 100% about your setup but the "Forbidden" error comes from a machine, running a webserver - could it be the same machine?

Regardless, to seup an SSH tunnel you need access to the command line and have the ssh client installed.

An SSH "tunnel" is simply a "hole" through the secure connection whose ends are local port on the client machine used to access the server, and a port on the server.

Seeing as you're being a good student and want to figure this out for yourself (you will go far with this attitude :-), type 'man ssh' and search for 'tunnel' in the man page.

Tip: You need to invoke ssh from your client (presumably running Linux, but you could use the 'putty' ssh client if you're on Windows) pass it a local port (say 8081) and a remote port to 'map' the local port to (localhost will be running on the default webserver port 80). You will also need to pass it some user credentials and therefore presumes you have an account on the server - which you should do if you've managed to setup some software on it.

That should do you :-)
Good luck
1 members found this post helpful.
Old 04-26-2011, 05:20 AM   #3
LQ Newbie
Registered: Apr 2011
Posts: 2

Original Poster
Rep: Reputation: 0
Issue resolved


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH Tunnel derzok Linux - Networking 2 06-04-2010 10:20 AM
ssh tunnel ramesh14 Linux - Newbie 2 12-30-2008 02:11 AM
setting up an ssh soxy or local ssh tunnel from within an ssh soxy Mangenius Linux - Networking 0 03-05-2007 04:15 PM
Ssh Tunnel tinaa Linux - Software 7 07-29-2003 08:52 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration