Page 1 of 2
Bubba TWO and Gallery2 setup problem
Posted: 12 Oct 2008, 16:39
by Puma
Has anyone installed Gallery2 on his/her Bubba TWO??
I'm getting a readonly problem during setup.
G2data is readonly.
I tried FTP 777 or 755 to modify the attributes but nothing helps.
Is it a BUBBA problem??
Can anyone help
Thanks in advance
PUMA
Posted: 12 Oct 2008, 18:26
by BreezerSwe
Hi!
Installed Gallery2 with repositories and it worked fine.
I now have it installed and configured.
In the shell; apt-get install gallery2.
BR
Johan
Posted: 13 Oct 2008, 02:54
by Puma
I copied the gallery zip (unzipped it to bubba/home/web/gallery2 direcory.
Then I runned the install/ PHP file to setup gallery.
After authorization by step 4 i have to select a storage directory for example g2data and when i do that i get the error this directory is read only.
I'm a Linux newbie so can you please tell me what you mean by APT-get??
am i doing it completely wrong by just copying and run the PHP file??
Thanks in advance
Puma
Posted: 13 Oct 2008, 04:30
by squadra
download putty
now you can access with ssh to bubba at port 22
login with a username you gave to bubba
when logged in enter "su"
password is "excito"
now you can use apt-get to install a module out of 10000 available
Posted: 13 Oct 2008, 04:45
by squadra
@BreezerSwe: how is image resizing doing with normal image files (400kb) ?
Posted: 14 Oct 2008, 03:07
by Puma
Ok I now have putty and I can access it.
Which package should i download for gallery2 to install.
Since i'm a very new to linux can you tell me exactly what to do/install?
Thanks in advance
puma
Posted: 14 Oct 2008, 07:19
by nitram
apt-get install gallery2 should do the trick

can't access http://bubba/
Posted: 14 Oct 2008, 16:23
by rewien
nitram wrote:apt-get install gallery2 should do the trick

Hello Nitram,
I have installed gallery2 with apt-get but can't acces it through:
http://bubba/
it saids:
Forbidden
You don't have permission to access / on this server.
--------------------------------------------------------------------------------
Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 PHP/5.2.0-8+etch11 mod_ssl/2.2.3 OpenSSL/0.9.8c Server at server Port 80
Is there perhaps something more I have to install to get it working?
Rewien
Re: can't access http://bubba/
Posted: 14 Oct 2008, 16:29
by carl
rewien wrote:nitram wrote:apt-get install gallery2 should do the trick

Hello Nitram,
I have installed gallery2 with apt-get but can't acces it through:
http://bubba/
it saids:
Forbidden
You don't have permission to access / on this server.
--------------------------------------------------------------------------------
Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 PHP/5.2.0-8+etch11 mod_ssl/2.2.3 OpenSSL/0.9.8c Server at server Port 80
Is there perhaps something more I have to install to get it working?
Rewien
Edit /etc/apache2/conf.d/gallery2 and uncomment the first line, execute thereafter /etc/init.d/apache2 reload
/Carl
Re: can't access http://bubba/
Posted: 14 Oct 2008, 18:18
by rewien
carl wrote:
Edit /etc/apache2/conf.d/gallery2 and uncomment the first line, execute thereafter /etc/init.d/apache2 reload
/Carl
Hello Carl,
I tried accesing the command, but it gives me access denied
Using username "rewien".
Using keyboard-interactive authentication.
Password:
Using keyboard-interactive authentication.
Linux server 2.6.26.5 #1 Tue Sep 16 18:11:30 CEST 2008 ppc
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Oct 15 00:05:29 2008 from 192.168.123.189
srewien@server:~$ su
Password:
server:/home/rewien# /etc/apache2/conf.d/gallery2
bash: /etc/apache2/conf.d/gallery2: Permission denied
server:/home/rewien#
Any idea what i did wrong?
and I have another question:
I installed gallery2 before but manually, so i downloaded it and then uploaded the tar.gz file to bubba web folder.
After that i used putty and installed it using: cd/home/web/
and then ran: apt-get gallery2.tar.gz
it installed gallery to my web folder but now i want to remove it since I installed it directly using: apt-get install gallery2
How can i remove the install files from bubba web folder?
tried deleting it using the filemanager but it saids failt cannot delete
Rewien
Posted: 15 Oct 2008, 09:38
by nitram
Rewien,
Carl means that you should edit the file with vi or vim (editors), I'm used to vi so i'm using vi, but you can use any editor you like. Try googling on vim

About the removing, you can remove anything you like as long as you're root (but keep in mind that removed is removed no second chance) try the manpages for rm (man rm).
Good luck
Martin
Posted: 16 Oct 2008, 17:03
by squadra
Last login: Wed Oct 15 00:05:29 2008 from 192.168.123.189
srewien@server:~$ su
excito
then type following command
nano /etc/apache2/conf.d/gallery2
there you edit the content and save it. You can also ftp to your bubba and delete the old ftp transferred files. When you delete files using putty be sure that you canged user after normal login by entering "su" and then password "excito".
Posted: 17 Oct 2008, 07:14
by Puma
Hello,
I reinstalled bubba two completely and after that installed gallery2
apt-get install gallery2
The whole installation took place.
As local host I put in popup inside putty "bubba"
The installation program than reloaded apache
The problem is how does it work?
When i type Gallery2 or bubba/gallery2 or
http://bubba/gallery2 nothing happens only cant find website
What am i doing wrong?? Im feeling such a child which linux ;-)
puma
Posted: 17 Oct 2008, 07:32
by carl
Puma wrote:Hello,
I reinstalled bubba two completely and after that installed gallery2
apt-get install gallery2
The whole installation took place.
As local host I put in popup inside putty "bubba"
The installation program than reloaded apache
The problem is how does it work?
When i type Gallery2 or bubba/gallery2 or
http://bubba/gallery2 nothing happens only cant find website
What am i doing wrong?? Im feeling such a child which linux
puma
Edit /etc/apache2/conf.d/gallery2 and uncomment the first line, which is an alias.
/Carl
gallery2
Posted: 18 Oct 2008, 20:09
by rewien
Thanks everyone,
I'm able to access the instal page of gallery2 now, however it's asking me to create a "login.txt" file in the /usr/share/gallery2 directory.
How can I create this using nano?
"Authenticate
In order to proceed with the install, we have to verify that you are who you claim. The best way to be sure is to ask you to make a tiny change in the Gallery directory which will prove that you have the right permissions. So, we're going to ask that you create a new text file called login.txt in the /usr/share/gallery2 directory on your webserver (that's the same directory where main.php is located). It must contain the following randomly generated characters:
fc0a4f9cae0d84376dedb023748c1cf7
As a convenience to you, we've prepared a correct version of login.txt for you. Download that and copy it into your /usr/share/gallery2 directory and you're all set.
Once you've uploaded the file, click below to continue. "
Rewien