cd \/opt\r\nwget https:\/\/launchpad.net\/plone\/5.1\/5.1.5\/+download\/Plone-5.1.5-UnifiedInstaller.tgz<\/pre>\nUnpack the downloaded archive and create a new directory:<\/p>\n
tar -xvzf Plone-5.1.5-UnifiedInstaller.tgz\r\nmkdir plone<\/pre>\nMove all the files from Plone-5.1.5-UnifiedInstaller into the plone directory.<\/p>\n
mv \/opt\/Plone-5.1.5-UnifiedInstaller\/* \/opt\/plone<\/pre>\nWe will start the installation by running the \u2018install.sh\u2019 script and install Plone. It is important to execute the command with the sudo utility for a server-mode install. Also, we need to replace the password field with a strong password.<\/p>\n
After the installation, if you missed or you didn’t save your admin password for some reason you can check it from the \/opt\/plone\/zinstance\/adminPassword.txt<\/code> file.<\/p>\ncd \/opt\/plone\r\nsudo .\/install.sh standalone --target=\/opt\/plone --password=strong_password --with-python=\/usr\/bin\/python2.7<\/pre>\nOnce the installation has been completed successfully, we should get the following output:<\/p>\n
#####################################################################\r\n###################### Installation Complete ######################\r\nPlone successfully installed at \/opt\/plone\r\nSee \/opt\/plone\/zinstance\/README.html\r\nfor startup instructions.\r\nUse the account information below to log into the Zope Management Interface\r\nThe account has full 'Manager' privileges.\r\nUsername: admin\r\nPassword: strong_password\r\nThis account is created when the object database is initialized. If you change\r\nthe password later (which you should!), you'll need to use the new password.\r\nUse this account only to create Plone sites and initial users. Do not use it\r\nfor routine login or maintenance.- If you need help, ask in IRC channel #plone on irc.freenode.net. - The live support channel also exists at http:\/\/plone.org\/chat - You can also ask for help on https:\/\/community.plone.org - Submit feedback and report errors at https:\/\/github.com\/plone\/Products.CMFPlone\/issues (For install problems, https:\/\/github.com\/plone\/Installers-UnifiedInstaller\/issues)<\/pre>\nWe can start the Plone service using the following command:<\/p>\n
sudo \/opt\/plone\/zinstance\/bin\/plonectl start<\/pre>\nOutput:\r\ninstance: .\r\ndaemon process started, pid=32266<\/pre>\nIn the next section, we will show you how to create a Plone systemd service – that way you don’t have to run the server in a terminal session.<\/p>\n
If you want to check the status of Plone, run the following command:<\/p>\n
sudo \/opt\/plone\/zinstance\/bin\/plonectl status<\/pre>\nOutput:\r\ninstance: program running; pid=32266<\/pre>\nTo stop the Plone service we can use the following command:<\/p>\n
sudo \/opt\/plone\/zinstance\/bin\/plonectl stop<\/pre>\nOutput:\r\ninstance: .\r\ndaemon process stopped<\/pre>\n