Somehow my LAMP server has gotten a web-app out of sync. I apparently have some remnants of "Webchess" installed on my system, because it shows up in my HDA web-apps server list, but not in the "installed" list. Plus, if I then try to install "webchess," I get a 2nd instance of it at "webchess1" instead. I'd like to somehow delete all evidence of webchess and start over. Any ideas on how to do this?
Also, once I've installed a webapp, how do I access it from an external URL? I tried http://xxxx.yourhda.com/webchess, but that does not seem to work. I'm confused about how the URL scheme works for web-apps.
Deleting Web-apps
Re: Deleting Web-apps
First, to remove any ghost web-apps, you must delete them manually. As root user, do the following:
cd /var/hda/web-apps
rm -rf webchess (or whatever app you are trying to remove)
Next cd /etc/httpd/conf.d
rm -rf ####-webchess.conf (or whatever app you are trying to remove)
Remember, this is ONLY for apps that do not appear in the dashboard as Installed. This is the brute force way to remove them and can cause issues if used for apps listed as Installed.
Finally, you will need to use an app like Adminer or phpMyAdmin to check that there is no database still installed. If you find one, remove it. Again, this is the brute force method and should NOT be done for anything that is listed in the apps tab as Installed.
For accessing apps by external URL, do you mean outside your LAN? If so, see the wiki for guidance. You will need to forward a port on your router and make some modification to your .conf files. You could use Web-Apps Proxy and avoid modifying the .conf files as will do it for you.
Hope this helps.
cd /var/hda/web-apps
rm -rf webchess (or whatever app you are trying to remove)
Next cd /etc/httpd/conf.d
rm -rf ####-webchess.conf (or whatever app you are trying to remove)
Remember, this is ONLY for apps that do not appear in the dashboard as Installed. This is the brute force way to remove them and can cause issues if used for apps listed as Installed.
Finally, you will need to use an app like Adminer or phpMyAdmin to check that there is no database still installed. If you find one, remove it. Again, this is the brute force method and should NOT be done for anything that is listed in the apps tab as Installed.
For accessing apps by external URL, do you mean outside your LAN? If so, see the wiki for guidance. You will need to forward a port on your router and make some modification to your .conf files. You could use Web-Apps Proxy and avoid modifying the .conf files as will do it for you.
Hope this helps.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
- Posts: 6
- Joined: Fri Mar 26, 2010 10:44 am
Re: Deleting Web-apps
Thanks - step 2 is the key. I had done step 1, and the LAMP server would not start because it doesn't find the files specified in the .conf.cd /var/hda/web-apps
rm -rf webchess (or whatever app you are trying to remove)
Next cd /etc/httpd/conf.d
rm -rf ####-webchess.conf (or whatever app you are trying to remove)
I tried this:Finally, you will need to use an app like Adminer or phpMyAdmin to check that there is no database still installed. If you find one, remove it. Again, this is the brute force method and should NOT be done for anything that is listed in the apps tab as Installed.
Code: Select all
mysqladmin drop webchess -u webchess -pwebchess
Finally - is it advisable to enable this for WAN access? The idea is to allow friends from outside my LAN to access the server, but of course this would expose my server to the Internet, and I have no idea how well locked down it is.
Who is online
Users browsing this forum: No registered users and 48 guests