Trying installation on a VPS
Forum » Wikidot version 1 / Bugs » Trying installation on a VPS
started by: Davide PigaDavide Piga
on: 1204872283|%e %b %Y, %H:%M %Z|agohover
number of posts: 7
rss icon RSS: new posts
summary:
Errors in following the easier home network installation guide for installing Wikidot on a VPS.
Installation errors with debian quickstart guide
Davide PigaDavide Piga 1204872283|%e %b %Y, %H:%M %Z|agohover

I followed the debian quickstart guide and I got two errors for the first two steps.

The first error occurred when I tried to run

aptitude update

This is the error I got:

W: GPG error: http://ftp.freenet.de stable Release: The following signatures were
invalid: BADSIG A70DAF536070D3A1 Debian Archive Automatic Signing Key (4.0/etch) < ftpmaster@debian.org>
W: You may want to run apt-get update to correct these problems

I ran "apt-get update" and this solved the first issue.
But then I got a second error when I tried to

install: memcached apache2 php5 php5-cli php-pear php5-dev tetex-bin tetex-extra gs-gpl imagemagick build-essential fakeroot dpkg-dev libmagic1 libmagic-dev subversion postgresql-8.2 postgresql-contrib-8.2 php5-tidy php5-pgsql php5-gd zip

This is the command I inserted and the consequent error message:

apt-get install memcached apache2 php5 php5-cli php-pear php5-dev tet
ex-bin tetex-extra gs-gpl imagemagick build-essential fakeroot dpkg-dev libmagic1
libmagic-dev subversion postgresql-8.2 postgresql-contrib-8.2 php5-tidy php5-pgsql
php5-gd zip
Reading package lists… Done
Building dependency tree… Done
E: Couldn't find package postgresql-8.2

This one I don't know how to solve so please help…

last edited on 1204874616|%e %b %Y, %H:%M %Z|agohover by Davide Piga + show more
unfold Installation errors with debian quickstart guide by Davide PigaDavide Piga, 1204872283|%e %b %Y, %H:%M %Z|agohover
Update: Installation errors with debian quickstart guide
Davide PigaDavide Piga 1204908379|%e %b %Y, %H:%M %Z|agohover

ps: if I do

apt-get postgresql postgresql-contrib

it automatically chooses postgresql-7.4.

If I do

apt-get postgresql-8.3 postgresql-contrib-8.3

same error (not found)

If I do

apt-get postgresql-8.1 postgresql-contrib-8.1

It works.

- What's the difference in terms of functionality between using 8.1 and newer versions?
- Am I fine with 8.1?
- How can I eventually upgrade?

Need help soon please.

last edited on 1204911944|%e %b %Y, %H:%M %Z|agohover by Davide Piga + show more
Re: Update: Installation errors with debian quickstart guide
Ed JohnsonEd Johnson 1204913594|%e %b %Y, %H:%M %Z|agohover

Davide,

I'm an admitted Linux newbie, but it sounds like the repositories you're hitting are not updated with the latest versions of PostgresSQL. In my Ubuntu install, I was able to apt-get versions 8.1 and 8.2, but not 8.3.

I'm certain there is a way to add to the list of repositories to search, but I can't tell you how to do that. I bet if you do some digging on Google, you could find an answer that's specific to the distribution you're using.

[edit: I just did a quick search and found this. Maybe it will help.]

http://www.debian.org/doc/manuals/repository-howto/repository-howto

Which Debian-based distribution are you using? I've had very good luck getting my Ubuntu server working. I just went live at work and other than one issue with the forums, everything is working great.

I think version 8.1 will work fine, but my install success has been using version 8.2. Your mileage may vary.

Keep us posted on your progress.

-Ed

last edited on 1204914153|%e %b %Y, %H:%M %Z|agohover by Ed Johnson + show more
Re: Update: Installation errors with debian quickstart guide
Davide PigaDavide Piga 1204917283|%e %b %Y, %H:%M %Z|agohover

Thanks a lot Ed, really.

You know what? I'll give Ubuntu a try hoping to be as lucky as you.
I just got a VPS on vpslink.com which allows me to change OS whenever I want. Obviously this deletes all my previous files but I'm not going to lose that much considering the poor progress I made… ;)

As far as I know you have a home network installation, maybe that's different from mine, isn't it?

I'll definitely keep you posted, this is going to be a hard nerdy week!

Davide

ps: my current distribution is Debian 4.0 "etch", while I can change and install Ubuntu 7.10. Is that fine?

last edited on 1204917683|%e %b %Y, %H:%M %Z|agohover by Davide Piga + show more
Re: Update: Installation errors with debian quickstart guide
Ed JohnsonEd Johnson 1204919759|%e %b %Y, %H:%M %Z|agohover

I actually have 2 installs running - one on a server at home using DynDNS's dynamic DNS service to redirect HTTP port 80 to my server at home so I can hit it from the outside world. The other one at work is on a static IP I have available from our ISP. Both installs are working pretty well. I'm using Ubuntu 7.10 on both servers. I don't know if using one of my "home install" guides (in the howto section) will work well with a service like VPS, but it's certainly worth a shot.

If you can get it to work, you should write a howto so others can do the same who might not have the extra hardware available to set up their own server.

My next nerdy project will be to try setting things up a Virtual machine.

Good luck!

-Ed

last edited on 1204921870|%e %b %Y, %H:%M %Z|agohover by Ed Johnson + show more
Installation errors with easier wikidot home network install guide
Davide PigaDavide Piga 1204954520|%e %b %Y, %H:%M %Z|agohover

Ok, changed OS. Now is Ubuntu 7.10.
And I also changed the guide, which is now the easier one.

This time no errors until I have to run the first script:

. /var/wdsetup/wd1_setup1.bash

After this point the system will freeze irreparably sooner or later before the script finishes its tasks. Ten times I reinstalled the OS, no way: frozen. Always at some point while unpacking or installing packages.

I suspect it's simply because of the java interface to manage the VPS, but I'm not that sure about it.

PS: Confirmed, therefore if you want to use some VPS don't rely on the java interface they will give you but use you own SSH client. Mac OS X for example has an integrate SSH client accessible this way:

1- Start the Terminal application
2- Type ssh -l yourusername yourserverIP
3- When the notice regarding "The key for this host has never been seen before." appears, accept and save the key.
4- Enter your password

Unfortunately this doesn't solve the next problems, but at least the interface stops freezing while you're working on it

I also wrote to the server provider support (VPSlink) and this is the reply:

Hello,

Installing X on a VPSLink 1 would be a pretty bad idea, and some image
manipulation libraries can use portions of it, but with package
managers, they are usually built with the X11 libraries. You should
compile imagemagick from source, not using the X libraries.

Well-timed but totally incomprehensible for me and nothing encouraging.
Any suggestions?

PS let me quote just an excerpt of the terminal where there are possibly meaningful errors:

Preconfiguring packages …
/dev/mem: Permission denied
Selecting previously deselected package x11-common.
(Reading database … 13228 files and directories currently installed.)
Unpacking x11-common (from …/x11-common_1%3a7.2-5ubuntu13_i386.deb) …
/dev/mem: Permission denied
/dev/mem: Permission denied
Selecting previously deselected package libxau6.
Unpacking libxau6 (from …/libxau6_1%3a1.0.3-2_i386.deb) …

last edited on 1205000182|%e %b %Y, %H:%M %Z|agohover by Davide Piga + show more
Re: Installation errors with debian quickstart guide
Ed JohnsonEd Johnson 1204988770|%e %b %Y, %H:%M %Z|agohover

That's a bummer, Davide.

Unfortunately, I can't offer any help since I'm very new to this stuff. I've been able to fumble around and figure a few things out, but recompiling libraries from source files is not something I know how to do yet.

Hopefully Michal or others will be able to help. I haven't see any activity from the developers in a few days. I think they are busy whooping it up at an open source convention! ;)

-Ed

unfold Re: Installation errors with debian quickstart guide by Ed JohnsonEd Johnson, 1204988770|%e %b %Y, %H:%M %Z|agohover
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License