Your OpenStreetMap server in 120GB

1. Install Ubuntu 14.04 server.
Remember to enable the firewall:
costales@maps:~$ sudo ufw allow http
costales@maps:~$ sudo ufw allow ssh
costales@maps:~$ sudo ufw enable




2. Check that you have all locales right:

costales@maps:~$ locale

If some of them are empty, add them to /etc/environment, in my case LC_ALL & LANGUAGE:

costales@maps:~$ cat /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
LC_ALL=en_US.UTF-8
LANGUAGE=en_US.UTF-8
costales@maps:~$



3. Install the server from a PPA:

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:kakrueger/openstreetmap
sudo apt-get update
sudo apt-get install libapache2-mod-tile osmctools



4. Import a map: We'll drop so many data for allow the smallest database, then space in hard disk ;)
4.1 Download from here in pbf. For example, europe-latest.osm.pbf:
costales@maps:~$ wget http://download.geofabrik.de/europe-latest.osm.pbf

4.2 Do it small, we'll keep only the roads:
costales@maps:~$ osmconvert europe-latest.osm.pbf -o=europe.o5m
costales@maps:~$ osmfilter europe.o5m --drop-author --drop-version --keep="highway=cycleway" --keep="highway=path" --keep="highway=footway" --keep="highway=track" --keep="highway=service" --keep="highway=pedestrian" --keep="highway=unclassified" --keep="highway=residential" --keep="highway=tertiary" --keep="highway=secondary" --keep="highway=primary" --keep="highway=trunk" --keep="highway=motorway" --keep="highway=" --drop-tags="alt_name" --drop-tags="source" --drop-tags="maxspeed" --drop-tags="created_by" --drop-tags="wheelchair*" -o=europe_tmp.o5m
costales@maps:~$ osmconvert europe_tmp.o5m -o=europe_end.pbf
costales@maps:~$ rm europe-latest.osm.pbf europe.o5m europe_tmp.o5m

4.3 Import it into the database:
costales@maps:~$ osm2pgsql --drop --slim -C 1700 --number-processes 2 europe_end.pbf
1700 is the MB of RAM and 2 the CPUs.



5. Set it as complete and restart the service:
costales@maps:~$ touch /var/lib/mod_tile/planet-import-complete
costales@maps:~$ sudo /etc/init.d/renderd restart


6. It's done! Check it: http://localhost/osm/slippymap.html

uWriter for Ubuntu Phone: A basic offline word processor

I would use only 1 word: productivity.

But a picture is worth a thousand words...

#productivity
A 100% free(dom) app for a free(dom) phone :)

Install on your Ubuntu Phone/Tablet

Oh! And use a bluetooth keyboard & mouse for a full PC experience ;)

New uNav for Ubuntu Phone! Convergence + Fast POIs + Offline maps!

Thanks to the work of Nekhelesh Ramananthan and Joerg Berroth this is the best uNav version ever! |o/
I'm so excited to announce the improvements...  :))

Convergence:

One app, any device!

Fast (custom) Nearby POIs:
And custom them in an easy way!




and...

It's the time!

But this time everything will not be good news. We had to migrate to a W/B map because of the new Mapquest's ToS. We hope to find an alternative ASAP.


In this release I want thank you to Matthias Apitz and Aurelio Cilia for their support and help with maps and the Ubuntu QA team for its hard work in each release! ;)


https://uappexplorer.com/app/navigator.costales
uNav

How to install an older OTA release in your Ubuntu Phone

We saw here how to change the channel of our Ubuntu Phone from stable to RC proposed, or whatever you want.


But, how could we downgrade the phone to a previous OTA? Setting the revision we want in the ubuntu-device-flash command :)



You need to know which revision is for what OTA and which device you have:


1. Know your device codename (Connect phone by USB and enable Developer Mode in Settings):

costales@dev:~$ adb shell grep ro.product.device /system/build.prop
ro.product.device=arale
# ro.build.product is obsolete; use ro.product.device
costales@dev:~$


2. Then, use that codename "arale" for knowing each available OTA - revision in the channel stable for your Meizu:

costales@dev:~$ ubuntu-device-flash query --device=arale --channel=ubuntu-touch/stable/meizu.en --list-images
1: description='ubuntu=20150602,device=20150522-a851049,custom=20150602-731-5-32,version=1'
2: description='ubuntu=20150611.3,device=20150608-6e66f3c,custom=20150602-731-5-32,version=2'
3: description='ubuntu=20150720,device=20150709-8965e37,custom=20150716-819-8-42,version=3'
4: description='ubuntu=20150825.1,device=20150818-0b38025,custom=20150814-887-8-46,version=4'
5: description='ubuntu=20151015,device=20150818-0b38025,custom=20150925-900-8-47,version=5'
6: description='ubuntu=20151015,device=20151016-0b38025,custom=20150925-900-8-47,version=6'
7: description='ubuntu=20151118.2,device=20151016-0b38025,custom=20151111-918-8-52,tag=OTA-8,version=7'
8: description='ubuntu=20151210,device=20151016-0b38025,custom=20151111-918-8-52,tag=OTA-8.5,version=8'
9: description='ubuntu=20160123.1,device=20160111-51982fc,custom=1452441600,tag=OTA-9,version=9'
10: description='ubuntu=20160217.1,device=20160111-51982fc,custom=1452441600,tag=OTA-9.1,version=10'
11: description='ubuntu=20160401.1,device=20160331-e143fc2,custom=20160324-945-18-69,tag=OTA-10,version=11'
12: description='ubuntu=20160408.4,device=20160331-e143fc2,custom=20160324-945-18-69,tag=OTA-10.1,version=12'
13: description='ubuntu=20160524.1,device=20160331-e143fc2,custom=20160504-975-19-6,tag=OTA-11,version=13'
costales@dev:~$ 

Then, for flashing the older stable OTA 10 in your MX4:
ubuntu-device-flash touch --revision 11 --channel=ubuntu-touch/stable/meizu.en

Thanks a lot to Joerg Berroth for his knowledge! |o/

Ubucon Paris 16.04. Day 2

Last day of the Ubucon Paris of release xenial!

Podcast in 3... 2... 1...
This time, we did an international podcast. Rudy, Quesh, Didier, Gonzalo and me from the Ubuntu Party and Marius, Ilonka, Alfred and even Simon from their homes.
We spoke about the Ubucons, tablet, news. So great experience!



It was a few hours, until the launch time. Then I ate with Gonzalo, Rudy, Winael, Didier and Yoboy.

After the lunch, I saw a Gemma's conference.

Gemma's talk

Nicolas and me were catching public inside the event from the hall of the building. And it worked so well.

Nicolas did a so great work!!

The Ubucon event was closed by Rudy, explaining thinks about the convergence, ubucon... etc.

Last conference
We finished in a restaurant, with no so much people as yesterday, but enough :) Dinner and a few drinks together.

Cheers!
Excited, this was a great event. The Ubuntu Paris is doing a so great work and this team is incredible.
Congrats!!

Convergence

Lovely Mozilla!

Hall

Quesh

wow!

Indeed!

Future :)


Until the next!

Ubucon Paris 16.04. Day 1

And first day of the Ubucon Paris!

When I arrived there were a lot of public in all areas.

Install Party area


I was attended a Quesh talk, an introduction to the community.

Quesh's talk


After that Didier told us about the Snappy packages. Looks great.

Didier's talk


Then I was to eat and I saw Nicolas in there. Nicolas is a so great guy. I was speaking with he a few hours.

Nicolas and me


And then, I speak a bit about the 1st uNav's anniversary :) And in there was a big big big surprise from the Ubuntu Party members :)) They come with uNav and Ubuntu presents and they were singing happy birdthay :') Because of 10 years of Ubucon Paris and 1 year of uNav :)) (You guys are the best!).

:')))


And after that, it was the dinner time. So many members in the same restaurant.

Dinner

Presents from Ubuntu Paris


This was a great first day event. And tomorrow will be the last day of the Ubucon Paris.

Ubucon Paris 16.04. Ubuntu Hour. Day 0

New Ubuntu release, then new awesome Ubucon Paris party!

The Ubuntu Hour, as pre-event of the Ubucon was in the night, then I rented a city bike and I visited Paris in a new way.

I already visited Paris in the past, but this city is always surprised you every time :))

1

2

3

4

5

6

7

8


In the afternoon, started the Ubuntu Hour. Finally Ines and Gonzalzo come too from Spain.

Ubuntu Hour Paris


It was a great small event, with good beer and food, but an unique and amazing company :D

Firefox for ever :))

And this weekend... the Ubucon!! :))

All pictures were done with a Meizu MX4 Ubuntu Edition, without edits.