A online demo is available at pasteburn.onrender.com. Note that the demo is very unstable and should not be used for purposes other than demonstration. Paste something into pasteburn with a password.
Download it and extract the file. Put the scripts to the 'www' or 'htdocs' directory. Create a database. Import the 'search_engine.sql' file to your database. Go to config folder and open 'config.php' ...