Blog about my life, my interests and fun! I like RPi and other electronics, Linux (Debian), kayaking and many other things! Hope you will like it. Enjoy!
Sunday, October 30, 2016
Saturday, October 22, 2016
Raspbian: Script For Synchronizing Date & Time And Updating All Packages (for beginners)
Raspbian: Script For Synchronizing Date & Time And Updating All Packages (for beginners)
Here is my system-update.sh script which able to do these operations:
- synchronize date & time (DTS) via NTP;
- write synchronized DTS to my RTC (DS3221) *;
- update all installed packages.
* - if you want to know how to attach DS3231 (RTC) to your RPi you can read my post Installing hardware RTC (DS3231) to Raspberry Pi
Thursday, October 20, 2016
Названия месяцев на украинском
Названия месяцев на украинском
Напоминалка для забывающих...
Так сложилось, что я понимаю украинский, могу писать и говорить (только медленно), но названия месяцев выучить не могу - вылетают из головы. Думаю эта напоминалка пригодится не только мне, но и другим людям.
January - Январь - Січень
Так сложилось, что я понимаю украинский, могу писать и говорить (только медленно), но названия месяцев выучить не могу - вылетают из головы. Думаю эта напоминалка пригодится не только мне, но и другим людям.
January - Январь - Січень
Sunday, July 24, 2016
sdelete utility for Linux
Labels:
Bruce Schneier,
DOD 5220.22-M,
Mark Russinovich,
sdelete,
shred
Saturday, July 23, 2016
Vim editor (Linux) tips and tricks!
Wednesday, November 11, 2015
Redmine email notifications. Documentation vs Reality
Redmine email notifications. Documentation vs Reality
Problem
You want setup email notifications for Redmine which run's under Debian Jessie. So, you going Aministration-Settings-Email notifications and see notification which says that you need go and edit /etc/redmine/<instance>/configuration.yml file. And you going into /etc/redmine and looking for your instance (default in most cases) and you can't find any configuration.yml
It's sad.
Let's fix it!
Installing Redmine on Linux Debian (Jessie) with Nginx + Thin
Installing Redmine on Linux Debian (Jessie) with Nginx + Thin
Problem
If you tried to install Redmine with Nginx you know that it's very interesting task.
Let's solve this task.
This document based on "Installing Redmine with MySQL Thin and Redmine on Debian Squeeze" and fixes few issues with base document
Also, you can find some useful tricks here:
https://github.com/perusio/redmine-nginx
Also, you can find some useful tricks here:
https://github.com/perusio/redmine-nginx
Friday, October 23, 2015
Fix for accident nginx remove
Fix for accident nginx remove
Problem
I accidentally removed nginx from my Linux Server (Debian Jessie). I did it after my experiments with phusion passenger. I made:
$ sudo rm -rf /etc/nginx
$ sudo rm /etc/init.d/nginx
And yes, I know that I made a stupid thing :)
After installing nginx by
$ sudo apt-get install nginx
I was able to run it. Test run
$ sudo nginx -t
output:
nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (2: No such file or directory)
nginx: configuration file /etc/nginx/nginx.conf test failed
See details for solution...
Thursday, October 22, 2015
Resetting a forgotten MySQL root password
Wednesday, October 14, 2015
Pillow library install issue for RPi (running Raspbian)
Pillow library install issue for RPi 2 (running Raspbian)
Problem
I found little issue till Pillow installing (via pip for newly installed Python 3.5 to the almost clear RPi 2 (mod. B) running Raspbian):
ValueError: --enable-jpeg requested but jpeg not found, aborting.
My Raspbian version (information retrieved by running $ uname --all):
Linux rpi-number08 4.1.10-v7+ #821 SMP PREEMPT Sat Oct 10 00:16:28 BST 2015 armv7l GNU/Linux
Subscribe to:
Posts (Atom)








