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
Tue Dec 04, 2018 9:55 pm by Chief

» mIRCx IRC Network Config
Sat Aug 04, 2018 2:39 pm by Chief

» מדריך הגנות אופרים בגירסאות IRCD
Mon May 14, 2018 5:50 am by Chief

» install irssi v1.2-1.2-dev in freebsd
Thu Mar 22, 2018 5:43 am by Chief

» install ZNC in Ubuntu 14.04
Sun Mar 04, 2018 5:50 am by Chief

» מדריך שינוי גירסאות ב FREEBSD
Fri Mar 02, 2018 8:35 am by Chief

» מדריך התקנה ZNC על WINDOWS 7
Wed Feb 21, 2018 3:30 am by Chief

» Guide install Znc in FreeBsd
Sun Feb 18, 2018 7:58 am by Chief

» Guide install InspIRCd v3.0.0a5 in FreeBsd
Thu Jan 18, 2018 9:52 pm by Chief

December 2018
MonTueWedThuFriSatSun
     12
3456789
10111213141516
17181920212223
24252627282930
31      

Calendar Calendar

Affiliates
free forum

Affiliates
free forum


Guide install postgresql on ubuntu

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

מספר הודעות : 225
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