diff --git a/deb_packages/DEBIAN/control b/deb_packages/DEBIAN/control new file mode 100644 index 0000000..93b1bb6 --- /dev/null +++ b/deb_packages/DEBIAN/control @@ -0,0 +1,11 @@ +Package: swifiic +Version: 0.1 +Architecture: all +Maintainer: Abhishek Thakur +Installed-Size: 6 +Depends: bash +Section: testing +Priority: optional +Homepage: http://www.swifiic.in/ +Description:Installs tomcat8-user, IBRDTN, mysql-server,jdk. + diff --git a/deb_packages/DEBIAN/postinst b/deb_packages/DEBIAN/postinst new file mode 100644 index 0000000..f118100 --- /dev/null +++ b/deb_packages/DEBIAN/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +set -e +echo 'Installing program : swifiic.sh ......' + diff --git a/deb_packages/DEBIAN/prerm b/deb_packages/DEBIAN/prerm new file mode 100644 index 0000000..88de387 --- /dev/null +++ b/deb_packages/DEBIAN/prerm @@ -0,0 +1,3 @@ +#!/bin/sh +set -e +echo 'Removing program : swifiic.sh ......' diff --git a/deb_packages/DEBIAN/swifiic_0.1_all.deb b/deb_packages/DEBIAN/swifiic_0.1_all.deb new file mode 100644 index 0000000..1a690ab Binary files /dev/null and b/deb_packages/DEBIAN/swifiic_0.1_all.deb differ diff --git a/deb_packages/Packages.gz b/deb_packages/Packages.gz new file mode 100644 index 0000000..23d7787 Binary files /dev/null and b/deb_packages/Packages.gz differ diff --git a/deb_packages/README.md b/deb_packages/README.md new file mode 100644 index 0000000..fc23be8 --- /dev/null +++ b/deb_packages/README.md @@ -0,0 +1,39 @@ +# deb_packages for swifiic + Package name: ***swifiic*** + + **About:** The package will install following dependencies, required for swifiic setup: + - [ ] tomcat8 + - [ ] mysql-server + - [ ] openjdk-8-jdk + - [ ] default-jre + +## Installation + 1. Add the follwoing line in */etc/apt/sources.list* + + ``` deb https://github.com/aayush4vedi/deb_packages/raw/master ./``` + 2. Update + + ``` sudo apt-get update && sudo apt-get dist-upgrade -y ``` + 3. Install(root access required) + + ``` apt-get install swifiic ``` + + +# Troubleshooting +```diff +- Error “E:Encountered a section with no Package: header, E:Problem with MergeList …….” +``` + + ## Fix it by these steps .. + 1. Clean up.. + * ```sudo apt-get clean ``` + * ```sudo apt-get autoclean ``` + * ```sudo apt-get purge ``` + * ```sudo apt-get autoremove -y``` + * ```sudo rm -fv /var/lib/apt/lists/* ``` + + 2. Full update.. + * ``` sudo apt-get update ``` + * ``` sudo apt-get dist-upgrade -y ``` + + 3. Reboot diff --git a/deb_packages/bin/swifiic b/deb_packages/bin/swifiic new file mode 100644 index 0000000..cbc4c32 --- /dev/null +++ b/deb_packages/bin/swifiic @@ -0,0 +1,8 @@ +#!/bin/bash +apt-get update # To get the latest package lists +sudo apt-get install tomcat8-user tomcat8-common mysql-server openjdk-8-jdk default-jre -y + +#etc + + + diff --git a/deb_packages/import.sh b/deb_packages/import.sh new file mode 100644 index 0000000..3ad5e9e --- /dev/null +++ b/deb_packages/import.sh @@ -0,0 +1,2 @@ +#!/bin/bash +dpkg-scanpackages . /dev/null |gzip > Packages.gz diff --git a/deb_packages/pgmdir/swifiic.sh b/deb_packages/pgmdir/swifiic.sh new file mode 100644 index 0000000..cbc4c32 --- /dev/null +++ b/deb_packages/pgmdir/swifiic.sh @@ -0,0 +1,8 @@ +#!/bin/bash +apt-get update # To get the latest package lists +sudo apt-get install tomcat8-user tomcat8-common mysql-server openjdk-8-jdk default-jre -y + +#etc + + + diff --git a/deb_packages/swifiic.deb b/deb_packages/swifiic.deb new file mode 100644 index 0000000..bf14e86 Binary files /dev/null and b/deb_packages/swifiic.deb differ diff --git a/troubleshooting.md b/troubleshooting.md new file mode 100644 index 0000000..9fcd3eb --- /dev/null +++ b/troubleshooting.md @@ -0,0 +1,14 @@ +# Installation and trouble shooting guidelines for app setup in moblets + +## Installation: + (Ensure the correct order) + 1. [IBR-DTN](https://apkpure.com/ibr-dtn/de.tubs.ibr.dtn/download?from=details) + 2. [SOA](https://github.com/swifiic/repo/tree/aayush/plat/app/soa/andi)/[SUTA](https://github.com/swifiic/repo/tree/aayush/plat/app/suta/andi) + 3. [SWiFiIC Msngr](https://github.com/swifiic/repo/tree/master/app/msngr/andi) + + +## Troubleshooting + ![picture alt](https://github.com/aayush4vedi/repo/blob/master/troubleShooting/ibrdtn.jpg "for IBR-DTN") + ![picture alt](https://github.com/aayush4vedi/repo/blob/master/troubleShooting/soa%20(2).jpg) + ![picture alt](https://github.com/aayush4vedi/repo/blob/master/troubleShooting/suta.jpg) + ![picture alt](https://github.com/aayush4vedi/repo/blob/master/troubleShooting/msngr.jpg)