WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Problem with lighttpd install  (Read 4153 times)

Offline danone

  • Newbie
  • *
  • Posts: 6
Problem with lighttpd install
« on: July 18, 2011, 06:31:54 AM »
Hello everyone!
I have a hard time re-installing lighttpd (it was running like a charm but I mistakenly deleted it). I have tiny core machine running as home server on HP t5700 thin client and I would really appreciate running LAMP on it.

Now back to business. When I open AppBrowser it freezes on "Downloading: openldap.tcz". I even made a screenshot:
http://cl.ly/2n3k251T072o1T0j2p3q

I wrote about this problem on IRC and took my shot on opening AppBrowser from aterm. All I got was a bunch of 404's on mysql and openldap. Here is screenshot:
http://cl.ly/0e2P1F3k0W1f3V1O3M2v

So then I've tried with shell script that enables downloading extensions without AppBrowser. It said that nighter lighttpd/lighttpd.tcz nor openldap/openldap.tcz exist in repository.

Thanks in advance!

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Problem with lighttpd install
« Reply #1 on: July 18, 2011, 08:08:59 AM »
Which version of microcore/tinycore are you using?

I would suggest deleting openldap.tcz* and lighttpd.tcz* from your /tce folder and then trying again using "tce-load -iw openldap"

Offline danone

  • Newbie
  • *
  • Posts: 6
Re: Problem with lighttpd install
« Reply #2 on: July 18, 2011, 09:58:51 AM »
Juanito, thank you for answering.

I've removed all ldap-like things that I could:
http://cl.ly/1I3d1Q250E2p360k2H00

And tried with
Code: [Select]
tce-load -iw openldap This is the result (looks very similar to previous):
http://cl.ly/2o3s2A3P3R3l3A3m1L0h

I thought that AppBrowser or connection can be corrupted but installing any other extensions works just fine:
http://cl.ly/251V46113A2K25431i1f

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Problem with lighttpd install
« Reply #3 on: July 18, 2011, 10:53:44 AM »
Here's what I get (and my Internet connection is lousy):
Code: [Select]
$ tce-load -wi openldap
gnutls.tcz.dep OK
libgcrypt.tcz.dep OK
cyrus-sasl.tcz.dep OK
Downloading: cyrus-sasl.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
cyrus-sasl.tcz       100% |**********************************************************************************|   140k 00:00:00 ETA
cyrus-sasl.tcz: OK
Downloading: libtasn1.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libtasn1.tcz         100% |**********************************************************************************| 86016  00:00:00 ETA
libtasn1.tcz: OK
Downloading: libgpg-error.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libgpg-error.tcz     100% |**********************************************************************************| 24576  00:00:00 ETA
libgpg-error.tcz: OK
Downloading: libgcrypt.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libgcrypt.tcz        100% |**********************************************************************************|   288k 00:00:00 ETA
libgcrypt.tcz: OK
Downloading: gnutls.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
gnutls.tcz           100% |**********************************************************************************|   456k 00:00:00 ETA
gnutls.tcz: OK
Downloading: openldap.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
openldap.tcz         100% |**********************************************************************************|   444k 00:00:00 ETA
openldap.tcz: OK

..so something else seems to be the problem?

Offline danone

  • Newbie
  • *
  • Posts: 6
Re: Problem with lighttpd install
« Reply #4 on: July 18, 2011, 12:09:50 PM »
Juanito, if you will be kind enough to make me lighttpd package with dependencies so that I can use local mode of appbrowser?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Problem with lighttpd install
« Reply #5 on: July 18, 2011, 01:54:44 PM »
Juanito, if you will be kind enough to make me lighttpd package with dependencies so that I can use local mode of appbrowser?

Sorry, but I'm not sure what you're asking?

Offline danone

  • Newbie
  • *
  • Posts: 6
Re: Problem with lighttpd install
« Reply #6 on: July 18, 2011, 02:52:30 PM »
There is something called "Instal local extension" in AppBrowser. If only I have access to already downloaded lighttpd with dependencies I could install it without connecting to remote repository witch in my humble opinion seems to be problem.

In other words can you provide me with package that I can install using "Local" button in AppBrowser? I hope it's not too much of a trouble...

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Problem with lighttpd install
« Reply #7 on: July 18, 2011, 11:38:04 PM »
Although the apps browser or tce-load are the way to go, to get out of a bind you can download directly using a url of the form:

http://distro.ibiblio.org/tinycorelinux/3.x/tcz/extension_name.tcz

It seems you have the dependent extensions of openldap, so you only need download openldap.tcz, openldap.tcz.md5.txt and openldap.tcz.dep

Once you have these files, you can copy them to your /tce folder

Offline danone

  • Newbie
  • *
  • Posts: 6
Re: Problem with lighttpd install
« Reply #8 on: July 19, 2011, 03:02:31 AM »
I'll try that right away ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Problem with lighttpd install
« Reply #9 on: July 19, 2011, 03:49:03 AM »
I don't see it mentioned yet, if you have problems with ibiblio you can try any of the other mirrors.
The only barriers that can stop you are the ones you create yourself.

Offline danone

  • Newbie
  • *
  • Posts: 6
Re: Problem with lighttpd install
« Reply #10 on: July 19, 2011, 04:18:43 AM »
Thank you all for your replies! I finally managed to install ligHTTPd (there was some difficulities with libfam but reinstalling readline and gamin did the trick).

I downloaded lighttpd to my /mnt/hda1/tce folder using wget commend mentioned by Juanito. Despite the fact that I downloaded .dep file as well AppBrowser asked for some other extensions. I used wget to get those too.

The only little thing is that after installing lighttpd from local directory it is not loaded after reboot. Should I just add those:
Code: [Select]
/tmp/tcloop/lighttpd
/tmp/tcloop/lighttpd/usr/local/sbin/lighttpd
/tmp/tcloop/lighttpd/usr/local/sbin/lighttpd-angel
/tmp/tcloop/lighttpd/usr/local/share/man/man8/lighttpd.8
/usr/local/sbin/lighttpd-angel
/usr/local/sbin/lighttpd
/usr/local/share/man/man8/lighttpd.8
/usr/local/tce.installed/lighttpd
To my filetool.lst or is there a better way around it ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Problem with lighttpd install
« Reply #11 on: July 19, 2011, 05:41:07 AM »
To get lighttpd to load automatically on re-boot, you need to set it "onboot".

Open apps audit - the icon of a screw head with a tick mark - and click on the onboot tab

It might be good to read:

http://wiki.tinycorelinux.net/wiki:getting_started
http://wiki.tinycorelinux.net/wiki:install_apps