CPaste is a paste service using Carbon and Redis
$ cat myfile.txt | curl -F 'f=<-' mydomain.mytld:8081
http://mydomain.mytld:8081/rpPxsp6d
$ curl http://mydomain.mytld:8081/raw/rpPxsp6d
<Content of myfile.txt>
Tweak cpaste.conf
to your liking, look at Carbon for the options.
Most likely you only want to change the port.
Copy example_settings.lua
to settings.lua
, change everything you need to change in there.
Make sure Redis runs on the specified address in settings.lua
Get Carbon itself and run carbon --config=cpaste.conf
in the source directory.