Jeremy Davis's picture

Sometimes that's the path of least resistance if you just want to get up and going. FWIW I couldn't help myself (I love the commandline...!) and here are a few comments/pointers for some of your points. Mostly commandline stuff...

1. You can download stuff direct to your server with the wget command. I do it by right-click on the download link in your browser, in your appliance shell window; type wget and paste url (you copied from the web browser). You should end up with something like:

wget http://some-download-url.com/package123.deb

If it is a html link that works awesome, sometimes it's a bit trickier if it's some other sort of link (like a JavaScript one).

3. MySQL commands can also be done via the commandline but as I don't use them much I always have to look it up everytime I do it. So I often use phpMyAdmin (port 12322 in most TKL appliances)...

4. Deb packages can be installed with 'dpkg -i'. In this case it will complain about unmet dependencies but you can force it to install anyway with '--force-depends', like this:

dpkg -i --force-depends package123.deb

5. Dealt with in 4 above.

6. 'apt-get install -f' as you said! :)

7. & 8. Like you said...

9. In the LAMP appliance (and all appliances based on it) all the 'sites' (aka virtual hosts) are in /etc/apache2/sites-available Generally I would recommend making, a new one, editing it then disabling the default, and enabling the new one. You do that something like this:

cd /etc/apache2/sites-available/
cp default owncloud
nano new-site #or your favourite commandline text editor - I use vim

#add owncloud to the end of the directory assignments as you did
#save edited file

a2dissite default
a2ensite owncloud
service apache2 restart

10. covered in 9. above.

11. Like you said! :)

Hope I don't come across as a smart ass, just trying to share some knowledge! :)