TurnKey Linux Virtual Appliance Library

Looking for "getting started" documentation

Hi:

I am new to using Turnkey Linux with the LAMP stack virtual appliance and I am looking for documentation on how to do basic web work with the package.  I downloaded the appliance and brought it up on VMware Workstation and that seems to work fine.  

I am able to access Webmin (TL) from a browser on my host system, but cannot seem to access the TL at all from a different box.  I can ping the TL appliance but Firefox and Google chrome just keep waiting without displaying even a message such as "no content there" or can' t find the system, etc.

What do I need to do:  I need to test a website implementation for a potential client, I am trying to setup a local web environment where I can load the files to a local web server and then access the local website from a Window PC.

Is there documentation that would guide me through this process?

Thanks
Sandeep

 

Jeremy's picture

If you can ping it then it should just work

Make sure you are using the IP from the TKL config screen (ie open the VMware window of your TKL LAMP server). Using the IP of the VMware network interface (as found in Windows Network Connections) will display the behaviour you are experiencing. Is that the problem?

If thats not it, double check VMware networking - it should be set to "host only" if you only want access from the local VMware hosting machine, or ideally set to "bridged" if you want LAN and internet access (you'll also probably need to port forward with your router if you want remote WAN access). "NAT" is also a VMware networking option. A quick google (or even a search here - using the box in the top right corner) should should help you find info on all that.

Also ensure that you do not have a firewall blocking access.

first PHP page

Hi,

I have the TL running in a VM and I can access the Webmin interface just fine. I am trying to get my first page ("Hello World") into the server, and then view it in my browser. Getting that done, I can learn PHP and add it to my list of languages. :)

TL is in a VMware machine, bridged. Host is Windows 7. I wrote a file "jenny.php" and uploaded it, but when I try to hit the page from my host, I get nothing.

In short, how to I get my first PHP page running?

Thanks in advance,

Jenny

Jeremy's picture

When you say you get nothing, what do you mean?

I assume you are using the LAMP appliance and that it was working initially? It's been a while but from memory it should come up with the default apache "It works" page (unless you changed index.html)

To access your custom page you'll need to navigate to http://<hostname-or-ip>/jenny.php (http://<hostname-or-ip>/ will take you to index.htm/.php/.whatever)

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)