Code igniter is a simple toolkit to create full-featured web applications.
It contains library for commonly needed tasks.
Download Code igniter from => http://codeigniter.com/download.php
Installation Guide
1) Place the downloaded .zip file at your web server ( For example in ubuntu :
/var/www/codeigniter
2) Unzip the files by using $ unzip Code Igniter x.x.x.zip (rename the folder to codeigniter)
3) In your codeigniter folder access to system/application/config and open the config.php
in any text editor.Set your base URL
For example = $config['base_url'] = "http://localhost/codeigniter/";
4) If you intend to use database, then open application/config/database.php and
set the database settings according to your setup.
5) Its time for you to test your installation at your browser by typing the url
http://localhost/codeigniter/index.php
6) If you come across the Welcome to Codeigniter! then you have successfully
installed it.
For futher guidance browse to http://codeigniter.com/user_guide/toc.html
Screen For Session Management
Filed under
(
Screen
)
Screen is a window manager that multiplexes a physical terminal between several processes. It also can be a saver during working with any server.
To install screen :
$ apt-get install screen
To start screen :
$ screen
To create multiple screen :
$ ctrl-a-c
Switch to different screen (If available) :
$ ctrl-a
Screen navigation :
$ ctrl-a-n (To next screen)
$ ctrl-a-p (To previous screen)
To detach the window :
$ ctrl-a-d ( You can resume/attache the task later)
To list the detached session :
$ screen -ls
To attach a window :
$ screen -r "detached id"
To kill the session :
$ ctrl-a-k
To install screen :
$ apt-get install screen
To start screen :
$ screen
To create multiple screen :
$ ctrl-a-c
Switch to different screen (If available) :
$ ctrl-a
Screen navigation :
$ ctrl-a-n (To next screen)
$ ctrl-a-p (To previous screen)
To detach the window :
$ ctrl-a-d ( You can resume/attache the task later)
To list the detached session :
$ screen -ls
To attach a window :
$ screen -r "detached id"
To kill the session :
$ ctrl-a-k
Horde Installation
Filed under
(
Horde
)
Horde is an open source browser based collaboration suite. By using this suit, users can manage and share tasks, contacts, calendars, notes with standard components.
For the horde installation, just follow the steps below :
1) Install apache,php and mysql
2) Dowload the horde packages from
ftp://ftp.horde.org/pub/horde-webmail/horde-webmail-1.0.1.tar.gz
3) Place the tarball in /var/www/html/ (recommended to create a directory
horde)
4) Extract the tarball using tar -xvzf horde-webmail-x.x.x.tar.gz and rename
the extracted horde-webmail-x.x.x. to horde.
5) Run the ./scripts/setup.php
6) Create a database for Horde webmail
mysql > create database horde;
mysql > grant all on accounts.* to horde@localhost identified by
'password';
7) Install dependencies using "pear install"
For your information PEAR (Php Extension & Application Repository) is a
structured library for php and a system for code distribution.
Required dependencies :
- php-xml
- expat
- gettext
- php-imap
- php-gd
- php-pear
- php-pecl-fileinfo
- php-pear-memcache
- php-mbstring
- php-mysql
8) In a web browser go to yoursite/horde/test.php and look at the summary of
your installation.
For the horde installation, just follow the steps below :
1) Install apache,php and mysql
2) Dowload the horde packages from
ftp://ftp.horde.org/pub/horde-webmail/horde-webmail-1.0.1.tar.gz
3) Place the tarball in /var/www/html/ (recommended to create a directory
horde)
4) Extract the tarball using tar -xvzf horde-webmail-x.x.x.tar.gz and rename
the extracted horde-webmail-x.x.x. to horde.
5) Run the ./scripts/setup.php
6) Create a database for Horde webmail
mysql > create database horde;
mysql > grant all on accounts.* to horde@localhost identified by
'password';
7) Install dependencies using "pear install"
For your information PEAR (Php Extension & Application Repository) is a
structured library for php and a system for code distribution.
Required dependencies :
- php-xml
- expat
- gettext
- php-imap
- php-gd
- php-pear
- php-pecl-fileinfo
- php-pear-memcache
- php-mbstring
- php-mysql
8) In a web browser go to yoursite/horde/test.php and look at the summary of
your installation.
Kolab Installation
Filed under
(
Kolab
)
Kolab is an opensource groupware solution for emails, appointments, contacts, task to do and so on.
To install the kolab server, following guidelines need to be implemented.
1) Use 'setup' and disable the Selinux
2) yum install gcc (install gcc for compilation process)
3) yum install compat-gcc-34 (to resolve gcc conflict)
4) mv /usr/bin/gcc /usr/bin/gcc41
ln -sf /usr/bin/gcc34 /usr/bin/gcc (Making gcc-34 as default gcc tool)
5) mkdir /kolab-template (create kolab template
directory)
6) wget -r -l1 --no-parent
http://ftp.belnet.be/packages/kolab/server/release/kolab-server-2.1.0/
sources/
(download the kolab source)
7) md5sum -c MD5SUMS (verify file integrity-OPTIONAL)
8) cp -afv /kolab-template /kolab (Copy the kolab
template directory to this kolab production directory)
9) sh obmtool kolab 2>&1 | tee kolab-build.log (Start compilation)
10) /kolab/etc/kolab/kolab_bootstrap -b (Start the installation)
11) /kolab/bin/openpkg rc all start (starting the openpkg)
12) Try access using our web browser => htpps://yourdomain/admin
13) mv obmtool.conf obmtool.con.bak (rename the obmtool)
14) wget -r -l1 -nd --no-parent
http://build.pardus.de/downloads/kolab-horde-tmp
(download modified kolab sources)
15) In obmtool.conf make the following changes:
Existing
URL="ftp://ftp.klaralvdalens-datakonsult.se/pub/kolab/server/
current/2.1"
Post edit
URL="http://build.pardus.de/downloads/kolab-horde-tmp"
16) sh obmtool kolab 2>&1 | tee kolab-build.log (Start re-compilation)
17) /kolab/etc/kolab/kolab_bootstrap -b (Start the installation)
18) /kolab/bin/openpkg rc all start (starting the openpkg)
19) Try access using our web browser => htpp://yourdomain/horde
20) Thats all !!!
To install the kolab server, following guidelines need to be implemented.
1) Use 'setup' and disable the Selinux
2) yum install gcc (install gcc for compilation process)
3) yum install compat-gcc-34 (to resolve gcc conflict)
4) mv /usr/bin/gcc /usr/bin/gcc41
ln -sf /usr/bin/gcc34 /usr/bin/gcc (Making gcc-34 as default gcc tool)
5) mkdir /kolab-template (create kolab template
directory)
6) wget -r -l1 --no-parent
http://ftp.belnet.be/packages/kolab/server/release/kolab-server-2.1.0/
sources/
(download the kolab source)
7) md5sum -c MD5SUMS (verify file integrity-OPTIONAL)
8) cp -afv /kolab-template /kolab (Copy the kolab
template directory to this kolab production directory)
9) sh obmtool kolab 2>&1 | tee kolab-build.log (Start compilation)
10) /kolab/etc/kolab/kolab_bootstrap -b (Start the installation)
11) /kolab/bin/openpkg rc all start (starting the openpkg)
12) Try access using our web browser => htpps://yourdomain/admin
13) mv obmtool.conf obmtool.con.bak (rename the obmtool)
14) wget -r -l1 -nd --no-parent
http://build.pardus.de/downloads/kolab-horde-tmp
(download modified kolab sources)
15) In obmtool.conf make the following changes:
Existing
URL="ftp://ftp.klaralvdalens-datakonsult.se/pub/kolab/server/
current/2.1"
Post edit
URL="http://build.pardus.de/downloads/kolab-horde-tmp"
16) sh obmtool kolab 2>&1 | tee kolab-build.log (Start re-compilation)
17) /kolab/etc/kolab/kolab_bootstrap -b (Start the installation)
18) /kolab/bin/openpkg rc all start (starting the openpkg)
19) Try access using our web browser => htpp://yourdomain/horde
20) Thats all !!!
Subscribe to:
Posts (Atom)
Home
