Setup local packages repository

Plan B:

Setup local web server for packages repository (Centos,Redhat,Fedora) :

cd /var/www/html
mkdir -p openwrtyun/1/packages
cd openwrtyun/1/packages
wget -O openwrtyun.tar.gz https://www.dropbox.com/s/ilfb7hainhq9r0o/openwrtyun.tar.gz?dl=0
tar -xvzf openwrtyun.tar.gz
cd openwrtyun 
mv * ../
cd ..
ls

open browser

http://192.168.0.64/openwrtyun/1/packages

At Yun

nano /etc/opkg.conf
#src/gz attitude_adjustment http://downloads.arduino.cc/openwrtyun/1/packages
src/gz attitude_adjustment http://192.168.0.64/openwrtyun/1/packages
opkg update

Setup local web server for packages repository (Debian, Ubuntu):

cd /var/www
mkdir -p openwrtyun/1/packages
cd openwrtyun/1/packages
wget -O openwrtyun.tar.gz https://www.dropbox.com/s/ilfb7hainhq9r0o/openwrtyun.tar.gz?dl=0 --no-check-certificate
tar -xvzf openwrtyun.tar.gz
cd openwrtyun 
mv * ../
cd ..
ls
sudo chown  www-data:www-data -R /var/www
sudo etc/init.d/apache2  restart

open browser

http://192.168.0.81/openwrtyun/1/packages

at Yun

nano /etc/opkg.conf
#src/gz attitude_adjustment http://downloads.arduino.cc/openwrtyun/1/packages
src/gz attitude_adjustment http://192.168.0.81/openwrtyun/1/packages
opkg update