sutaaanisu 0 Report post Posted July 17, 2006 assalamualaikum.....kwn2 yg terer linux...aku nie newbie dlm OSS nie...baru nie aku ader install Linux Centos 4.3 pc kt opis. Aku nk install e-groupware kt Centos..tp aku taktau cara nk install menda alah tue...ader sesaper yg leh tolong bagitau cara nk install menda tue tk. Aku download dua version 1)eGroupWare-1.2-102.tar.bz22)eGroupWare-1.2.FC4-102.src.rpm Quote Share this post Link to post Share on other sites
Firestarter 0 Report post Posted July 17, 2006 Installing eGroupWareLast modified on: 06-28-2006I’m in the middle of evaluating calendaring software for my employer, and so far this one is my favorite one I’ve worked with. I figured I’d document the installation so I can refer to it later when I need it. It’s a little tricky to install and get setup. The documentation is fairly good at helping you along, but they forget to tell you little things, like create the database before you run the setup…these kinds of things. So I’ll do a step-by-step on CentOS and share. That should make it easy enough.System:Below are the packages I have installed with particular versions. * CentOS 4.3 * PostgreSQL 7.4.13 * Apache 2.0 * PHP 4.3.9Requirements: * PostgreSQL 7.2+ * Apache 1.33+ * PHP 4.3+For the cowards , they offer a “canned†installation called XAMPP. This contains Apache, PHP, Pear, all the good stuff you need that eGroupWare requires. For these kinds of things, I simply install the bare minimum from a CentOS 4.3 Server CD and add all the applications that I need. This keeps a new install very small, tight, and fast. A bare minimum install from CentOS Server CD is around 689Mb.Install PrerequisitesIf you don’t already have Apache, PostgreSQL, and PHP setup, then follow along. Otherwise, skip over this section. Unless otherwise stated, assume running everything from root.1) PostgreSQL SetupFirst thing to do is install Postgresql. I’m assuming very little security here, so if you require further security measures on your database, then please seek help and guidance from PostgreSQL.org.[root@yourbox ~]# yum install postgresql postgresql-server postgresql-develNext, start and stop the postgresql server. This will initialize the database.[root@yourbox ~]# service postgresql startInitializing database: [ OK ]Starting postgresql service: [ OK ][root@yourbox ~]# service postgresql stopStopping postgresql service: [ OK ]Next configure postgresql to allow for TCP/IP connections.[root@yourbox ~]# vim /var/lib/pgsql/data/postgresql.conf#tcpip_socket = falsetcpip_socket = true# While I'm here, I usually change some memory options around too.#sort_mem = 1024sort_mem = 16384#vacuum_mem = 8192vacuum_mem = 16384Write and quit the configuration file. Configure the permissions for postgresql.[root@yourbox ~]# vim /var/lib/pgsql/data/pg_hba.conf# Add the following to allow the egroupware user to connect.host egroupware egroupware 127.0.0.1/24 passwordRestart the postgresql server and configure it on.[root@yourbox ~]# service postgresql start[root@yourbox ~]# chkconfig postgresql on2) Create eGroupWare DB and UserLet’s go ahead and create the database and password for the eGroupWare software. I’ll use generic values, but you can change them to something more useful if you’d like. Don’t forget if you choose a different user and password to change it in the file above you just configured.[root@yourbox ~]# su - postgres# Create the user-bash-3.00$ createuser --no-adduser --no-createdb -P egroupwareEnter password for new user: type_your_pwEnter it again: type_it_againCREATE USER# Create the database-bash-3.00$ createdb --owner egroupware egroupwareCREATE DATABASE# Test out the connection-bash-3.00$ psql egroupwareWelcome to psql 7.4.13, the PostgreSQL interactive terminal.Type: copyright for distribution terms h for help with SQL commands ? for help on internal slash commands g or terminate with semicolon to execute query q to quitegroupware=# q-bash-3.00$ exit3) Install and Configure ApacheAgain, skip over if this is completed. This provides no security measures, consult Apache’s documentation if you wish to configure things more strict.[root@yourbox ~]# yum install httpd httpd-devel[root@yourbox ~]# vim /etc/httpd/conf/httpd.conf#ServerName new.host.name:80ServerName yourserver.yourdomain.example:80Start and configure Apache to be on.[root@yourbox ~]# service httpd start[root@yourbox ~]# chkconfig httpd on4) Install Remaining PackagesLet’s install the remaining packages eGroupWare is going to need. These include mainly PHP packages. A few of these packages might not be needed, but I just install them anyways. They aren’t that big in size. For instance, the LDAP items aren’t needed if you’re not planning on using the the mailing module for eGroupWare.[root@yourbox ~]# yum install php php-pear php-imap php-ldap php-pgsql php-gd php-devel php-mbstringInstallation/Configuration of eGroupWare:1) Download and UnpackThey have platform independent RPMs available, but I found it easier to just install from the source package. Grab either the .zip or .tar.gz from SourceForge.net.Next, unpack the files into your document root of Apache. You can change the name of the unzipped directory to something else if you’d like. I’m keeping it default for this.[root@yourbox ~]# cd /var/www/html/[root@yourbox ~]# tar -xzf /path/to/eGroupWare-1.x-xxx.tar.gz[root@yourbox ~]# chown -R apache.apache egroupware2) Configure PHPBefore you begin the installation, let’s go ahead and configure a few things that eGroupWare is going to want from PHP.[root@yourbox ~]# vim /etc/php.ini# Change the memory_limit to 16MBmemory_limit = 16M# Change the following line for UNICODE;mbstring.func_overload = 0mbstring.func_overload = 7Make sure you restart the Apache after these changes.[root@yourbox ~]# service httpd restartPear needs a logging package installed as well.[root@yourbox ~]# pear install log[snip]install ok: Log 1.9.63) Installing eGroupWareeGroupWare is easily setup from a web interface. Point your browser to http://yourbox/egroupware/setup to begin. Click on Run installation tests.Kalo salah tolong betulknan. Quote Share this post Link to post Share on other sites
sutaaanisu 0 Report post Posted July 17, 2006 thanks ,mohdzainal....aku cuba ikut cara ko..install kt centos aku tue...nnt kalau ader masalah lagi cuba akan tanyer balik.... Quote Share this post Link to post Share on other sites
Firestarter 0 Report post Posted July 17, 2006 Lagi detail ade kat sini Quote Share this post Link to post Share on other sites
sutaaanisu 0 Report post Posted July 17, 2006 eemm..aku tengah ikut tutorials yg ko kasik tu mohdzainal......skarang nie tengah download postgresql nyer database......under construction.....nnt kalaua der error aku tanyer ko lagi Quote Share this post Link to post Share on other sites
sutaaanisu 0 Report post Posted July 17, 2006 mohdzainal.....naper biler sampai part nie #vim /var/lib/pgsql/data/postgresql.confbash: vim: command not foundaper yg perlu aku baut yer..kalau aku gune "vi" bule tk utk edit tcpip_socket tue Quote Share this post Link to post Share on other sites
Firestarter 0 Report post Posted July 17, 2006 (edited) Ko kena install vim tu dulu. Command tu dia tak jumpe. Download kat sini. ./configure , make dan make install. Ko restart pc pastu cuba test ok ke tak. Edited July 17, 2006 by mohdzainal Quote Share this post Link to post Share on other sites
sutaaanisu 0 Report post Posted July 17, 2006 aku tengah download vim tue...aku gune yumex senang sikit..skarang nie dlm process install vim tue....thnxs..nnt aku tanyer lagi Quote Share this post Link to post Share on other sites
Firestarter 0 Report post Posted July 24, 2006 Ni dah senyap ni..kira ok latu..no prob..huhu Quote Share this post Link to post Share on other sites