Categories
Server Yii Framework

Setting up Yii Environment on your Server

How to Setup Yii on your Environment Server 1. Make Sure your vhost is setup correctly, with debian/ubuntu that is /etc/apache2/sites-available/sitename Options FollowSymLinks -Indexes Includes AllowOverride All 2. Set your include path in php.ini that is etc/php/apache2/php.ini ; UNIX: “/path1:/path2” include_path = “.:/usr/share/library” 3. Download, get url from Yii Download Page wget https://github.com/yiisoft/yii/releases/download/1.1.14/yii-1.1.14.f0fee9.tar.gz 4. Unzip […]

Categories
Github Server

Private Remote Git Repository Debian Wheezy and other stories from Hell

Setting up your Private Remote Git Repository So you need a private remote git repository for collaborative, backup or convenience reasons. You have your local repository setup and now you want another repository in the cloud. Recently, a few moments ago, I started this task and here I am about an hour and a half […]

Categories
Server

BasH: Command Not Found

It is not part of the path echo $PATH to run a program in your working directory run: ./prog_name Explanation: Since you’re running an executable in the current working directory, you should prefix it with ./. So for your program run it as ./a.out Explanation The terminal searches for executables in $PATH. This is a […]

Categories
Server

SSH: What is SSH (Secure Shell)?

SSH Background SSH, secure shell, is a software based approach to network security. All data sent and received using SSH is encrypted and later decrypted. It has a client-server architecture, so you will need an ssh client on your local computer and an ssh on the remote computer (the computer you want to connect to). […]

Categories
Server

install GeoIp on Debian Wheezy Call to undefined function geoip_db_avail

You have not Installed GEO IP: Steps(Debian Wheezy Specific): 1. aptitude install libgeoip-dev php5-geoip php5-geo 2. aptitude install php5-dev 3. pecl install geoip 4. cd /etc/php/apache2 5. rmate php.ini 6. Add to ectensions 7. extension=geoip.so modified from: IT Knowledge Base