How to Install Drupal on Webmin

Save

Drupal is a content management system (CMS) that is used to organize files and media for websites. The Drupal CMS allows anyone to build Web portals or community websites, even if they don't know how to program in HTML. Installing Drupal is usually a simple and straightforward procedure, although those using the Webmin control panel to manage their server may have to take the time to install Drupal manually. This is easy to do, as long as you follow a few basic instructions.

  • Log in to your Webmin control panel. Open a Web browser and type the address of your control panel login screen. Enter your username and password for Webmin, then click the "Login" button.

  • Select your bootup settings. From within the Webmin control panel, navigate to "Bootup and Shutdown." Once you have arrived on this page, check the boxes to enable the daemons for "httpd" and "mysqld." Click "Save" to return to the main dashboard for the control panel.

  • Create a new user on the system and edit the "httpd" configuration for that user account. Click on "Global Configuration," then select "Edit Config Files" to open and edit the file. Look for the "Allow Override" section of the configuration file and change the setting from "None" to "All." Click "Save" to return to the Webmin control panel.

  • Navigate to the MySQL section of Webmin and create a new MySQL database. Create a new user for the database and give that user "All Privileges" for adding and removing data. Make note of the database name, username and database password, then return to the Webmin control panel.

  • Upload the Drupal files to the Web-hosting account of the user you created on the system. This can be done by using the Webmin File Manager, or by using an FTP software program, such as FileZilla or SmartFTP.

  • Enter the following into the Command line to give the user of the new account full access to the directory his Drupal CMS is installed in. Reboot the server when complete.

    chgrp -R apache .

    chown -R apache ./sites/default

    chgrp -R myuser ./sites/default

    chmod -R g+w sites/default

  • Open a Web browser and navigate to the address of the website you are installing Drupal on. The installation routine will be launched automatically. Follow the onscreen instructions. Enter your database name, username and password when prompted.

  • Delete the "Installation" directory. Log back in to Webmin and navigate to the File Manager. Select the "Installation" directory and choose "Delete."

References

Promoted By Zergnet

Comments

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!