Blog Jurišić

To content | To menu | To search

Tag - debian

Entries feed

Thursday, October 4 2018

How to install self hosted Mozilla Sync for Pale Moon in 3 min on Debian 9


My default internet browser is Pale Moon and I'm very satisfied. Very stable, in six months of use has never collapsed or obstructed. The rendering speed of the web site is great thanks to the Goanna layout engine. Compatibility with NPAPI plugin is supported (some apps need that plugin). Pale Moon is multi platform browser and work on Linux, Windows and soon on Mac. This is not "one man project". Read "BLOG: This is rumor control, here" before you make your prejudices about this internet browser.


Let's start

Open console and add Jurisic repository and install mozsync package:

echo "deb stretch main contrib non-free" >> /etc/apt/sources.list.d/jurisic.list
wget -q -O- | apt-key add -
apt-get update
apt-get install mozsync

Strong recommendation to turn on support https on new fresh installed apache.
Short example how to enable ssl:

a2enmod ssl
a2ensite default-ssl
systemctl restart apache2

Now configure service, open address (replace ip with Your IP/dns name):

For my personal using no need MySQL database, I select SQLite and press OK.

Congratulations you have successfully installed the mozilla sync 1.1 server!

Setup Sync in Pale Moon

Click on Tools->Preferences then click on tab Sync:

Now click on "Set Up Pale Moon Sync"

Fill form with e-mail,password and under server select "Use a custom server ..." and enter link of Your sync server.

Click Next to finish proces:

That is all. Enjoy in Pale Moon browser and own Sync service !!!

Thursday, August 24 2017

Howto install 7 Days To Die dedicade server in 5 min. on Debian

7 Days To Die work very well as Client or Server instance on Linux.  Player can choice single or multiplay on own local PC, and can to play on dedicade servers. Here is example how really fast make dedicade 7dtd server on Debian 9 GNU/Linux.

At the beginning of my trip I wrote my script, but later I found the perfect script from Allocs and me just make Debian package (7dtd-installer). I add package in my Debian repository and if wont to make 7dtd server You can with:

echo "# Jurišić Stretch " >> /etc/apt/sources.list
echo "deb stretch main contrib non-free" >> /etc/apt/sources.list
wget -q -O- | apt-key add -
apt-get update
apt-get install 7dtd-installer

That is all, installer will bring Allocs script ( and start automatic installation.

More info can read on Allocs wiki page:



Saturday, August 19 2017

Easy FIX performance issues in Warhammer 40,000: Dawn of War III

If your CPU frequency scaling governor is set to "Power Save" mode, you may experience performance issues in Warhammer 40,000: Dawn of War III. When playing games, we recommend that you set your CPU frequency scaling governor to "High Performance" mode.

Easy FIX (run in console as root):

echo performance |  tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

If wont permanently put CPU frequency scaling governor to "High Performance" mode (eg. after restart PC) simple do:

apt-get install cpufrequtils sysfsutils

Make file /etc/default/cpufrequtils  if not exist, and write:


Add in file /etc/sysfs.conf

mode devices/system/cpu/cpufreq/conservative = 644
devices/system/cpu/cpufreq/conservative/freq_step = 10
devices/system/cpu/cpufreq/conservative/up_threshold = 45
devices/system/cpu/cpufreq/conservative/ignore_nice_load = 1
devices/system/cpu/cpufreq/conservative/sampling_down_factor = 10

After you made the changes , apply them with:

echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
systemctl restart sysfsutils

Now check CPU status with:


Enojy in game!


Thursday, July 20 2017

My Debian 9 Stretch Repository

I make custom Debian 9 Stretch repository. Some programs in official Debian repository is outdate and I don't wont to move from stable to sid (unstable) and solution is making own repository for too old or missing packages.




If wont use this repository simple add in /etc/apt/sources.list, then add keyring:

echo "deb stretch main contrib non-free" >> /etc/apt/sources.list.d/jurisic.list
wget -q -O- | apt-key add -

Packages in repository ready for use:

  • oracle java 8 update 201
  • nextcloud server 15.0.10
  • nextcloud client (based on ownCloud 2.3.3)

Simple example if wont to install Oracle Java 8 (atm update 181) just type in console and enjoy:

apt-get install oracle-java8-jre

For more information about packages check


Where is Remmina in Debian 9 Stretch?

I'm so happy with new release of Debian 9 Stretch but with fresh installation of Debian, I have "small" problem - can't find package remmina.

At first I couldn't believe, so I checked the news for the new Debian and didn't find anything. On the official web site of Remmina I found confirmation that Remmina has been removed from Strech but will be added to the backports, and the reason is the older version of Remmina 1.1.x. When come Remmina 1.2.x new Remmina will back in backports.

After a month of waiting there is still no package so I decided to make a backport package from Debian Buster (Testing) and add it to my repository . Feel free to use it and enjoy in the best remote connectivity tool.


Example of installation:

echo "deb stretch main contrib non-free" > /etc/apt/sources.list.d/jurisic.list
wget -q -O- | apt-key add -
apt-get update
apt-get install remmina



Monday, June 19 2017

Debian 9 Stretch released

After 2 years and 2 month, Debian released Stretch under Stable edition and this is Dedicated to Ian Murdock. The new operating system will be officially supported for 5 years and bring lots update packages (Linux kernel 4.9, GNOME 3.22, KDE 5.8, MATE 1.16 Xfce 4.12, LibreOffice 5.2, GCC 6.3, Python 3.5 and PHP 7). Iceewasel and Icedove now have orginal names Firefox and Thunderbird.

More on official link Debian News.

Monday, April 24 2017

Nextcloud upgrade to 11.0.3

Last stable version of Nextcloud server is 11.0.3 , this version brings lots improvements. If using my Debian Repository I update packages and all is ready for upgrade on last stable version(example how to upgrade).

Enjoy in great Nextcloud !!!


Screenshot after upgrade:


Changelogs (Source:

  • Use the correct principal for shared addressbooks (server/3608)
  • Fix saving backup codes by using a correct data uri (server/3652)
  • Update icewind/streams to 0.5.2 (server/32931)
  • Fix string comparison and return docs (server/3665)
  • Typecast shared mount's storage_id to int as documented + some refactor to avoid similar bugs (server/3658)
  • Use a proper date format for transfer ownership (server/3700)
  • DAV sharing permissions should not depend on the order (server/3722)
  • Add new user agent of windows 10 dav backend (server/37641)
  • Add back appstoreenabled config switch (server/37671)
  • Call right function after sudo mode (server/3820)
  • Dont allow empty wildcard search (server/3842)
  • Remove single quotes around search query like in user search (server/3849)
  • Fix mimetype detection on public uploads for the workflow engine (server/3765)
  • Fix branding and show Nextcloud (server/39691)
  • Fix reshare with user activity message (server/39812)
  • Create correct VCard and return correct error codes (server/4029)
  • Prevent migration from ownCloud 10 to Nextcloud 11 (server/34151)
  • Make sure transparency is an integer when saving a calendar (server/4167)
  • Make public links work with master key (server/42071)
  • Don't try to render the avatars if avatars are disabled (server/4214)
  • Reduce error message text (server/42281)
  • Don't list on public calendar endpoints (server/4229)
  • Fix upload of folders in Chrome (server/4154)
  • Make sure blob columns are correctly converted as parameters (server/4233)
  • Save the scope of an auth token in the session (server/4225)
  • Take share by mail into consideration if we calculate the access list (server/4242)
  • Also add the root of external storages to the file id list (server/4237)
  • Fix LDAP description (server/42382)
  • Remove the double password confirmation on changing cron (server/4236)
  • Fix scheduling plugin on legacy caldav endpoint (server/4235)
  • Directly fix invalid values of DTEND and DTSTART (server/4234)
  • Make JobList::next() lock free (server/4254)
  • Don't remove owner property for public calendars (server/4272)
  • Add capabilities for share by mail (server/42511)
  • Dont use the permissions mask while scanning (server/4278)
  • Add missing maintenance plugin to new DAV endpoint (server/4290)
  • Fix bug with shared_by for own calendars if shared (server/4301)
  • Translation string corrected > 1 user (server/4377)
  • Fix activities for "Files drop" on external storages (activity/118)


Friday, March 31 2017

How to install Openfire server on Debian 8 Jessie

Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the only widely adopted open protocol for instant messaging, XMPP (also called Jabber). Openfire is incredibly easy to setup and administer, but offers rock-solid security and performance.

If you looking for an alternative to public IM and VOIP services Openfire is great solution.


Settings about host before installation

Before installation of Openfire, I set settings as in my example:

  • System name: 
  • Domain name:
  • System IP:

LDAP settings (if don't have LDAP server check How to Install and configure a Basic LDAP Server on an Debian 8 Jessie):

  • Base DN: dc=test,dc=com
  • Bind user: cn=nextcloud,ou=groups,dc=test,dc=com
  • Server IP:


Install Java

Openfire need Java for running, I personal using Java 8 from my repository , first install java:

apt-get install oracle-java8-jre


Download and install Openfire package

First need to download Debian package, and install package

wget --no-check-certificate
dpkg -i openfire_4.1.3_all.deb


Setup for Openfire

Now open web browser to start setup of Openfire ( - replace IP with Your address of host )

Select language and press "Continue"

Input network settings:

  • XMPP Domain Name:
  • Server Host Name (FQDN):
  • Admin Console Port:9090
  • Secure Admin Console Port: 9091

If wish can set "Property Encryption Key" for Encryption password in configuration files of Openfire, in this example I don't use that. Admin Console Port using 9090 and Secure Admin Console Port 9091 but in some case good idea to change this ports in non-standard.

Next click on "Continue"

If don't have lots of users select "Embedded Database" and click on "Continue"

Select "Directory Server (LDAP) and click on "Continue"

Connection Settings:

  • Server Type: OpenLDAP
  • Host:
  • Port: 389
  • Base DN: dc=test,dc=com
  • Administration DN: cn=admin,dc=test,dc=com
  • Password: <Your password>

Click on "Test Settings" and if all ok, You will see message "Status: Success!"

Close message and click on "Save & Continue"

Click on "Save & Continue"


I my example I don't wont to mapping all group from LDAP. My choice is only group "cn=nextcloud,ou=groups,dc=test,dc=com".

Group Mapping:

  • Group Field: cn
  • Member Field: memberUid
  • Description Field: description
  • Posix Mode: Yes
  • Group Filter: (&(|(objectclass=posixGroup))(|(cn=nextcloud)))

Click on "Save & Continue"

Now choose one or more users from your LDAP to be adminstratos, in my case I select user1 and press "Add", then click on "Continue"

Now Your Openfire server is ready for using.

Recommendation read :

Desktop clients :

Android clients:



Wednesday, March 1 2017

Nextcloud upgrade to 11.0.2

Nextcloud released update 11.0.2.(February 27 2017) and if you are using package from "Jurisic repository". I will demonstrate how to upgrade from 11.0.1 to 11.0.2. in this short guide.

Check changelog before upgrade on link

As you can see i got message and notification on my server (Update to Nextcloud 11.0.2 is available)  which tells me that now is time for upgrade.


Upgrade Nextcloud 

First we need to update with apt-get:

apt-get -y update
apt-get upgrade

Choose "Y" to start the installation, wait fo finish the download and package will set Nextcloud server in Maintenance mode.

Now start upgrade Nextcloud server with OCC tools:

sudo -u www-data /var/www/nextcloud/occ upgrade

After upgrade turn off Maintenance mode and enable apps:

sudo -u www-data /var/www/nextcloud/occ maintenance:mode --off

Check which app is disabled after upgrade and enable (in my case only contacts):

sudo -u www-data /var/www/nextcloud/occ app:enable contacts

Nextcloud server is ready for use. Enjoy !




Tuesday, February 28 2017

How to install PostgreSQL 9.6 server on Debian 8 Jessie

PostgreSQL is a fully featured object-relational database management system. It supports a large part of the SQL standard and is designed to be extensible by users in many aspects. Some of the features are: ACID transactions, foreign keys, views, sequences, subqueries, triggers, user-defined types and functions, outer joins, multiversion concurrency control. Graphical user interfaces and bindings for many programming languages are available as well.

It has more than 15 years of active development and a proven architecture that has earned it a strong reputation for reliability, data integrity, and correctness.


If wont to use PostgreSQL 9.6 need to add repository (Debian current have PostgreSQL 9.4 in repository).

Add PostgreSQL Repository

Add the PostgreSQL repository in the /etc/apt/sources.d/postgresql.list

echo 'deb jessie-pgdg main' >> /etc/apt/sources.list.d/postgresql.list

Install release key of PostgreSQL repository:

wget --no-check-certificate -q -O- | apt-key add -

And run apt-get update to download the list of packages.

apt-get update


Install PostgreSQL and setup new user & database

Install PostgreSQL with:

apt-get install postgresql-9.6

The PostgreSQL package will install all required dependencies.

Choose "Y" to start the installation, wait fo finnish and PostgreSQL is ready for using.


Create a PostgreSQL database, user and set permissions

The next step is to create a PostgreSQL database, add user and set permissions.

Login to PostgreSQL on the commandline by running this command:

su - postgres

Enter the following commands to create a database: 

CREATE USER myuser WITH PASSWORD 'StorngPasswordHere';

We have created a PostgreSQL database above, enter the details of that database now:

  • Username:            myuser
  • Password:            StorngPasswordHere
  • Database name: mybase

Change username,password and database to Your needs.


Test new PostgreSQL database

Now run simple test:

psql -h localhost -U myuser -W -d mybase

If You success connect - bingo !!!!  Enjoy in PostgreSQL 



Thursday, February 2 2017

My Debian 8 Jessie Repository

After long time I make custom Debian 8 Jessie repository. Some programs in official Debian repository is outdate and I don't wont to move from stable to sid (unstable) and solution is making own repository for too old or missing packages.



If wont use this repository simple add in /etc/apt/sources.list, then add keyring:

echo "deb jessie main contrib non-free" >> /etc/apt/sources.list.d/jurisic.list 
wget -q -O- | apt-key add -

Packages in repository ready for use:

  • oracle java 8 update 181
  • nextcloud server 13.0.7
  • nextcloud client (based on ownCloud 2.3.3)

Simple example if wont to install Oracle Java 8 (atm update 131) just type in console and enjoy:

apt-get install oracle-java8-jre

For more information about packages check