OpenSuse – Zypper usefull commands (cheat sheat)

Published on Author gryzli

Here are some useful zypper commands: Querying Searching Packages [ zypper search OR zypper se] # look for RSI also in summaries and descriptions zypper se -dC –match-words RSI #show all packages starting with ‘yast’ zypper se ‘yast*’ #list all packages from ‘upd’ repository zypper se -r upd #show all ‘sqlite’ installed packages zypper se… Continue reading OpenSuse – Zypper usefull commands (cheat sheat)

BIND – Configure master/slave zone

Published on Author gryzli

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: view “external” { allow-transfer {none;}; zone “.” IN { type hint; file “named.ca”; }; include… Continue reading BIND – Configure master/slave zone

LSI MegaCLI commands (MegaCLI cheatsheat)

Published on Author gryzli

Here I will describe frequently used by me MegaCLI commands.   Controller related info MegaCli -AdpAllInfo -aALL MegaCli -CfgDsply -aALL MegaCli -AdpEventLog -GetEvents -f events.log -aALL   Physical drives info # List all physical disks MegaCli -pdlist -aall # Information about phys drive: X MegaCli -pdInfo -PhysDrv[?:X] -aALL # Check the rebuild status of #… Continue reading LSI MegaCLI commands (MegaCLI cheatsheat)

GIT – Basic installation

Published on Author gryzli

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 gryzli

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 gryzli

Here are the very basic steps of getting running copy of Ansible.   Clone ansible from Git: mkdir ansible_install && cd ansible_install # Clone the source tree git clone git://github.com/ansible/ansible.git # Now make sure to download/update the core modules: cd ansible git submodule update –init –recursive # Install some necessary modules pip install paramiko PyYAML… Continue reading Ansible – Basic installation

Magento Performance Optimized Server

Published on Author gryzli

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 gryzli

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 gryzli

Here I will describe some basic steps for doing fresh install of chrooted bind version under Centos 6.     Install the rpm packages yum install bind bind-chroot bind bind-libs   Move the necessary directories mv /var/named/named.* /var/named/chroot/var/named/ mv /var/named/{data,dynamic} /var/named/chroot/var/named/ This part is very important, cause if you don’t do this, bind won’t start.… Continue reading Centos 6 – BIND [chroot] fresh install

VIM tiny things

Published on Author gryzli

Plugins and Plugin installation perl-support-plugin Make Vim as Your Perl IDE Using perl-support.vim Plugin http://www.thegeekstuff.com/tag/vi-vim-tips-and-tricks/ This is very nice plugin, which gives you some handy shortcuts if you use frequently vim for perl editing . The installation is pretty simple:     syntastic This is very nice plugin for syntax checking of different languages. Here… Continue reading VIM tiny things