Linux

오픈소스 SugarCRM 설치하기

Naan 2015. 4. 1. 00:46
반응형

오픈소스 SugarCRM  설치하기

우선 장비 셋팅을 해야 한다.

Centos 나 ubunt를 준비 하자

(centos 기반)


아파치 설치

# yum install apache* 


mysql 설치 및 설정

# yum install mysql*

# service mysqld start

# mysql -u root -p

Enter password:

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 2

Server version: 5.1.73 Source distribution


Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.


Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.


Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.


mysql> CREATE DATABASE suitecrm CHARACTER SET utf8 COLLATE utf8_bin;

Query OK, 1 row affected (0.00 sec)


mysql> GRANT ALL PRIVILEGES ON suitecrm.* TO 'suitecrm'@'localhost' IDENTIFIED BY 'passwd';

Query OK, 0 rows affected (0.00 sec)


mysql> FLUSH PRIVILEGES;

Query OK, 0 rows affected (0.00 sec)


mysql>



php 설치

# yum install php*


아파치 php 연동

# vi /etc/http/conf/http.conf

LoadModule php5_module modules/libphp5.so 

AddType application/x-httpd-php .php .php3 .php4 .php5 .html .htm .inc 

DirectoryIndex index.html index.htm index.php

위 내용 추가


http://sourceforge.net/projects/suitecrm/ 들어가서 최신 버전을 다운 받자


suitecrm-7.2.1.zip


# unzip suitecrm-7.2.1.zip

# chmod -R 711 suitecrm-7.2.1

# chorn -R apache:apache suitecrm-7.2.1

# cd suitecrm-7.2.1 * /var/www/html/


# service httpd restart


방화벽 설정

# vi /etc/sysconfig/iptables

-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT

-A INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT

추가
# service iptables restart


인터넷 브라우저에

http://localhost/install.php


하면 위와 같이 설치 화면이 뜬다.

아쉽게도 한글은 없다.


다음


동의 하고 다음


귀찮으니 표준 설치로


db는 mysql 다음


아까 mysql 설정할대 입력했던 정보를 입력하면 된다.


accept 누르고


admin 계정 암호를 묻는다 암호를 적고 다음


이대로 설치 할거냐 묻는다 install 


모든게 설치가 완료됐다.


로그인 창이 뜬다 admin 계정과 설치할때 암호 입력했던것을 넣어서 로그인 하자



반응형