How to work with Gallery Appliance?
Merkur
Joined: 2010-01-18
Posts: 5 |
![]() |
Hi all, Okay, so I have Gallery 1 and 2 with Gallery Appliance up and running and I can see Gallery, Pictures, change themes (if already installed) as I could before on my own website (Gallery 1.5) or on various other Sites including menalto Test Sites. What else besides looking at sample pics and changing settings from within Gallery can I use the Gallery Appliance for? There is no Midnight Commander in the appliance. I seem not to be able to ftp to it on my local machine. I enabled shared folders but there is no /hgfs or /mnt/hgfs directory and no vmhgfs. There is no editor like mcedit, pico, even vim. There is no lynx or any other software to get out of the appliance from within. wget is there, zip is there, tar is there. I COULD import some new themes but I would not be able to edit any theme to my needs. If I download some tool and try to install it, I get a message similar to "no C compiler found". So how can I just try out how to adapt some theme - copy the file to an usb stick, unmount it from Vmware, mount it again on the host system, add or edit some theme or configuration or php file, umount the stick from host system, mount it into VMWARE and check if the edit did work? Or is it a practical joke, given that even Midnight Commander is missing? If yes, why did somebody bother to invest so much work? Thank you for any hints... |
|
Merkur
Joined: 2010-01-18
Posts: 5 |
![]() |
Okay, in the meantime I wasted an incredible 5hrs45min with the Gallery Appliance and found something. It's just for the archives, if somebody other seeks advice how to solve similar problems. 1. There is an editor in the appliance, nano. It works with control codes similar to wordstar from 25 years ago, but not tghe same ones. It has a built-in file navigator, so you call it by typing "nano", then ctrl - r for loading a file and afterwards ctrl - t for seeing the files. Navigate to /srv/www to see the Gallery files. 2. There is an update manager in the Appliance, but you do it not with apt-get, rpm, yast, smart or whatsoever, but conary. You install software with something like "conary update mc --resolve". This is the good (sort of...) news, but it is working faulty. I tried it out on mc (Midnight Commander), but contrary to what it should do, it did not install the needed library files, neither a stand-alone (static) version. 3. (German language only) Short description how to set up another Appliance with a LAMP Server in VMWare and install Gallery2 therein for testing: Of course, the Gallery Appliance available with rPath Linux is more comfortable at first - download only, no installation. But to practise installing apache, mysql and php (I did it before, and webhosters do have them, of course) and then install gallery step-by-step will be useful latest if you have to do it at an webspace where your provider has no pre-installed version so, in the long run, the extra time spended may pay out. And you have a test surrounding for any other purpose like a CMS, too. |
|
Merkur
Joined: 2010-01-18
Posts: 5 |
![]() |
Ok, guys, here is how I did it. I just uploaded one photo to my own gallery2 installation in my own local Ubuntu Server within my vmware installation. You will have to decide if you wish to invest the time. And please, this is no howto. I might have forgotten to note down some steps; some things may be too complicate for newbies or the whole of it my be trivial and boring to experts. And probably, it will not work on your system, or at the time when you read this. This is not my work. All credits go to http://www.steve-baumann.de/index.php?/archives/5-LAMP-Server-in-VMWare.html and http://mazesolutions.me/linuxunix/installing-lamp-on-ubuntu-710-linuxapachemysqlphp, only the complaints are for me. And I do take no responsability. This said, I assume that you have VMWare player up and running already. It is quite easy, they have improved very much within the last years. OK, I have a working Gallery2 on my local machine, but I now can test any php scripts or install CMS, too. The alternative is teo use Gallery Appliance, which comes ready installed with anything I described above, and learn to use the nano editor... |
|
Merkur
Joined: 2010-01-18
Posts: 5 |
![]() |
Forgot to mention good and short german language instructions (1 web page) I used for installing LAMP on Ubuntu: |
|
Merkur
Joined: 2010-01-18
Posts: 5 |
![]() |
Remark: Seems much easier to set up XAMPP from http://www.apachefriends.org/ and then install Gallery2 in it. Does not need VMWAre, you have access to all files on your local hdd (maybe it's a good idea to plug out the internet any time XAMPP is started...). Setup of XAMPP needed no more than a few minutes. I will come back and report, if I start all over and install Gallery2 in it. |
|