forked from abique/paste-binouse
-
Couldn't load subscription status.
- Fork 0
A very simple paste-bin in C++, but yet secure and reliable.
License
Couldn't load subscription status.
r0ro/paste-binouse
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
__________ __
\______ \_____ _______/ |_ ____
| ___/\__ \ / ___/\ __\/ __ \
| | / __ \_\___ \ | | \ ___/
|____| (____ /____ > |__| \___ >
\/ \/ \/
__________.__
\______ \__| ____ ____ __ __ ______ ____
| | _/ |/ \ / _ \| | \/ ___// __ \
| | \ | | ( <_> ) | /\___ \\ ___/
|______ /__|___| /\____/|____//____ >\___ >
\/ \/ \/ \/
Paste Binouse is a very simple and standalone paste bin.
Installation
~~~~~~~~~~~~
# mkdir build
# cd build
# cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release ..
# make
# make install
Then I recommend you to create a new user paste-binouse:
# useradd --comment "paste-binouse web server" \
--home-dir /srv/paste-binouse \
--create-home --shell /bin/false --user-group paste-binouse
Then you have to initialize the database:
# su --shell=/bin/bash \
--command="/usr/bin/paste-binouse-init /srv/paste-binouse" \
paste-binouse
And now you can start the server:
# paste-binoused >/var/log/paste-binouse.log
About
A very simple paste-bin in C++, but yet secure and reliable.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C++ 84.3%
- JavaScript 7.9%
- Shell 4.8%
- CSS 3.0%