Seguimi in Twitter Seguimi in Facebook Seguimi in Pinterest Seguimi in LinkedIn Seguimi in Google+ Seguimi  in Stumbleupon seguimi  in instagram Sottoscrivi il feed
Blender, graphic, software, open source, Linux LibreOffice, open source, openoffice Gimp, graphic, software, open source, Linux kernel, Linux, software, open source Linux, distributions, Ubuntu, Linux Mint, Fedora, Mandriva Jamin, gpl, library, open source matroska, multimedia, container, linux pcman, file manager, linux LuninuX, distribition, Linux, open source Linux, infographic, history
Home » , , » Installing GeNIE on Centos, Chapter II.

Installing GeNIE on Centos, Chapter II.

Installing Mysql.
You can download MySQL at http://www.mysql.org/ . Unzip it at the /usr/local/src/.
# cd /usr/local/src
# tar zxf mysql-5.1.x.tar.gz
# cd mysql-5.1.x
To support multilanguage, we set up it as utf8. Also, we set up /usr/local/mysql as a basic directory.
# ./configure
# make
# make install
If you are first time at the MySQL, you have to install basic DB.
# /usr/local/mysql/bin/mysql_install_db
# useradd -d /usr/local/mysql mysql
# chown -R mysql.mysql /usr/local/mysql
# mysqladmin -u root password 'PASSWORD'

Installing Apache.

Unzip apache's the latest version at the http://www.apache.org/, and then unzip it at the /usr/local/src/.
# cd /usr/local/src
# tar zxf httpd-2.2.x.tar.gz
# cd httpd-2.2.x
Compile DSO(Dynamic Shared Objects) to add module later. Also, compile adding ssl module.
#./configure \
--prefix=/usr/local/apache \
--enable-mods-shared=most \
--enable-so \
# make
# make install

Installing Php.

After Installing basic module that have to set up, install php.
Pre-installed package
b.Download php-5.2.x at the http://www.php.net/ ,and then unzip at the /usr/local/src/ To upload the module as DSO format, please set the --with-apxs2 and php.ini file directory as --with-config-file-path.
# tar zxf php-5.2.x.tar.gz
# cd php-5.2.11
# ./configure \
--prefix=/usr/local/php \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/conf \
--with-mysql=/usr/local/mysql \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-zlib --with-zlib-dir=/usr/local \
--with-freetype-dir=/usr/local \
--with-libxml-dir=/usr/local \
--with-iconv=/usr/local \
--with-gd=/usr/local \
--enable-mod-charset \
--enable-sigchild \
--enable-magic-quotes \
--enable-sockets \
--enable-zip \
--with-xsl --with-xmlrpc \
--with-curl --with-mcrypt
# make
# make test
# make install

Configuring Apache and php.

a. Configuring httpd.conf
# vi /usr/local/apache/conf/httpd.conf

ⅰ) Checking that php5 module is uploaded

LoadModule php5_module modules/libphp5.so

ⅱ) Setting up apache user authority

User nobody

Group nobody

ⅲ) Setting up server name

ServerName localhost:80

ⅵ) Adding additional type to connect to php

AddType application/x-httpd-php .html .htm .php .inc

AddType application/x-httpd-php-source .phps

ⅴ) Setting up to have read index.php for the first time

<IfModule dir_module>

DirectoryIndex index.php index.html index.htm


ⅵ) Changing DocumentRoot

# Change the location that GeNIE solution will be install.

Edit DocumentRoot "/usr/local/apache/htdocs" to DocumentRoot "/usr/local/apache/htdocs/genie

ⅶ) Setting up Rewrite

You have to add /index.php/~ at all URL in case of using codeigniter
that is kind of php MVC frame work. Not to show off /index.php/, you need to do this work.

<Directory "/usr/local/apache/htdocs/genie">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
RewriteEngine On
RewriteCond %{REQUEST_URI} !^(/index\.php|/Userfiles|/static|\.js$)
RewriteRule ^(.*)$ /index.php/$1 [L]

b. Configuring php.ini

Copy php.ini file.

# cp /usr/local/src/php-5.2.x/php.ini-dist /usr/local/apache/conf

# vi /usr/local/apache/conf/php.ini

Edit php.ini as following and save the file,

short_open_tag = On

Creating MySQL account & database.


#/usr/local/mysql/share/mysql/mysql.server restart

ii) Login MySQL DBMS root account

#Enter >/usr/local/mysql/bin/mysql –u root –p mysql

Enter your own root password or just Enter the "Enter"key to the password enterance to the password enterance screen. Then, you can access root account.

iii) Create database for GeNIE solution

mysql>create database geniedata;

iv) Create account for GeNIE solution

mysql>grant all privileges on geniedata.* to genie@localhost identified by ‘genie1' with grant option;

ex) In this case, User : genie / password: genie1

v)After creating account, run flush privileges.

mysql>flush privileges;

Running Apache and Mysql.

a.Running Apache

#/usr/local/apache/bin/apachectl restart

b.Running Mysql

#/usr/local/mysql/share/mysql/mysql.server restart

Installing GeNIE.

a. Download GeNIE source

ⅰ) Download GinNIE'w the latest version, http://www.wow-heels.net/christian-louboutin-pumps-c-3.html/

ⅱ) After unzip downloded file, change the folder's name as genie.

ⅲ) move genie's folder to the c:\xampp\htdocs\

b. Installing GeNIE solution

i) Run http://www.wow-heels.net/christian-louboutin-pumps-c-3.html

Select language that you are likely to use.

ii) select the language that you are likely to use. (Korean or English)

accept the licence agreement of installation, and click on the “Next”button.

Adserver                   610x250

iii)Select GeNIE Installation Type. Select between Basic and Extended.

Set database that you've created already. Enter DBMS's server name, Database name, account, password correctly.

iv) Enter GeNIE's user information forrectly.

v) Go to the http://localhost/ , and check GiNIE works well

If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:

0 commenti:

Post a Comment

Random Posts

My Blog List

Recent Posts

Recent Posts Widget

Popular Posts




Images Photo Gallery

page counter Mi Ping en TotalPing.com Subscribe using FreeMyFeed
Copyright © 2014 Linuxlandit & The Conqueror Penguin