nmilosev

Fedora Project Ambassador. .NET/Java developer. Favorite piano key: C#

Page 2


Fedora 25 Release Party Novi Sad

20161211_135630.jpg

Another awesome Fedora release, and another awesome Fedora Release Party in Novi Sad! :)

This is my short event report from the Fedora 25 Release Party in Novi Sad.

This time the organization went really really smooth (we were infinitely more experienced than the last time - it was our first event), and I met a lot of new Fedora people and had a chance to talk about Fedora with everyone!

The party took place, like last time, on the Faculty of Science, University of Novi Sad in the biggest amphitheater of the Department of Mathematics and Informatics. To be even more precise it’s about 3 minutes away from our Fedora-powered computer lab!

About 40 people (among who was a Fedora ambassador from Uruguay!) attended and we had four talks about different topics, regarding Fedora, Security and Hackerspaces.

 Talk #1

20161211_121237.jpg

After a short introduction from the head of the Chair of Information...

Continue reading →


Anyfed (Universal Fedora chroot tool) - First release

A small update. I wrote a small shell script which can set up a Fedora chroot anywhere (get the name now?) where a compatible kernel is. This means you can use minimal Fedora shell on almost any other Linux distribution.

Here is the project homepage and source code:

https://github.com/nmilosev/anyfed

You use it like this:

wget https://raw.githubusercontent.com/nmilosev/anyfed/master/anyfed && bash anyfed

The only prerequisites are that you have tar and wget in your $PATH, you don’t even have to be superuser. It should work on any recent ARM or x86_64 kernel. I’ve tested it on my Android phone, my Raspberry Pi (with LibreELEC) and a couple of virtual machines and it is working really good.

The use cases are very broad. For example for running software which isn’t available on your installed distribution, or to try out dnf and other Fedora-specific tools. Also, this could be very...

Continue reading →


Termux-Fedora - install Fedora on your phone with Termux

Termux is an awesome new open source app for Android which provides you with a basic Linux shell. It also has a tiny repository with some packages and one of those packages is proot which you may remember from my GNURoot tutorial.

GNURoot way of getting Fedora on your unrooted Android phone still works, but this way is much cleaner and we have more control over what’s going on. I’ve been using this for a couple of days and it has been really stable and fast.

Anyway to install Fedora on your unrooted (or rooted) Android phone you have to:

  • install Termux from the Play Store or the F-Droid store
  • open it and paste this little snippet:
apt update && apt install wget -y && /data/data/com.termux/files/usr/bin/wget https://raw.githubusercontent.com/nmilosev/termux-fedora/master/termux-fedora.sh && sh termux-fedora.sh

and wait. If everything goes well, you can enter Fedora chroot with a...

Continue reading →


Quick and easy Fedora Minimal chroot

This is a quick guide on how to quickly make a Fedora Minimal chroot environment without any special tools. The only prerequisite is that you have root access on the machine you are using, and chroot binary (or busybox even). I am also using wget and tar but you probably have that. :)

We are going to use a Docker image as it contains a very well packaged Fedora Minimal rootfs.

Docker images are available for x86_64 and ARM architectures here:

https://download.fedoraproject.org/pub/fedora/linux/releases/24/Docker/

I am setting up my Raspberry Pi 2 in this example so I used the ARM image. The “host” operating system is LibreELEC media center, but this will work on any Linux distribution.

# make sure you are root
sudo su

# create a directory for Fedora
mkdir -p /fedora 
cd /fedora

# get the Docker image
wget
...

Continue reading →


Fedora @ BalCCon2k16 - Event Report!

20160911_183405.jpg

Another event, another great experience! This is my short (hopefully) event report from BalCCon2k16 which was held in my hometown - Novi Sad.

If you are wondering who are the people in the above picture (top-left first):

  • Momcilo (FedoraUser) - Fedora Ambassador from Belgrade
  • Myself
  • Danijela - Long time Fedora user, professor from my University
  • Branko (bitlord) - Long time Fedora contributor and user from Belgrade
  • Natasa - Fedora enthusiast and Fedora event organizer
  • Onur (thunderbirdtr) - Fedora Ambassador from Turkey
  • Sarup (sarupbanskota) - Fedora Ambassador from India

 Picture album

The still updating picture album is here: http://imgur.com/a/69ddx

 The Booth

DSC_1461.JPG

Sadly I have to start with sadly. The package with Fedora goodies was again impounded by the Serbian customs, and this time we couldn’t do anything about it. I was really sad and annoyed, but I guess this is just a...

Continue reading →


Fedora 24 + Bumblebee + CUDA + Theano

It’s very frustrating when you want to try something out quickly and lose your entire day… But at least next time it will be easier. I hope.

This is a guide on how to run Keras (Theano powered neural network Python library) on CUDA with an NVIDIA Optimus laptop, with Fedora 24 and Bumblebee.

 Bumblebee working

Get Bumblebee working, that is the easy part. Use the nonfree drivers, there are very good instructions here:

https://fedoraproject.org/wiki/Bumblebee

Afterwards verify that Bumblebee is working with a quick:

optirun glxgears

 Install CUDA

Get CUDA from here:

https://developer.nvidia.com/cuda-downloads

The version for Fedora 21 is the latest one, and it will work. Unpack it after downloading it with:

sh cuda_7.5.18_linux.run -extract=/path/to/somewhere

You will get three files, the driver (which you don’t need), CUDA toolkit and some samples. Install the toolkit and...

Continue reading →


Fedora @ EuroPython 2016 - event report

DSC_1342.JPG

I am just sitting here, unsure how to start to describe probably the best conference I have ever attended! I was given the privilege to attend the biggest Python conference in Europe, meet the Python community, see what is new in Python world, and the best part was that I was representing Fedora Project.

Five days, hundreds of smiling faces asking about Fedora and Red Hat, great food, the ocean, the beautiful city, everything was there!

Here follows my personal event report, and I will try to keep it short, but no promises! :)

 The booth

DSC_1233.JPG

DSC_1243.JPG

Cntc1fPXEAEea13.jpg

Fedora (represented by Michal from Red Hat Brno and myself) was sharing booth with Red Hat, which was great because when someone is interested in Fedora, you can also talk to them about Red Hat and vice versa.

Jiri and Marta, recruiters from Red Hat Brno were amazing. You can clearly see that they are really good at this sort of stuff. They...

Continue reading →


Fedora 24 Release Party Novi Sad

e29ye4V.jpg

I just finished organizing my first event for Fedora - Fedora 24 Release Party in Novi Sad!

We had three great talks, a Fedora quiz, around 60 very happy people and a lot more. :)

The pictures from the event are here: http://imgur.com/a/5TE3O

The presentations and the quiz (for the curious) are here: https://nmilosev.fedorapeople.org/f24rpns/

Big thanks once again to Department of Mathematics and Informatics of the Faculty of Sciences in Novi Sad for having us. Also big thanks to Kveta and Romana from Red Hat for getting us t-shirts, stickers and a lot more in time, even though Serbian customs were tough. Lastly, huge thanks to everyone who helped with the organization, and to Doni Pracner and Momcilo Medic (FedoraUser) for the great presentations.

When I catch some time (and my breath) I will write a more detailed report, so stay tuned! :)

 The report

First of all sorry for not...

Continue reading →


Running Docker on Crouton Fedora 24

Now that we have VirtualBox in Crouton Fedora, setting up Docker is very easy using Docker Machine. If you don’t know about Docker Machine, it’s a utility to install boot2docker which is a tiny Linux distribution made specifically for running Docker images.

 Setting up everything

First, we want to install Docker (from Fedora repos) and docker-machine:

dnf install docker
curl -L https://github.com/docker/machine/releases/download/v0.7.0/docker-machine-`uname -s`-`uname -m` > /bin/docker-machine
chmod +x /bin/docker-machine

After that, let’s create a VirtualBox Docker VM:

docker-machine create --driver virtualbox default

Sadly this will result in an error somewhat like this:

...
(default) Check network to re-create if needed...
(default) Creating a new host-only adapter produced an error: /bin/VBoxManage hostonlyif create failed:
(default) 0%...
(default) Progress state:
...

Continue reading →


VirtualBox 5.0 and Crouton Fedora 24

Recently I had to install VirtualBox onto my Chromebook which is running the latest version of Crouton Fedora with Fedora 24 which you can get from Github.

Installing VirtualBox in the original Crouton with Ubuntu/Debian is very easy because one of the Crouton developers divx118 (huge props to him) builds .deb packages with kernel headers, so you don’t have to compile the entire kernel yourself to get the VirtualBox modules running.

Installing VirtualBox on Crouton Fedora is also very easy because it can use the mentioned prebuilt packages, but there are a few extra steps needed.

 Modifying the cmdline to enable module sideload and VT-x

We have to tell the ChromeOS kernel that we want to load extra modules ourselves and that we want to enable virtualization. There is a very nice script by divx118 which does this for us:

Execute this from crosh shell (not Fedora shell):

cd
...

Continue reading →