Wednesday, October 30, 2013

Counter-Strike (Steam) on ArchLinux via Wine

get the required base package available at archlinux
sudo pacman -S --noconfirm wine winetricks
sudo pacman -S --noconfirm wine_gecko wine-mono q4wine
try to get "steam" installed the proper way
winetricks steam
if the above command fails the next two commands shall do the job, although you'll need to download aria2.exe (and unzip) and maybe SteamInstall.msi (if not found)

msiexec /i ~/.cache/winetricks/steam/SteamInstall.msi
wine arial32.exe /Q
now the system is ready to run Steam Client, try following script to run it (otherwise there might be some font not displaying or other issues)
export WINEPREFIX=$HOME/.steam
export WINEDEBUG=-all
nice -n 19 wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe -no-dwrite
using it you can start your Steam Client, then it's common way as other platforms to log-in to your Steam Account and install Counter Strike or any other game you play

Sunday, August 25, 2013

yum-my ~ get your public yum-repo rolling on Google AppEngine

Wanna get your public yum repository rolling,

Get started by cloning boilerplate code...
$ git clone
$ cd gae-flat-web
$ mkdir -p yummy/<distro><releasever>/<basearch>

$ cp <all_my_rpms_of__distro_releasever_basearch> yummy/<distro><releasever>/<basearch>

$ createrepo yummy/<distro><releasever>/<basearch>/

now, place a file 'flat_web/yum-my-el6<or-whichever>.repo' with content 

and can link this file on your 'flat_web/index.htm' homepage to host: $ google_appengine/ update

have a look at my repo code @

For demo, here is the one I'm hosting

Saturday, August 3, 2013

woes & ways in CentOS install via USB

I've been a regular-irregular user of CentOS over time an all the times in past from what I remember installing it with CD/DVDs.

Just tried installing it  with USB and things got messy. Tried minimal, net-install and DVD iso to the level of getting tired. Everything goes well until the bootloader set-up screen comes up and then set-up goes to hell. It shows error for not founding ISO 9660 on the device. Tried un-mounting and mounting different partitions over '/mnt/isodir' and clicking 'retry' button. Nothing worked.

Either read out following links article#1 (Install from USBKey), article#2 (fix mount image error) and try the solutions/steps in there.

The install boot option from LiveCD/LiveDVD dumped on USB worked just fine for me.

Monday, April 2, 2012

set of yum repos for CentOS

I thought I'd better share my YUM REPOS list to ease most of the package availability via yum on CentOS or similar instances.
I've remove yum-priority config as that depends per person and I don't wanna influence that.

name=CentOS-$releasever - Base

name=CentOS-$releasever - Updates

name=Fedora Core $releasever - $basearch - ATrpms

name=CentOS-$releasever - Extras

name=CentOS-$releasever - Plus

name=Extra Packages for Enterprise Linux 6 - $basearch

name=Extra Packages for Enterprise Linux 6 - $basearch - Source


name=Google - $basearch

name = RBEL 6 Repo
baseurl =$basearch
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RBEL
gpgcheck = 1
enabled = 1

name=RHEL/CentOS-$releasever / $basearch - VirtualBox

name=Adobe Systems Incorporated

Monday, April 4, 2011

want a shell command to Download a Package, but it has a Redirecting Link... CURL it down

One of the things happened to me several time is when I'm writing an automated script for set of utilities to get downloaded from Internet (then installed and configured) on the Linux Box, so that I don't have to go through monotonous set of boring algorithm to set-up an environment again and again.

But, one or more links in that set of packages required ain't available via Package Manager's generosity... so it's required to script it's download from any repository or remote download locations.
If it's a direct download link... the most used utility is 'wget'.

In that process several times I get stuck with download links like that we get at (superb open-source content) website similar to, where even if you copy the final redirected link and paste it in your script that wouldn't work after some moments.

So, you require a shell-command/utility which can be used very easily to download the resource after following the redirected link at the time of execution... and the savior is our same old CURL.


How-To Use It

+ To download a resource on your storage using 'curl'
   |=+ Command: # curl -o file_name Link_Of_Resource
   |=+ Example:
#curl -o GaneshaAarti.rar

+ To download a resource from a redirecting link using 'curl', it gets a new switch '-L' for job
  |=+ Command: #curl -L -o file_name Link_Of_Resource
  |=+ Example:  
#curl -L -o

If you know the required Resource has an online svn/git/hg/bzr/* repository... and you make sure your environment has the respective repository client, then you can even go for cloning the repository instead of downloading from redirecting link... as it might need a little tweaking with change in Resource availability in website (links).

Saturday, September 18, 2010

tshark (CLI) from wireshark (GUI) {gonna sniff your packets}

there is a wonderful CLI utility tcpdump to handle packet sniffing... but there is also one similar utility with the power of Wireshark at command line known as TSHARK (if you don't know)

so, to use it you just need to install Wireshark in plain old-skool way like
#yum install wireshark
and then to start 'tshark', you need to simply run it like
but in some cases, on running '#tshark' if it gives error like 
tshark: error while loading shared libraries: cannot open shared object file: No such file or directory

so, you just need to install one more library, which gets failed to install automatically still required
#yum install libsmi
and then run '#tshark' smoothly

Wednesday, September 1, 2010

{Deploy} Installing FreeSWITCH (VoIP) on CentOS, Fedora, RedHat

This HowTo can be downloaded at

FreeSWITCH on RedHat, Fedora, CentOS

To Install 'FreeSWITCH' on CentOS/RedHat/Fedora
Execute following commands at shell: 

Installing Dependencies {Require Internet} 
yum -y install autoconf automake libtool gcc-c++ ncurses-devel 
yum -y make expat-devel zlib zlib-devel libjpeg-devel unixODBC- devel 
yum -y openssl-devel gnutls-devel libogg-devel libvorbis-devel 
yum -y curl-devel libtiff-devel libjpeg-devel

Download/Extract FreeSWITCH Source =========================================== 
wget tar -zxvf freeswitch-1.0.6.tar.gz
Optional {to add OpenZAP support to FreeSWITCH} 
echo "../../libs/openzap/mod_openzap" >> freeswitch-1.0.6/modules.conf 

Compiling/Installing FreeSWITCH 
cd freeswitch-1.0.6 
make install 
make cd-sounds-install 
make cd-moh-install 
make uhd-sounds-install 
make uhd-moh-install 
make hd-sounds-install 
make hd-moh-install 
make sounds-install 
make moh-install 
make mod_portaudio-install 
make samples 

create symlink for main binaries, EZ-ACCESS 
ln -s /usr/local/freeswitch/bin/freeswitch /usr/local/bin/freeswitch 
ln -s /usr/local/freeswitch/bin/fs_cli /usr/local/bin/fs_cli

Post Installation =========================================== 
to launch app 
to launch app at background (no console)
#freeswitch -nc 
to stop a running freeswitch instance 
[] running foreground: 
> ... {i.e. 3 periods} 
[] running background: 
# freeswitch -stop 
to access cmd-line of any FreeSWITCH server 
try commands like 'version','help' to exit use 'fsctl shutdown' or '...'