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  

casinodieuropa
# odroid: ubuntu minimal + openhabcasinodieuropa 2017-11-15 05:18
This site certainly has all of the information I wanted about this subject and didn't know who to ask.
Antworten
http://casinodieuropa.com/playtech-ha-presentato-age-of-the-gods-live-roulette/
# odroid: ubuntu minimal + openhabhttp://casinodieuropa.com/playtech-ha-presentato-age-of-the-gods-live-roulette/ 2017-11-15 05:13
What's Happening i am new to this, I stumbled upon this I've found It positively useful and it has helped me out loads.
I'm hoping to give a contribution & help different users like
its aided me. Great job.
Antworten
bb4italia666
# odroid: ubuntu minimal + openhabbb4italia666 2017-11-15 04:36
This article will help the internet people for building up new web site or even a blog
from start to end.
Antworten
bb4italia666.weebly.com/blog/bb4italia666.weebly.com/blog/
# odroid: ubuntu minimal + openhabbb4italia666.weebly.com/blog/bb4italia666.weebly.com/blog/ 2017-11-15 04:32
Quality articles is the key to attract the
visitors to pay a quick visit the website, that's what this site
is providing.
Antworten
blog4italia88
# odroid: ubuntu minimal + openhabblog4italia88 2017-11-14 18:54
I'm not sure where you are getting your info, but good topic.
I needs to spend some time learning more or understanding
more. Thanks for wonderful info I was looking for this information for my mission.
Antworten
blog4italia88
# odroid: ubuntu minimal + openhabblog4italia88 2017-11-14 18:53
Heya i'm for the primary time here. I found this board and I in finding It truly useful & it helped me out much.

I'm hoping to provide one thing back and help others such as
you helped me.
Antworten
t0ph4n
# odroid: ubuntu minimal + openhabt0ph4n 2017-10-21 17:23
Admiring the dedication you put into your blog and in depth information you
present. It's good to come across a blog every
once in a while that isn't the same out of date rehashed material.
Wonderful read! I've saved your site and I'm including your RSS
feeds to my Google account.
Antworten
t0ph4n
# odroid: ubuntu minimal + openhabt0ph4n 2017-10-21 17:23
Hello it's me, I am also visiting this web page on a regular basis,
this web site is truly good and the users are actually sharing good thoughts.
Antworten
oB3tb.cOm
# odroid: ubuntu minimal + openhaboB3tb.cOm 2017-10-04 12:43
My family always say that I am wasting my time here at
web, but I know I am getting familiarity all
the time by reading thes nice posts.
Antworten
oB3tb.
# odroid: ubuntu minimal + openhaboB3tb. 2017-10-04 12:31
I truly love your website.. Great colors & theme. Did you make this site yourself?
Please reply back as I'm attempting to create my own personal blog and would like to find out where
you got this from or what the theme is called.

Cheers!
Antworten
85578960461
# odroid: ubuntu minimal + openhab85578960461 2017-09-15 22:01
Good blog post. I absolutely appreciate this website.
Continue the good work!
Antworten
68257160581
# odroid: ubuntu minimal + openhab68257160581 2017-09-15 21:54
Greetings from Ohio! I'm bored at work so I decided to browse
your blog on my iphone during lunch break.
I really like the knowledge you provide here and
can't wait to take a look when I get home. I'm shocked at how quick your blog loaded on my phone ..
I'm not even using WIFI, just 3G .. Anyways, amazing blog!
Antworten
jetztgewinnenonline.com
# odroid: ubuntu minimal + openhabjetztgewinnenonline.com 2017-09-15 12:04
I like what you guys are usually up too. This type of clever work and reporting!
Keep up the amazing works guys I've added you guys to my own blogroll.
Antworten
waste
# openhab2 auf odroid mit ubuntu MATE minimal [Cheatsheet]waste 2017-07-29 03:31
I think this is among the most vital information for me.
And i am glad reading your article. But should remark on some general things, The web site style
is wonderful, the articles is really nice : D. Good job, cheers http://theelderscrolls5skyrimevolution225.ru
Antworten

Kommentar schreiben

Sicherheitscode
Aktualisieren