2013-06-21

Using UCI on Ubuntu

The following HOWTO introduces the building of UCI (Unified Configuration Interface) on Ubuntu.

  1. Some extra package are required:

    sudo apt-get install cmake lua5.2

  2. The libubox library is required. It should to compiled from source. To do this, first you have to get the source from git: 

    git clone git://nbd.name/luci2/libubox.git libubox
    cd libubox


  3. Please follow the next steps to build libubox:

    mkdir build
    cd build
    cmake ..
    make ubox


  4. Install libubox:

    sudo mkdir -p /usr/local/include/libubox
    sudo cp ../*.h /usr/local/include/libubox
    sudo cp libubox.so /usr/local/lib
    sudo ldconfig


  5. Get UCI source from git:

    git clone git://nbd.name/uci.git uci
    cd uci


  6. Please follow the next steps to build uci:

    mkdir build
    cd build
    cmake ..
    make uci cli


  7. Install uci:

    sudo mkdir -p /usr/local/include/uci
    sudo cp ../uci.h ../uci_config.h /usr/local/include/uci
    sudo cp ../uci_blob.h ../ucimap.h /usr/local/include/uci
    sudo cp libuci.so /usr/local/lib
    sudo cp uci /usr/local/bin
    sudo ldconfig


  8. Testing:

    mkdir test
    cat > test/test << EOF
    > config 'test' 'abc'
    > option 'test_var' 'value'
    > EOF


    uci -c `pwd`/test show test
    Output:
    test.abc=test
    test.abc.test_var=value


    uci -c `pwd`/test set test.abc.test_var=foobar
    uci -c `pwd`/test commit test


    uci -c `pwd`/test show test
    Output:
    test.abc=test
    test.abc.test_var=foobar






49 comments:

waveacme said...

Thanks, it's helpful.

Anonymous said...

Thanks !

Anonymous said...

Thanks a lot

Anonymous said...

bash command should be
cat > test/test << EOF
config 'test' 'abc'
option 'test_var' 'value'
EOF

Unknown said...

thank you , it's very useful ! test with ubuntu 14.04 LTS

Unknown said...

Thanks. It is very good.

you may need sudo apt-get install libjson0 libjson0-dev in Ubuntu 16.04

viswanath said...

AWS Training in Bangalore - Live Online & Classroom
myTectra Amazon Web Services (AWS) certification training helps you to gain real time hands on experience on AWS. myTectra offers AWS training in Bangalore using classroom and AWS Online Training globally. AWS Training at myTectra delivered by the experienced professional who has atleast 4 years of relavent AWS experince and overall 8-15 years of IT experience. myTectra Offers AWS Training since 2013 and retained the positions of Top AWS Training Company in Bangalore and India.


IOT Training in Bangalore - Live Online & Classroom
IOT Training course observes iot as the platform for networking of different devices on the internet and their inter related communication. Reading data through the sensors and processing it with applications sitting in the cloud and thereafter passing the processed data to generate different kind of output is the motive of the complete curricula. Students are made to understand the type of input devices and communications among the devices in a wireless media.

asha said...

Nice Blog..
devops course in bangalore

best devops training in bangalore

Devops certification training in bangalore

devops training in bangalore

devops training institute in bangalore

asha said...

Thanks for sharing this information
iot courses in Bangalore

internet of things training course in Bangalore

internet of things course in Bangalore

Dharani M said...

Nice blog
sas training in Marathahalli

sas training institutes in Marathahalli

mounika said...

Nice post..

aws course in BTM

aws training center in BTM

cloud computing courses in BTM

amazon web services training institutes in BTM

best cloud computing institute in BTM

cloud computing training in btm

aws training in btm

aws certification in btm

best aws training in btm



aws certification training in btm

kayal said...

Thanks for sharing this post
aws course in Bangalore

aws training center in Bangalore

cloud computing courses in Bangalore

amazon web services training institutes in Bangalore

best cloud computing institute in Bangalore

cloud computing training in Bangalore

aws training in Bangalore

aws certification in Bangalore

best aws training in Bangalore

aws certification training in Bangalore

uma said...

this blog given great information to me


aws course in Bangalore

aws training center in Bangalore

cloud computing courses in Bangalore

amazon web services training institutes in Bangalore

best cloud computing institute in Bangalore

cloud computing training in Bangalore

aws training in Bangalore

aws certification in Bangalore

best aws training in Bangalore

aws certification training in Bangalore

chandana said...

Great article, thanks for sharing.

tableau course in Marathahalli

best tableau training in Marathahalli

tableau training in Marathahalli

tableau training in Marathahalli

tableau certification in Marathahalli

tableau training institutes in Marathahalli

Riyas Fathin said...

Hey, would you mind if I share your blog with my twitter group? There’s a lot of folks that I think would enjoy your content. Please let me know. Thank you.
AWS Training in Chennai | Best AWS Training in Chennai | AWS Training Course in Chennai
Data Science Training in Chennai | Best Data Science Training in Chennai | Data Science Course in Chennai
No.1 Python Training in Chennai | Best Python Training in Chennai | Python Course in Chennai
RPA Course Training in Chennai | Best RPA Training in Chennai
No.1 RPA Training in Chennai | Best RPA Training in Chennai | RPA Course in Chennai
No.1 Digital Marketing Training in Chennai | Best Digital Marketing Training in Chennai

Rathinam said...


I appreciate your great efforts and This blog is very unique. Your written style is a very attractive and good explanation. Keep it up...
Excel Training in Chennai
Advanced Excel Training in Chennai
Tableau Training in Chennai
Pega Training in Chennai
Oracle DBA Training in Chennai
Unix Training in Chennai
Power BI Training in Chennai
Oracle Training in Chennai
Excel Training in Chennai
Advanced Excel Training in Chennai

pavithra dass said...

All are saying the same thing, But it's a truth only. The post you have written is full of nice info. Keep on sharing!!
Angularjs Training in Chennai
Angularjs course in Chennai
Devops Training in Chennai
Digital Marketing Course in Chennai
Selenium Training in Chennai
RPA Training in Chennai
SEO Training in Chennai
AngularJS Training in Velachery

sheela rajesh said...

This blog is full of innovative ideas and i really like your informations.please add more details in future.
Python Training in Chennai
Python course in Chennai
Big data training in chennai
JAVA Training in Chennai
Selenium Training in Chennai
Python Training in Chennai
Python Course in Chennai

jayapriya said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging.
Salesforce online training
Hadoop online training

pavithra dass said...

Great post and informative blog.it was awesome to read, thanks for sharing this great content to my vision.
Good discussion.
German Classes in Chennai
German Language Course in Chennai
german classes in bangalore
german language course in bangalore
german classes in coimbatore
german language course in coimbatore
german classes in madurai
german language course in hyderabad

sangeeth said...

Very nice post and thanks for it .I like this blog and really good content.
spanish classes in chennai
spanish language classes in chennai
Data Analytics Courses in Chennai
IELTS Training in Chennai
Japanese Language Course in Chennai
Spoken English in Chennai
TOEFL Training in Chennai
content writing course in chennai
Spoken English Classes in Tambaram
Spoken English Classes in Anna Nagar

mary Brown said...

Security testing is must. Everybody wants security at every level of his working. as explained above failures are happened but if we test time to time then it will improve. So it depend on us how much we are serious about this.
A Unified QoS and Security Provisioning Framework for Wiretap Cognitive Radio Networks A Statistical Queueing Analysis Approach Project For CSE
Determining the Optimal Random Padding Size for Rabin Crypto systems Project For CSE
Development and Analysis of Deterministic Privacy Preserving Policies Using Non Stochastic Information Theory Project For CSE
Embedding Covert Information in Broadcast Communications Project For CSE
JCS Net Joint Classification and Super Resolution Network for Small scale Pedestrian Detection in Surveillance Images Project For CSE

Unknown said...

Thank you so much for writing this tutorial! It helped me with my job

Chris Hemsworth said...

I have been reading for the past two days about your blogs and topics, still on fetching! Wondering about your words on each line was massively effective. Techno-based information has been fetched in each of your topics. Sure it will enhance and fill the queries of the public needs. Feeling so glad about your article. Thanks…!
selenium training in chennai
selenium online courses best selenium online training
selenium testing training
selenium classes

zuan said...

I like the helpful info you provide in your articles. I’ll bookmark your weblog and check again here regularly. I am quite sure I will learn much new stuff right here! Good luck for the next!
Web Designing Training Institute in Chennai | web design training class in chennai | web designing course in chennai with placement | Web Designing and Development Course in Chennai | Web Designer Training Course in Chennai
Mobile Application Development Courses in chennai
Data Science Training in Chennai | Data Science courses in Chennai
Professional packers and movers in chennai | PDY Packers | Household Goods Shifting
Web Designing Training Institute in Chennai | Web Designing courses in Chennai
Google ads services | Google Ads Management agency
Web Designing Course in Chennai | Web Designing Training in Chennai

shreekavi said...



Get inspired by your blog. Keep doing like this....
Ethical Hacking Course in Chennai
Ethical hacking course in bangalore
Ethical hacking course in coimbatore
Hacking course in bangalore
Ethical hacking in bangalore
Ethical hacking training in bangalore
Ethical Hacking institute in Bangalore
Ethical hacking Training institute in bangalore
Tally Course in Bangalore
German Classes in Bangalore

Anonymous said...

Great efforts put to find the list of articles that are very useful to know. I’m thoroughly enjoying your blog. And Good comments create relations. You’re doing great work. Keep it up.

Magento Development Training Course in Chennai Zuan Education

Selenium Training Course in Chennai Zuan Education

sindhuvarun said...

I am inspired to read this blog. keep sharing more informative blogs.
Data Science Course in Chennai
Data Science Courses in Bangalore
Data Science Training in Bangalore
Best Data Science Courses in Bangalore
Data Science Institute in Bangalore
Data Science Training Institutes in Bangalore
Data Science Training in BTM
Data Science Training in Marathahalli
DOT NET Training in Bangalore
PHP Training in Bangalore

sureshshetty said...

7 tips to start a career in digital marketing

“Digital marketing is the marketing of product or service using digital technologies, mainly on the Internet, but also including mobile phones, display advertising, and any other digital medium”. This is the definition that you would get when you search for the term “Digital marketing” in google. Let’s give out a simpler explanation by saying, “the form of marketing, using the internet and technologies like phones, computer etc”.

we have offered to the advanced syllabus course digital marketing for available join now

more details click the link now

[url]https://www.webdschool.com/digital-marketing-course-in-chennai.html[/url]

sureshshetty said...

Web designing trends in 2020

When we look into the trends, everything which is ruling today’s world was once a start up and slowly begun getting into. But Now they have literally transformed our lives on a tremendous note. To name a few, Facebook, WhatsApp, Twitter can be a promising proof for such a transformation and have a true impact on the digital world.

we have offered to the advanced syllabus course web design and development for available join now

more details click the link now

[url]https://www.webdschool.com/web-development-course-in-chennai.html[/url]

Jack sparrow said...



Whatever we gathered information from the blogs, we should implement that in practically then only we can understand that exact thing clearly, but it’s no need to do it, because you have explained the concepts very well. It was crystal clear.i also want to inform you the salesforce training . thankyou . keep sharing..

Gowtham said...


Such a nice article thanks for sharing this with us. Really so impressible and interesting post. You’re doing a great job Man, Keep it up.
Excel Training in Chennai
Excel Course in Chennai
Tableau Training in Chennai
Linux Training in Chennai
Oracle Training in Chennai
Advanced Excel Training in Chennai
Graphic Design Courses in Chennai
Oracle DBA Training in Chennai
Pega Training in Chennai
corporate training in chennai
Power BI Training in Chennai

shiny said...

This unbelievable work is stupendous and it could not be better more than this. I appreciate you for the thoughtful content which is elegant and more perfect. Web Designing Course Training in Chennai | Web Designing Course Training in annanagar | Web Designing Course Training in omr | Web Designing Course Training in porur | Web Designing Course Training in tambaram | Web Designing Course Training in velachery

nisharoshan said...

Thanks for sharing with us that awesome article you have amazing blog..............

Web Designing Training Course in Chennai | Certification | Online Training Course | Web Designing Training Course in Bangalore | Certification | Online Training Course | Web Designing Training Course in Hyderabad | Certification | Online Training Course | Web Designing Training Course in Coimbatore | Certification | Online Training Course | Web Designing Training Course in Online | Certification | Online Training Course



for ict 99 said...

Great Article
Cloud Computing Projects


Networking Projects

Final Year Projects for CSE


JavaScript Training in Chennai

JavaScript Training in Chennai

The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

radhika said...

Thanks for sharing with us that awesome article you have amazing blog..............

AWS training in Chennai

AWS Online Training in Chennai

AWS training in Bangalore

AWS training in Hyderabad

AWS training in Coimbatore

AWS training


Keerthi SK said...

I was following your blog regularly and this one is very interesting and knowledge attaining. Great effort ahead. you can also reach us for web development company in chennai website design company in chennai

Tiger Online shop said...

Google offers advertisements which appear in search results on google.com with the use of Google AdWords or advertisements that
appear on other websites through the Display Network and Google’s AdSense program.
With google ads you can appear in the top for searched keywords.Thus you will receive more relevant customers for your business.
Google Ads Services
You can get Apple-certified repairs and service at the Apple Store or with one of our Apple Authorized Service Providers.
mobile phone repair in North Olmsted

Python said...

Thanks for sharing an information to us.
Data Science Online Training
Python Online Training

suresh said...

Such an excellent and interesting blog, do post like this more with more information, this was very useful, Thank you.
DevOps Training in Chennai

DevOps Course in Chennai

Banumadhu said...

Excellent blog thanks for sharing the valuable information..it becomes easy to read and easily understand the information.
Useful article which was very helpful. also interesting and contains good information.
to know about python training course , use the below link.

Python Training in chennai

Python Course in chennai




rajmohan1140 said...

Woohoo! It is an amazing and useful article. I really like. It's so good and so amazing. I am amazed. I hope you will continue to do your job in this way in the future as well.

Java Training in Chennai

Java Course in Chennai

aivivubooking1 said...

Mua vé tại đại lý vé máy bay Aivivu, tham khảo

vé máy bay đi Mỹ

vé máy bay từ nha trang đến hà nội

vé máy bay từ thanh hóa đi sài gòn

giá vé máy bay hà nội nhatrang

vé máy bay từ houston về việt nam

taxi sân bay nội bài

Aishwariya said...

Thanks for spending all your pleasant time to make such a Creative content for us. AWS Course in Chennai

TURGUT HÜSEYİN said...

Kaliteli escort bayanlarla tanışma fırsatı yakalamak için tıkla: ankara escort - ankara escort - ankara escort - ankara escort - ankara escort - ankara escort - ankara escort - ankara escort - ankara escort

ZEYNEP ÇAPA said...

rastgele görüntülü konuşma - kredi hesaplama - instagram video indir - instagram takipçi satın al - instagram takipçi satın al - tiktok takipçi satın al - instagram takipçi satın al - instagram beğeni satın al - instagram takipçi satın al - instagram takipçi satın al - instagram takipçi satın al - instagram takipçi satın al - binance güvenilir mi - binance güvenilir mi - binance güvenilir mi - binance güvenilir mi - instagram beğeni satın al - instagram beğeni satın al - polen filtresi - google haritalara yer ekleme - btcturk güvenilir mi - binance hesap açma - kuşadası kiralık villa - tiktok izlenme satın al - instagram takipçi satın al - sms onay - paribu sahibi - binance sahibi - btcturk sahibi - paribu ne zaman kuruldu - binance ne zaman kuruldu - btcturk ne zaman kuruldu - youtube izlenme satın al - torrent oyun - google haritalara yer ekleme - altyapısız internet - bedava internet - no deposit bonus forex - erkek spor ayakkabı - webturkey.net - karfiltre.com - tiktok jeton hilesi - tiktok beğeni satın al - microsoft word indir - misli indir

Diyalabs said...

Thanks for sharing such a helpful, and understandable blog. I really enjoyed reading it.

Robots for kids
Robotic Online Classes
Robotics School Projects
Programming Courses Malaysia
Coding courses
Coding Academy
coding robots for kids
Coding classes for kids
Coding For Kids

Nam said...

vé máy bay từ houston về việt nam

Unknown said...

youtube abone satın al
trendyol indirim kodu
cami avizesi
cami avizeleri
avize cami
no deposit bonus forex 2021
takipçi satın al
takipçi satın al
takipçi satın al
takipcialdim.com/tiktok-takipci-satin-al/
instagram beğeni satın al
instagram beğeni satın al
btcturk
tiktok izlenme satın al
sms onay
youtube izlenme satın al
no deposit bonus forex 2021
tiktok jeton hilesi
tiktok beğeni satın al
binance
takipçi satın al
uc satın al
sms onay
sms onay
tiktok takipçi satın al
tiktok beğeni satın al
twitter takipçi satın al
trend topic satın al
youtube abone satın al
instagram beğeni satın al
tiktok beğeni satın al
twitter takipçi satın al
trend topic satın al
youtube abone satın al
takipcialdim.com/instagram-begeni-satin-al/
perde modelleri
instagram takipçi satın al
instagram takipçi satın al
takipçi satın al
instagram takipçi satın al
betboo
marsbahis
sultanbet

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Top WordPress Themes