Home » SIDU
 

How to install databases

1 # 2013-01-01 00:00 | Forum
You need to check official websites as howto. Here is a quick guide for ubuntu users as howto install Apache2+PHP5, MySQL, PostgreSQL, SQLite, CUBRID, MSSQL

A. Install apache2+php5: windows xampp; ubuntu:
sudo apt-get install apache2 php5 libapache2-mod-php5 php5-gd

B1. Install MySQL database and php driver: [optional]
sudo apt-get install mysql-server mysql-client php5-mysql

B2. Install PostgreSQL database and php driver: [optional]
sudo apt-get install postgresql php5-pgsql
Setup password for user postgres via terminal
sudo -u postgres psql ## login via cmd
\password postgres ## input new password twice
\q ## exit psql

B3. Install php driver for SQLite: [optional]
sudo apt-get install php5-sqlite

B4. Install CUBRID database and php driver: [optional]
sudo add-apt-repository ppa:cubrid/cubrid
sudo apt-get update
sudo apt-get install cubrid php5-cubrid cubrid-demodb
You need to start db each time on use:
cubrid server start demodb

B5. Install Microsoft SQL Server (MSSQL): [optional]
sudo apt-get install freetds-common freetds-bin unixodbc php5-sybase

C. Restart apache server: ubuntu
sudo service apache2 restart
Read: 561381 | Reply: 53443Updated: 2013-10-20 22:44

Back « SIDU Support and Help Desk
Next » Optional sidu_fk table

You can not reply # 3

Category

CMS (5)
SIDU (10)
BensonBank (2)
General (3)
PageMaker (2)
Blog (8)


Top Read

» How to install databases
» Godaddy Magic Quotes Problem
» Benson Bank 5.0 Released on 28 Oct 2013
» SIDU 5.1 released on 15 Oct 2013
» Topnew Blog, Forum, Support 4.0
» Optional sidu_fk table
» Topnew CMS 4.0 Released
» Blog Docs 1 - Basic and quick setup
» SMINT menu bar: fixed when scrolling
» SIDU import/export data clean
» A list of PHP functions that I checked
» Page Maker 5.0 Released 2014-01-05
» Howto create a Topnew CMS theme
» Blog Docs 5 - Themes
» Secure PHP login with database js for http sites

New Replies

» SIDU hotkey list
» Blog Docs 4 - Category
» Topnew CMS 5.0 Released - 2013.12.28
» Blog Docs 2 - Advanced Setup: Customize
» Blog Docs 3 - Owner, Staff, Friends
» pinyin
» BensonBank Tutorial 1 - Get started
» SIDU SQL in charts: howto
» Blog Docs 7 - Developer: System Tables
» Login logout and password
» SIDU Support and Help Desk
» SIDU feature request and bug
» Blog Docs 6 - Admin
» Screenfly / Test Your Website at Different Screen Resolutions
» PageMaker Doc 1 - Quick Setup Guide

Archive

» 2014 (1)
Jan (1);
2014-01-05 (1)

» 2013 (18)
Dec (5);
2013-12-29 (1)
2013-12-28 (1)
2013-12-17 (1)
2013-12-11 (1)
2013-12-10 (1)
Nov (2);
2013-11-22 (1)
2013-11-18 (1)
Oct (4);
2013-10-28 (1)
2013-10-26 (1)
2013-10-23 (1)
2013-10-15 (1)
Jan (7);
2013-01-11 (1)
2013-01-08 (1)
2013-01-05 (1)
2013-01-04 (1)
2013-01-03 (1)
2013-01-02 (1)
2013-01-01 (1)

» 2012 (6)
Dec (5);
2012-12-31 (1)
2012-12-30 (1)
2012-12-29 (2)
2012-12-28 (1)
Nov (1);
2012-11-26 (1)

» 2011 (5)
Aug (5);
2011-08-31 (1)
2011-08-30 (2)
2011-08-29 (1)
2011-08-28 (1)

2017-09-23 14:34