Add note to TLDR to remind users to configure PrivateBin, change links, add sql syntax highlighting
parent
c73de44c5a
commit
9f087ffe41
@ -3,7 +3,8 @@
|
|||||||
**TL;DR:** Download the
|
**TL;DR:** Download the
|
||||||
[latest release archive](https://github.com/PrivateBin/PrivateBin/releases/latest)
|
[latest release archive](https://github.com/PrivateBin/PrivateBin/releases/latest)
|
||||||
and extract it in your web hosts folder were you want to install your PrivateBin
|
and extract it in your web hosts folder were you want to install your PrivateBin
|
||||||
instance.
|
instance. Afterwards adjust the configuration. This is relevant for the security of
|
||||||
|
your PrivateBin instance!
|
||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
@ -26,7 +27,7 @@ you set a time limit in seconds. Users may not post more often then this limit
|
|||||||
to your PrivateBin installation.
|
to your PrivateBin installation.
|
||||||
|
|
||||||
More details can be found in the
|
More details can be found in the
|
||||||
[configuration documentation](https://github.com/PrivateBin/PrivateBin/wiki/Configuration).
|
[configuration documentation](../Configuration).
|
||||||
|
|
||||||
## Advanced installation
|
## Advanced installation
|
||||||
|
|
||||||
@ -92,32 +93,34 @@ gain any experience running PrivateBin on other RDBMS, please let us know.
|
|||||||
|
|
||||||
For reference or if you want to create the table schema for yourself:
|
For reference or if you want to create the table schema for yourself:
|
||||||
|
|
||||||
CREATE TABLE prefix_paste (
|
```sql
|
||||||
dataid CHAR(16) NOT NULL,
|
CREATE TABLE prefix_paste (
|
||||||
data BLOB,
|
dataid CHAR(16) NOT NULL,
|
||||||
postdate INT,
|
data BLOB,
|
||||||
expiredate INT,
|
postdate INT,
|
||||||
opendiscussion INT,
|
expiredate INT,
|
||||||
burnafterreading INT,
|
opendiscussion INT,
|
||||||
meta TEXT,
|
burnafterreading INT,
|
||||||
attachment MEDIUMBLOB,
|
meta TEXT,
|
||||||
attachmentname BLOB,
|
attachment MEDIUMBLOB,
|
||||||
PRIMARY KEY (dataid)
|
attachmentname BLOB,
|
||||||
);
|
PRIMARY KEY (dataid)
|
||||||
|
);
|
||||||
CREATE TABLE prefix_comment (
|
|
||||||
dataid CHAR(16),
|
CREATE TABLE prefix_comment (
|
||||||
pasteid CHAR(16),
|
dataid CHAR(16),
|
||||||
parentid CHAR(16),
|
pasteid CHAR(16),
|
||||||
data BLOB,
|
parentid CHAR(16),
|
||||||
nickname BLOB,
|
data BLOB,
|
||||||
vizhash BLOB,
|
nickname BLOB,
|
||||||
postdate INT,
|
vizhash BLOB,
|
||||||
PRIMARY KEY (dataid)
|
postdate INT,
|
||||||
);
|
PRIMARY KEY (dataid)
|
||||||
CREATE INDEX parent ON prefix_comment(pasteid);
|
);
|
||||||
|
CREATE INDEX parent ON prefix_comment(pasteid);
|
||||||
CREATE TABLE prefix_config (
|
|
||||||
id CHAR(16) NOT NULL, value TEXT, PRIMARY KEY (id)
|
CREATE TABLE prefix_config (
|
||||||
);
|
id CHAR(16) NOT NULL, value TEXT, PRIMARY KEY (id)
|
||||||
INSERT INTO prefix_config VALUES('VERSION', '0.22');
|
);
|
||||||
|
INSERT INTO prefix_config VALUES('VERSION', '0.22');
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user