Mounting remote filesystem through SSH/SCP by using SSHFS

Published on Author gryzliLeave a comment

Background Recently I found myself frequently editing files locally (with some nice IDE/ text editor) and then having to re-upload them to a destination server. And…. one day I searched for “SSH filesystem” through Google, which was so kind to return me the following result: https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh This was my first touch to sshfs, which seemed… Continue reading Mounting remote filesystem through SSH/SCP by using SSHFS

OpenSuse – Zypper usefull commands (cheat sheat)

Published on Author gryzliLeave a comment

Here are some useful zypper commands: Querying Searching Packages [ zypper search OR zypper se]

  Getting information about packages [ zypper info OR zypper if ]

  Getting information about dependecies [ zypper what-provides OR zypper wp ]

  Utilities   Verify Depndecies  

  Install new recommended packages

Continue reading OpenSuse – Zypper usefull commands (cheat sheat)

BIND – Configure master/slave zone

Published on Author gryzliLeave a comment

Below is some simple configuration for running DNS Master/Slave zone.   We assume the following IP configuration: DNS Master : 192.168.1.1 DNS Slave : 192.168.1.2 DNS Zone: domain.com   Master Server Configuration Master server’s named.conf must contain something like this:

  Slave Server Configuration Slave server’s named.conf must contain something like that:

 … Continue reading BIND – Configure master/slave zone

LSI MegaCLI commands (MegaCLI cheatsheat)

Published on Author gryzliLeave a comment

Here I will describe frequently used by me MegaCLI commands.   Controller related info

  Physical drives info

  Virtual Drive info

      References http://erikimh.com/megacli-cheatsheet/

GIT – Basic installation

Published on Author gryzliLeave a comment

This is a simple resume on bringing online git server repository + client accessing it. Make sure you have git installed – the easiest way is by using your distribution’s package manager. Example Server Setup We assume that we have the following basic straight-forward sever setup : – Git Server –> server.example.com – Git Client… Continue reading GIT – Basic installation

MySQL – ERROR 1273 (HY000): Unknown collation ‘#253’ in table ‘some-table’ definition

Published on Author gryzliLeave a comment

Some background… Recently we’ve made some migrations from Percona MySQL Server 5.1 to MySQL 5.5.   It seems that Percona MySQL Server, have additional collations, which if used will cause problems after migrating to pure MySQL. In my case the problematic collation was: utf8_general50_ci ¬†–> ¬†Corresponding to id #253 in MySQL collations After the migration,… Continue reading MySQL – ERROR 1273 (HY000): Unknown collation ‘#253’ in table ‘some-table’ definition

Ansible – Basic installation

Published on Author gryzli1 Comment

Here are the very basic steps of getting running copy of Ansible.   Clone ansible from Git:

  Alternatively run ansible from the git cloned directory If you don’t want to make a system wide ansible install, you could run it from the git cloned directory. Here are the commands:

You could make… Continue reading Ansible – Basic installation

Magento Performance Optimized Server

Published on Author gryzliLeave a comment

I’ve read some articles on magento performance tuning and server optimization for best result. Here I will try to summarize most of the important stuff I’ve read.   Server Software Magento best practices advice on using the following configuration: Nginx + MySQL + php-fpm (FastCGI) + APC / OpCache + (Varnish) It’s better to use… Continue reading Magento Performance Optimized Server

Web pages performance testing

Published on Author gryzliLeave a comment

Very often I need to test some page speed and using bunch of websites, which produce very detailed information.   Here are some of them:   http://www.webpagetest.org/ This is the first one I’ve been using for a long time. Here are some of the features it supports: Select location from which the tests are going… Continue reading Web pages performance testing

Centos 6 – BIND [chroot] fresh install

Published on Author gryzliLeave a comment

Here I will describe some basic steps for doing fresh install of chrooted bind version under Centos 6.     Install the rpm packages

  Move the necessary directories

This part is very important, cause if you don’t do this, bind won’t start. Also if /var/named/chroot/var/named/dynamic directory is missing you will most likely… Continue reading Centos 6 – BIND [chroot] fresh install