segioHelp(All)/Segio Help 4.0(en)



1.2 SEGIO Installation
인쇄
 
2009-07-09 10:24:41
조회:2571047
답글지움수정 아랫글 목록 윗글

 

 

 1.2 SEGIO Installation  설치동영상보기


  • SEGIO Download and Installation
  • Template Installation and Cnfiguration
  • SEGIO Execution Path
  • SEGIO System Environment
  • SEGIO Execution
 

 

 SEGIO is a ligthweight Linux (Redhat series) based Web Daemon. Keep compatible with several different Linux Os such as RedHat, Asianux, Centos, etc. This is a detail specification, and you can download this file from the site: http//file.SEGIO.com/
 We provide the install file as ‘tgz’ compressed file which is Linux 2.6 Kernel based and 32bit/64bit version. Please check “Installation Help” file on our homepage site, include Use right specification, Installation manual or other information.
Provide installation & other inquiries Q&A forum (http://segio.com/qna.brd) or FAQ (http://segio.com/faq.brd) forum for you.

 

* Before Installation

-    Linux system knowledge is necessary for SEGIO installation.
 -  Please consult video manual while you have difficult point for installation
 -  Every install step implement have to use “root” administer account.
 -  Please check version before download.
 -  Set “SELinux” as Linux security strengthening to deactivate for DB( SELinux can increase the error of SEGIO DB connection)
 Reboot Linux system after installation completed.

 

* Interdependent Package and Solution
  Install package for SEGIO operation. You can find relevant information or file download in the Internet.

 

  1. Postfix

Postfix is a ubiquitous package in Linux systems. It is used for Segio Mail service. Postfix is a free and open source main transfer agent (MTA) that routes and delivers electronic mail, and fast, easier-to-administer. Postfix can be installed easily use several commands like ‘yum’. Reference Linux system operation manuals for installation command statements. It’s widely-used Sendmail MTA, and be included in a lot of different Linux system such as CentOS, Redhat, Fedora, Asianux, Ubuntu, etc.

 

  2. PostgreSQL

pgsql is included in amount of Linux systems and Open source system around world such as CentOS, Redhat, Fedora, Asianux, etc. You can check your PostgreSQL version. 

 

  3. ZendOptimizer

SEGIO produces a port of management tools and applications with PHP facture. Meanwhile, use ZendOptimizer (encoding packaging using zend engine) for PHP acceleration and security.
 

 


1) SEGIO Download and Installation

TOP

 

  
   Please download the installation file from the site: http://file.SEGIO.com, or use download command statement "wget -O segio_4.0.1.tar.gz http://segio.com/download" in the shell. Use command for compressed file (tar.gz) as following: (Use command “mv” for other extension compressed file)

 

 Typing "tar -xvzf SEGIO_4.*.*.tar.gz", for decompress file operation.
 
 After decompress the SEGIO directory will be create like under picture
 

 

 

 A.  Installation Script Execution

 

 “install.sh" file provides SEGIO installation, uninstall and binary update operation. Login to “root” account and start to installation implement.

 

   "sh install.sh"

 

 Normal implement look like under picture 

 

 

 

  Press “Enter” go to next picture

 

 

   


 

Press “1”, Enter the configuration of SEGIO
After option check, install binary. Automatic detection architecture of your system, modify configuration for binary implement, 64bit or 32bit operation system.
The next, typing the system ID for SEGIO operations.
SEGIO system default ID is “SEGIO”. It’s modifiable but keep “SEGIO” is better for service operation.

 

 

  

 

The next, typing the base directory for web service implements.
SEGIO made base binary at directory "/etc/httpds/", then processed other application data at the other application directory positions. The authorization operator can change default value of applications at home-directory, such as Disk setting or others.

 

 

 

The next, Default unit of SEGIO homepage is Intracell, which can be considered as independent homepage provider. And Intracell installation can not be ignored as Web service basic term. Specifies the directory name as cell000, cell001…to cell999, means that you can make 1000 different intracell in a one server.  
Typing intracell name correctly, make sure follow-up work at DBMS and other working areas.

 

  

 

The next, it is intrall domain name configuration. You can just type “localhost” (Default value), if you have not had a usable domain address. Certainly, domain name can be modified at the Web Management Tools. Normal domain address is essential condition for Web service (Web Mail)

 

 

SEGIO uses the PostgreSQL as DB Management System, so that the PostgreSQL inspection is very necessary.
Then type the DBMS administrator password. This password is very important during Intracell DB creation or other relative configuration. Please Remember This Password.

 

 

Service Port Number designation, “80” was designated as default Web Daemon service port number. Certainly, other ports have to be set because the software execution priority rule while other Web Deamons existed, like Apache.
 If only use SEGIO, just designate port 80 is good.

 

 

  

 

Installation is completed.
You can check summarized information related to installation.

 

  

 B. Web Browser Execution


 

Confirm installation via Browser where type "http://webserver IP address (localhost) " or other domain address depend on your setting.
Provide initial homepage for first installation. Look like following picture.

 

    

Use default ID and Password, login into management operation interface via Browser.

ID : sysop

Password: segio

 

 

Login into the management operation interface, please change default password.


2) CMS Template Installation and Setting

TOP

 

 

 

     SEGIO (SEGIO.com) provides variety templates (more than 350) for beginner. And provides professional mode can develop special templates.

   C.  After logging in, Move to template contents page.

 Choose the template mode between “Template Mode” and “Expert Mode”. “Template Mode” can use those variety templates from SEGIO site, while the “Expert Mode” can make templates directly and upload to your site page.

 

 

                 

                                                                                                 

   D.  Choose and click template image

    -   You can confirm template detail information.

 

 


   E.   Click "Motel Installation" button

 

 

   -  Choose “Motel Installation”, then new window will appear up

 


   F.   On the "Template Installation" page, click "Download" button.

 

 

 

   G.  On the “Template Installation” page, click “Install” button.

   H.  On the “Template Installation” page, click “Setting” button.

    I.  Click “Move to Homepage”, go to the main page.

 

 

 

     J.  Confirm installed main page.

 

 

 

 


 3) SEGIO Implement Path

TOP

 

      
           SEGIO has been installed in Linux default path as "/etc/shttpd/”. Following sheet will explain you directory path simply.

 

/etc/shttpd/

bin/

Implement File Position

cgi-bin/

Application Position

conf/

Environment Setting File, Language File Position

data/

Template, Intracell Motel Information Position

icons/

Sharing Web Resource Directory Position

logs/

Log Analysis Resource Position

tmp/

Temporary File Position


   

  A. SEGIO Intracell Path

 

   SEGIO Web service is provided in “Intracells”. “Intracell” means that you can create thousands independent different homepages (domain addresses) in one server, include User Management, Forum Board, Communicate, Electronic Approval or other services. The next operation specification set up the first “Intracell” as number ‘0’ and path is “/home/SEGIO/cell000/”

/home/segio/cell000/

No. 0 Intrall service path


Web services can be used without SEGIO installation and Intracell configurations. According to the need, modify the relative options at path "/home/SEGIO/".


 

 

4) SEGIO System Environment

TOP

   

 

 

For SEGIO user operating efficiency, prepare following environment elements for Linux system.

PostgreSQL 8.*

User Management, Board, Schedule, Electronic Approval, etc

Postfix

For Web Mail

 *PostgresSQL, which is open source software, has not copyright problem, is DBMS (Data Base Management System). SEGIO also can support other same software such as MySQL, Oracle, etc. SEGIO main environment setting elements are saved as specified text file. Use editor to edit it is possible.


 

 A. Environment Setting Path

 

   Following sheet show you default SEGIO environment setting path, under the default path “/etc/shttpd/conf". Depending on your operations, the path function can be different.

shttpd.conf

Default Environment Setting (No Web Management Tools )

fileicon.conf

Iron Express Setting Follow File Expanded Name

hosts.conf

Intracell, Virtual Hosting Environment Setting

gmodel.conf

Community/Club Motel Setting File

mimetype.conf

Customize Setting Follow File Expanded Name

m_virtuser.conf

Web Mail Virtual User Addition Appointment

m_localhost.conf

Web Mail Local Host Addition Appointment

ssl.conf

Web Security Server Setting File

word-*.conf

Variety Language Appointment File

 

 B. Default Environment Setting (shttpd.conf)

 
You can use system editor to edit "shttpd.conf" file and have to reboot SEGIO. Following sheet show you some examples about "shttpd.conf" file.

 NAME 

"SEGIO Homepage"

SEGIO System Name

IPADDRESS

"192.168.10.112"

SEGIO System IP Address

USER

"segio"

System Permission User ID

GROUP

"segio"

System Permission Group ID

ADMIN

"summer@0 wind@1"

SEGIO Administrator Appointment

HTTPPORT

"80"

Web Service Apply Port

SSLHOST

"ssl.segio.com"

Web Security Domain Address

FLAG_MAIL

"ON"

Support Web Mail or Not (On/Off  Appointment)

SERVER

"192.168.1.2 192.168.1.1"

Server Multi-objects IP Address

KeepAlive_Timeout              

"30"

Web Server Connection Holding Time (Default 30 seconds)

Posting_Timeout

"50"

Hosting Connection Holding Time(3 Default 0 seconds)

ListenBackLog "256" Web Daemon Max Socket Queue (Default 25)

Httpd_Prefork

"60" Web Daemon Queue Processor Create Count (Default:60)

VERSION

"4.0"

SEGIO Version Sign

 

   If “shttpd.conf” file is not exist in directory "/etc/shttpd/conf/", reference to "/etc/shttpd.conf" file and read the environment variable.

“keepalive_timeout” is an appointment value of Web server connection holding time. If procession time exceeds the appointed value of holding time, Connection will be disabled then Web service will be stop. The browser can maintain access which uses “keepallive” mode to need to access again after disable operation, so that set up short time unit for service problem reduction.
posting_timeout monitors data streaming speed and control the connection and web service if the speed is lower than 1byte per special time. Default value is 30seconds.


 

 C. SEGIO Administrator Appointment

 

 "SEGIO Administrator" can manage the Web hosting and Web server.

ADMIN "summer@000 wind@001"

→ No. 0 Intracell’s summer, No. 1 Intracell’s wind


    

 

 D. Server Multiplexing Designation (SERVER)

   ‘Server Multiplexing’ means set several decentralize servers in case server to halt with abnormal situation, then keeps services working. SEGIO Web Daemon has to have multiplexing engine.  

 

SERVER    "192.168.4.101 192.168.4.222"

 

Frame: Server name and IP address. And put blank space between both elements. Input sequence decision priority.


 

 

E. SSL Library Environment

 
SEGIO provides two libraries ‘libssl.so’ and ‘libcrypto.so’ for ‘https’ service via ‘openssl’ installation in Linux system. Important notice: compile library link path and Linux system installed library path have to be same, ensure ‘ssl’ service is working.
 Check library status like following picture, using command statements --.’ldd’
 

root@laptop:/# ldd /etc/shttpd/bin/https
    linux-vdso.so.1 =>  (0x00007fff225fe000)
    libssl.so.4 => /lib/libssl.so.4 (0x00007fc51a0b9000)
    libc.so.6 => /lib/libc.so.6 (0x00007fc519d47000)
    libcrypto.so.4 => /lib/libcrypto.so.4 (0x00007fc5199be000)
    libdl.so.2 => /lib/libdl.so.2 (0x00007fc5197ba000)
    libz.so.1 => /lib/libz.so.1 (0x00007fc5195a2000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fc51a308000)

 

 

 

Intracell user ID and Intracell number should be combined with symbol ‘@’, and the bland space division different users. Specify user level is modifiable at the Intracell.

 

 

 

‘ldd’ command can display the library index connected, include connection status and real path name. If system library do not prepare it, will display 'not found'.


 

    linux-vdso.so.1 =>  (0x00007fffc3fff000)
    libssl.so.4 => not found
    libc.so.6 => /lib/libc.so.6 (0x00007f6cbb9f4000)
    libcrypto.so.4 => /lib/libcrypto.so.4 (0x00007f6cbb66b000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f6cbbd66000)
    libdl.so.2 => /lib/libdl.so.2 (0x00007f6cbb467000)
    libz.so.1 => /lib/libz.so.1 (0x00007f6cbb24f000)

“libssl.so.4” can be implemented then have to confirm relative links and files use following method. If the library is not exist, install “openssl”. 

 

root@laptop:/# ls /lib/libssl.so.*
/lib/libssl.so.0.9.8
root@laptop:/# ln -s /lib/libssl.so.0.9.8 /lib/libssl.so.4

Use command ‘ls’, the check result is “/lib/libssl.so.0.9.8”. There is different according to system.
Second command, use command ‘ldd’ to check out symbolic link work status. Type the real installed file path onto the first section, then type the conditional path according to “https” requirement onto the second section seen in above picture. Use unified method to check libcrypto.so.* part.

 F. Intracell Configuration (hosts.conf)

 

  That is the Appointment File of Intracell and Virtual Home as units of SEGIO Wed service. The next picture is SEGIO server work diagram with 2 intracells 

 5) SEGIO Execution

TOP

   

 

     Implement next following command.

root@sm home]# /etc/shttpd/bin/shttpd

 

  Set up SEGIO start automatic when sever is rebooting, look at the following command statement: start, restart and stop.

 

[root@localhost ~]# service shttpd start SEGIO Service Start
[root@localhost ~]# service shttpd restart SEGIO Service Retart
[root@localhost ~]# service shttpd stop SEGIO Service Stop

   .

 

 

 

 

답글지움수정인쇄 아랫글 목록 윗글
댓글달기