Diese Website verwendet Cookies und ähnliche Technologien!

Falls Sie die damit nicht einverstanden sind, ändern Sie bitte die Einstellungen Ihres Browsers. Mehr erfahren

Ich bin damit einverstanden

 Wir nutzen Cookies um Ihnen das beste Surferlebnis auf unserer Website bieten zu können.

  • Falls Sie dies bestätigen und fortfahren, ohne Ihre Einstellungen zu ändern, gehen wir davon aus, dass sie einverstanden sind alle Cookies unserer Seite zu erhalten:
  • Falls Sie Ihre Einstellung ändern möchten, so finden Sie eine Anleitung dazu hier.

Hier haben wir kurz alle Schritte gesammelt um einen odroid-C2 für den Betrieb mit openhab2 und mosquitto vorzubereiten. Ausgangslage soll das ubuntu minimal Image sein.

ubuntu auf SD-Karte übertragen

sh. Image auf SD Karte für Raspberry Pi (Mac OS X)

Per SSH verbinden

ubuntu Mate LTS:

User: odroid
Passwort: odroid

ubuntu Mate minimal

User: root
Passwort: odroid

Resize Image

Das überspielte Image nutz nicht das gesamt zur Verfügung stehende Medium. Mit folgendem Skript kann dieses jedoch vergrößert werden:

wget http://forum.odroid.com/download/file.php?id=502&sid=dc6bc4e77eb4efaad8bd7e2e2ac76f28 -O resize.sh
chmod +x resize.sh
sudo ./resize.sh

Und nun einfach den Anweisungen am Bildschirm folgen:

Found the start point of mmcblk0p2: 264192
Re-reading the partition table failed.: Device or resource busy
Ok, Partition resized, please reboot now
Once the reboot is completed please run this script again

Wenn diese, wie hier, dazu auffordert, sollte ein Neustart mit sudo reboot now  und anschließend das Skript mit sudo ./resize.sh erneut ausgeführen werden.

Activating the new size
resize2fs 1.42.13 (17-May-2015)
Done!
Enjoy your new space!

Defining locales

locale-gen en_US en_US.UTF-8
dpkg-reconfigure locales

Zeitzone wird mit diesem Command gesetzt:
sudo dpkg-reconfigure tzdata

Install Java

Bei der minimal Version noch zu installieren. Beim kompletten Image bereits installiert.

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

compile mosquitto

sudo apt-get install uuid-dev
sudo apt-get update
sudo apt-get install build-essential python quilt devscripts python-setuptools python3
sudo apt-get install libssl-dev libwrap0-dev libc-ares-dev

Download latest mosquitto Version: http://mosquitto.org/download/

wget http://mosquitto.org/files/source/mosquitto-1.4.11.tar.gz
tar zxvf mosquitto-1.*
cd mosquitto-1.*
adduser mosquitto
sudo make all
sudo make install
sudo ldconfig

Quellen:

Kommentare  

articles.org/
# odroid: ubuntu minimal + openhabarticles.org/ 2018-02-22 14:40
It's actually a great and useful piece of info. I'm satisfied that you shared
this useful information with us. Please keep us informed
like this. Thank you for sharing.
Antworten
BestNam
# odroid: ubuntu minimal + openhabBestNam 2018-02-20 10:33
I see you don't monetize your website, don't waste your traffic, you can earn additional
cash every month because you've got hi quality content.
If you want to know how to make extra $$$, search for:
Ercannou's essential tools best adsense alternative
Antworten
888opzi.iblog.
# odroid: ubuntu minimal + openhab888opzi.iblog. 2018-02-12 08:48
Thanks for sharing your thoughts. I really appreciate your efforts and I am waiting for your next post thanks once again.
Antworten
888opzi.iblog.
# odroid: ubuntu minimal + openhab888opzi.iblog. 2018-02-12 08:48
It's awesome to go to see this site and reading the views of all colleagues concerning this post, while I am also zealous of getting knowledge.
Antworten
AllieSmall
# odroid: ubuntu minimal + openhabAllieSmall 2018-02-07 10:30
I have checked your page and i have found some duplicate content,
that's why you don't rank high in google, but there is a tool that can help you to create 100%
unique content, search for: Boorfe's tips unlimited content
Antworten
automationtrend.com
# odroid: ubuntu minimal + openhabautomationtrend.com 2018-01-31 00:47
I'm gone to inform my little brother, that he should also go to see this webpage on regular basis to obtain updated from most recent gossip.
Antworten
automationtrend
# odroid: ubuntu minimal + openhabautomationtrend 2018-01-31 00:41
Good day! I know this is kind of off topic but I was wondering if you
knew where I could locate a captcha plugin for my comment form?
I'm using the same blog platform as yours and I'm having
problems finding one? Thanks a lot!
Antworten
bo323.com/
# odroid: ubuntu minimal + openhabbo323.com/ 2018-01-30 08:49
Thanks to my father who informed me on the
topic of this website, this web site is genuinely
remarkable.
Antworten
bo323.com/
# odroid: ubuntu minimal + openhabbo323.com/ 2018-01-30 08:45
Great post. I was checking continuously this blog and I am impressed!
Very helpful info particularly the last part :) I care for such info a lot.
I was looking for this certain information for a long
time. Thank you and best of luck.
Antworten
http://www.americansoccernetwork.com/maxxxxyo/blog/60923/
# odroid: ubuntu minimal + openhabhttp://www.americansoccernetwork.com/maxxxxyo/blog/60923/ 2018-01-30 01:55
Hey very cool website!! Man .. Beautiful .. Wonderful ..
I will bookmark your web site and take the feeds also?
I am satisfied to seek out so many helpful information right here
in the submit, we want work out extra techniques in this regard, thanks
for sharing. . . . . .
Antworten
americansoccernetwork.com
# odroid: ubuntu minimal + openhabamericansoccernetwork.com 2018-01-30 01:47
Hello, yeah this article is genuinely nice and I have learned lot of things
from it concerning blogging. thanks.
Antworten
blog.wallstreetitalia.com/
# odroid: ubuntu minimal + openhabblog.wallstreetitalia.com/ 2018-01-27 20:26
Great goods from you, man. I have understand your stuff previous to and you're just extremely excellent.
I really like what you've acquired here, really like what you're saying and the way in which you
say it. You make it enjoyable and you still take care of to keep it wise.

I can not wait to read much more from you.
This is really a wonderful web site.
Antworten
wallstreetitalia.com
# odroid: ubuntu minimal + openhabwallstreetitalia.com 2018-01-27 20:19
I like it when people get together and share views. Great site,
stick with it!
Antworten
yalicreatives.com/
# odroid: ubuntu minimal + openhabyalicreatives.com/ 2018-01-27 19:25
Its such as you read my thoughts! You appear to grasp a lot approximately this, like
you wrote the guide in it or something. I feel that you
could do with a few percent to drive the message house a bit, but instead of that, that is excellent blog.
A fantastic read. I'll definitely be back.
Antworten
bo323
# odroid: ubuntu minimal + openhabbo323 2018-01-26 21:49
jetztgewinnenonline.com: http://jetztgewinnenonline.com
Hi to every one, it's in fact a good for me to pay a visit this web page, it includes valuable Information.
Antworten
bo323
# odroid: ubuntu minimal + openhabbo323 2018-01-26 21:43
jetztgewinnenonline.com: http://jetztgewinnenonline.com
Every weekend i used to pay a visit this web page, because i want enjoyment, for the
reason that this this web page conations really good funny
data too.
Antworten

Kommentar schreiben

Sicherheitscode
Aktualisieren