Search
 
 

Display results as :
 


Rechercher Advanced Search

Web Applications
install Joomla Wordpress Phpbb Drupal FluxBB PunBB osCommerce simple-machines MYBB moodle vBulletin Dolphin-v.7.1.1 PHPNUKE XOOPS
Services
install BorkNet Services X3 Services Anope Atheme Services Srvx IRC Srervices
IRCD
install Snircd IRCU INSPIRCD UNREAL Nefarious Bircd Bahamut Asuka Charybdis
TCL SCRIPT
TCL SCRIPT FOR EGGDROP Allprotection4.7 Antiproxy
Bots
Bots install FishBot bobot++ Eggdrop janus Omega Security Services Botnix Bopm SupyBot PyLink Hopm
Latest topics
November 2017
MonTueWedThuFriSatSun
  12345
6789101112
13141516171819
20212223242526
27282930   

Calendar Calendar

Affiliates
free forum

Affiliates
free forum


Guide install postgresql on ubuntu

View previous topic View next topic Go down

Guide install postgresql on ubuntu

Post  Chief on Wed Nov 20, 2013 12:02 am

Guide install postgresql on ubuntu
ok before i start with my guide i go to explain how we can install postgresql on ubuntu and create name database and create TABLE
i epxlain slow slow and step by step.........
step1
we need inside to Terminal and write like this

this the commands you need to install
Code:

sudo apt-get install postgresql postgresql-client postgresql-common
step2
after you install postgresql in your system then now you need also create database and you need doing like this

if  you see you have two commands and it this
Code:

sudo su postgres
psql
afther you write two commands you can see you inside to options create new Database this look like this

like you see this commands for Create New database
Code:

CREATE DATABASE mircx;
for look list of Databases you can write like this

step3
you can also create TABLE nember if you dont know how this working then its look like this

this mean you can copy this and put your name psql
Code:

psql mircx
CREATE TABLE member (
name varchar(80),
last varchar(80),
birthdate date
);
step4
you can CREATE in you psql  Separate Roles you can see in here all options what you have

the commands for create you can write like this

Code:

CREATE ROLE login_mircx WITH login;
\du
after you doing this you can see in picture your create roles

step5
if you want create password you need make like this

Code:

sudo -u postgres psql mircx
\password postgres
more something important if you want remove your database what you Create then you need doing like this

Code:

dropdb mircx
for question
mircx123@gmail.com
Good luck
Guide By MIRCX
The community old
avatar
Chief
Admin

מספר הודעות : 214
Join date : 2011-12-09
מיקום : mIRCx IRC Network

View user profile

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum