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
» מדריך התקנה InspIRCd-3.0.0-rc1
Guide install postgresql on ubuntu EmptyWed Feb 06, 2019 8:43 pm by Chief

» מדריך פקודות בגירסה INSPIRCD
Guide install postgresql on ubuntu EmptyTue Dec 04, 2018 9:55 pm by Chief

» mIRCx IRC Network Config
Guide install postgresql on ubuntu EmptySat Aug 04, 2018 2:39 pm by Chief

» מדריך הגנות אופרים בגירסאות IRCD
Guide install postgresql on ubuntu EmptyMon May 14, 2018 5:50 am by Chief

» install irssi v1.2-1.2-dev in freebsd
Guide install postgresql on ubuntu EmptyThu Mar 22, 2018 5:43 am by Chief

» install ZNC in Ubuntu 14.04
Guide install postgresql on ubuntu EmptySun Mar 04, 2018 5:50 am by Chief

» מדריך שינוי גירסאות ב FREEBSD
Guide install postgresql on ubuntu EmptyFri Mar 02, 2018 8:35 am by Chief

» מדריך התקנה ZNC על WINDOWS 7
Guide install postgresql on ubuntu EmptyWed Feb 21, 2018 3:30 am by Chief

» Guide install Znc in FreeBsd
Guide install postgresql on ubuntu EmptySun Feb 18, 2018 7:58 am by Chief

April 2019
MonTueWedThuFriSatSun
1234567
891011121314
15161718192021
22232425262728
2930     

Calendar Calendar

Affiliates
free forum

Affiliates
free forum


Guide install postgresql on ubuntu

Go down

Guide install postgresql on ubuntu Empty 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
Guide install postgresql on ubuntu 118
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
Guide install postgresql on ubuntu 214
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
Guide install postgresql on ubuntu 315
like you see this commands for Create New database
Code:

CREATE DATABASE mircx;
for look list of Databases you can write like this
Guide install postgresql on ubuntu 415
step3
you can also create TABLE nember if you dont know how this working then its look like this
Guide install postgresql on ubuntu 514
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
Guide install postgresql on ubuntu 613
the commands for create you can write like this
Guide install postgresql on ubuntu 712
Code:

CREATE ROLE login_mircx WITH login;
\du
after you doing this you can see in picture your create roles
Guide install postgresql on ubuntu 814
step5
if you want create password you need make like this
Guide install postgresql on ubuntu 912
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
Guide install postgresql on ubuntu 1112
Code:

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

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

View user profile

Back to top Go down

Back to top

- Similar topics

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