Tag Archives: linux

How-to Restore WordPress Site

In conclusion of “How-to Backup WordPress Site” article, here is small instruction to restore your backup: Upload files to VPS Upload you www.tar.gz and database.sql to the new VPS. You can use WinSCP (as described here) Extract www file structure Extract files: tar -xvf www.tar.gz And copy files: cp -a www/oldsite.com/www/* /var/yoursite.com/www Change permissions: cd /var/yoursite.com/www chown… Read More »

[vNext] Install ASP.NET 5 (DNX) on Ubuntu

ASP.NET MVC application on Linux? Easy! As you may know, Microsoft recently released a lot of their products under MIT license. .NET Core runtime, .NET CoreFX, ASP.NET 5, MVC 6, Entity Framework 7, MSBuild, everything is now available on GitHub. Our goal is: run Asp.Net MVC application with postgresql database on ubuntu server Today we are… Read More »

[Fixed] [ERROR] /usr/sbin/mysqld: unknown variable ‘log_slow_verbosity=query_plan’

Error during installing MySQL server 5.5 on Ubuntu 14.04 I got following error when try to install mysql-server-5.5 on ubuntu 14.04: [ERROR] /usr/sbin/mysqld: unknown variable 'log_slow_verbosity=query_plan' After that I got start: Job failed to start To fix that: open /etc/mysql/my.cnf for edit and comment following string log_slow_verbosity=query_plan Then start installation from scratch: sudo apt-get install… Read More »

Migrate from Apache to nginx + php-fpm and speed up your site twice

This blog is hosted (together with mintchocolate.org) on a small VPS (1×2.8 Ghz, 256 Мб RAM, 10 Gb SSD). This VPS is shipped with apache2, php and mysql. As you can see I am using wordpress for this blog, also I have approximately 1000 unique visitors per day (half of them visit this and this articles). So it is… Read More »

[Fixed] Apache mod_status: /server-status forbidden from

If you have mod_status enabled but still got this error (403) when trying to connect from localhost ( you can should do following: First, go to /etc/apache2/mods-enabled/status.conf and check that you have all hosts that you want to connect from is added to Allow from, something like this:   <Location /server-status> SetHandler server-status Order deny,allow Deny from… Read More »

[Solution] Cacti + RRDTool. Graph not working problem fixed

If you have problems with graph in your Cacti first what you should do is enable debug mode in Cacti. To enable debug mode: Go to “Graph Management“ Open any graph (Localhost – Load Average) Press “Turn On Graph Debug Mode.“ Now you should see something like this: RRDTool Command: /usr/bin/rrdtool graph – \ –imgformat=PNG \… Read More »

Обновление Unity Lens для torrents.net.ua

torrentsnetuasearch – Unity Lens для поиска релизов на сайте torrents.net.ua В новой версии (0.5-public3): Исправлен баг с парсингом результатов поиска Добавлена возможность отключения загрузки изображений (существенно ускоряет поиск) Для отключения загрузки изображений необходимо в /etc/torrentsnetuasearch.conf прописать: UseImagePreview=False Для установки нужно добавить репозиторий: sudo add-apt-repository ppa:druss/unity-lens-torrentsnetua sudo apt-get update И установить линзу: sudo apt-get install torrentsnetuasearch Для… Read More »

Быстрый поиск на torrents.net.ua в Ubuntu

Я довольно часто пользуюсь поиском сериалов/фильмов на замечательном трекере torrents.net.ua. Так же, я давно использую Ubuntu в сочетании с Unity. Для запуска приложений я пользуюсь поиском через Dash (аналог меню “Пуск”). Поиск этот расширяем, и для этого предусмотрен API. В один из вечеров, родилась идея добавить поиск по torrents.net.ua в Unity Dash, так, just for… Read More »

urlHandler or how to open url in the right browser

Hi All Problem:  Due to certain habits I use the Opera browser, but unfortunately Opera does not work properly with SharePoint portals, and when I receive links to our corporate portal (in Skype, Outlook, etc…), I open it in Internet Explorer. Regular ctrl+c, ctrl+v make me sad, so I realized that I should solve this… Read More »