TurnKey Linux Virtual Appliance Library

lamp stack apache mysql question

I'm confused on how to access the apache and mysql settings in the lamp stack.

I installed lamp stack from the iso to a VM on ESXI. I can access the WebShell command line console and Webmin web admin, but don't see anything for apache or mysql.

Also when I sftp in the /var/www folder doesn't exist, /var is there, but /www is not.

I actually thought I did something wrong, so I re-downloaded the ISO and re-loaded the VM. Getting the same thing.

Any tips on how to get apache and mysql running?

lamp is really just "l" without the "amp"

so i think i figured it out. here's what i did to launce apache and mysql.

To install apache and mysql…

Go to webmin, webmin configuration

Open webmin modules

Select standard module from www.webmin.com

Type apache or mysql

If next screen says package not installed, follow steps to install complete package

 

Access apache and mysql from servers menu

 

Anything else I'm missing to get this going?


Jeremy's picture

Apache and MySQL are already installed in TKL LAMP

It sounds like you've downloaded the wrong ISO. TKL Core is a minimal Linux server setup that doesn't have much else (has Webmin & Webshell etc). The LAMP ISO should install a system with Apache, MySQL, PHP, Python and Perl already preinstalled and running. It should also have phpMyAdmin running (on port 12322 from memory) Browsing to your appliance IP without specifying a port (ie port 80) should land you on a working example webpage. And /var/www should definately be there.

So perhaps try downloading one more time. FYI this is the page you should be downloading from. If that still doesn't work for you then let me know and I'll double check it for you tonight when I get home (sorry haven't got time right now).

lamp lamp lamp

Jeremy, I just checked and that's the page i got the ISO from. definately no apache et al on that one.


Jeremy's picture

I just tested

I'm not sure what's happening for you?

I just downloaded the "199MB ISO" (from the link I posted above) and installed to a VirtualBox VM. It all seems to be working fine for me. The /var/www directory is there and the Apache and MySQL Webmin modules are installed and working (although TBH I prefer phpMyAdmin for MySQL admin).

Perhaps verify the ISO in case it got corrupted.

kid tested, mother approved

Jeremy, Thanks for double checking. Everything is working now. I re-downloaded and got the lamp stack. You were right though, somehow I ended up with the core stack and that's why it was so stripped down. I just verified by booting it up into a new VM and I can already see the website is showing.


Jeremy's picture

Excellent!

Glad you got there in the end. Happy days! :)

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)