General NAS-Central Forums

Welcome to the NAS community
It is currently Mon Feb 19, 2018 9:29 am

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: 3rd party zypkgs NAS540
PostPosted: Fri Jan 08, 2016 7:05 pm 
Offline

Joined: Fri Jan 08, 2016 7:01 pm
Posts: 5
Hello,
I am new here and have bought an NAS540. I Wanted to install the 3th party zypkgs. And placed the files in /i-data/nas540/admin/zy-pkgs but if i let my nas searching to the internet after new packages he don't find them. What can i do ?


Top
 Profile  
 
PostPosted: Sat Jan 09, 2016 2:20 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6166
What exactly have you done? /i-data/nas540/admin/zy-pkgs is not the right path. That should be /i-data/sysvol/admin/zy-pkgs/


Top
 Profile  
 
PostPosted: Sat Jan 09, 2016 3:24 pm 
Offline

Joined: Fri Jan 08, 2016 7:01 pm
Posts: 5
I put the files in here: /i-data/d08bec9d/admin/zypkg/MetaRepository_20151010_arm_012.zpkg (It won't go to SYSVOL) If i type that it goes directly to "d08bec9d".
And if i push "retrieve list from internet". It doesn't show up.

I use firmware 5.10


Top
 Profile  
 
PostPosted: Sat Jan 09, 2016 4:45 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6166
You should put the file 'web_prefix' there. In your situation, you can do
Code:
cd /i-data/sysvol/admin/zy-pkgs
wget http://downloads.zyxel.nas-central.org/Users/Mijzelf/zypkg-repo/web_prefix


Top
 Profile  
 
PostPosted: Sat Jan 09, 2016 4:49 pm 
Offline

Joined: Fri Jan 08, 2016 7:01 pm
Posts: 5
Ok, Thanks Now it works for me :)


Top
 Profile  
 
PostPosted: Sun Jan 10, 2016 12:14 pm 
Offline

Joined: Fri Jan 08, 2016 7:01 pm
Posts: 5
I have another question too.

I've Installed spotweb and i have to execute retrieve.PHP i have tried this folders:

Code:
/i-data/d08bec9d/.PKG/PHP-MySQL-phpMyAdmin/php
/i-data/d08bec9d/.PKG/PHP-MySQL-phpMyAdmin/php/lib/php
/i-data/d08bec9d/.PKG/PHP-MySQL-phpMyAdmin/php/include/php
/i-data/d08bec9d/.PKG/PHP-MySQL-phpMyAdmin/php/php


But if i put this in command line:
Code:
cd /i-data/d08bec9d/spotweb /one of the above retrieve.php


it wont work. What do i wrong or can't i execute PHP files ?

Ps: Mijzelf do you speak dutch? And may you speak it in this forum ? (Schould be easier for me to explain :) )


Top
 Profile  
 
PostPosted: Sun Jan 10, 2016 1:39 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6166
Mattike wrote:
i have to execute retrieve.PHP

Quote:
i have tried this folders:

Code:
/i-data/d08bec9d/.PKG/PHP-MySQL-phpMyAdmin/php
/i-data/d08bec9d/.PKG/PHP-MySQL-phpMyAdmin/php/lib/php
/i-data/d08bec9d/.PKG/PHP-MySQL-phpMyAdmin/php/include/php
/i-data/d08bec9d/.PKG/PHP-MySQL-phpMyAdmin/php/php

Quote:
But if i put this in command line:
Code:
cd /i-data/d08bec9d/spotweb /one of the above retrieve.php
A number of comments:
  • Linux has case sensitive filenames, so if you need to execute retrieve.PHP, you shouldn't execute retreive.php.
  • I'm not sure why you try folders (which is Microsoft speak, BTW, it are directories), when you need an executable. The actual executable is .../php/bin/php
  • Because PHP is a package, which is installed in a variable directory, PHP can't find it's own libraries. So you have to specify the lib directory.

In your case the command could be
Code:
LD_LIBRARY_PATH=/i-data/d08bec9d/.PKG/PHP-MySQL-phpMyAdmin/lib /i-data/d08bec9d/.PKG/PHP-MySQL-phpMyAdmin/php/bin/php /(relative)path/to/retrieve.PHP
(This is a single line.)


Top
 Profile  
 
PostPosted: Sun Jan 10, 2016 4:14 pm 
Offline

Joined: Fri Jan 08, 2016 7:01 pm
Posts: 5
Thank you it's working :)


Top
 Profile  
 
PostPosted: Mon Jan 15, 2018 11:31 am 
Offline

Joined: Wed Oct 23, 2013 6:23 pm
Posts: 116
Location: The Netherlands
Thanks, totally forgot to point to the libs directory. php: it's a package, hopefully I won't forget this time.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group