Skip to content

this script to automate the installation of Nextcloud

License

Notifications You must be signed in to change notification settings

edsonsbj/Nextcloud-Install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nextcloud-Install

This repository contains a bash script to automate the installation of Nextcloud on Debian or Ubuntu servers. The script handles the installation and configuration of necessary dependencies, web server setup, database setup, and Nextcloud installation.

Table of Contents

Usage

  1. Clone the repository:

    git clone https://github.com/yourusername/Nextcloud-Install.git
    cd Nextcloud-Install
  2. Make the script executable:

    chmod +x nextcloud_install.sh
  3. Run the script with superuser privileges:

    sudo ./nextcloud_install.sh
  4. Follow the prompts to select your distribution and web server.

Features

  • Automatic Dependency Installation: Installs PHP 8.3, required PHP extensions, MariaDB, Redis, and more.
  • Web Server Configuration: Supports both Apache and Nginx.
  • Database Configuration: Creates a database and user for Nextcloud with randomly generated credentials.
  • Nextcloud Configuration: Sets up Nextcloud with optimal settings for performance and security.
  • Logging: Captures the output of each command to a log file for troubleshooting.

Logs

The script creates a log file at /var/log/nextcloud_install.log to record the output of each command executed. This log can be used to troubleshoot any issues that arise during the installation.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -am 'Add new feature')
  4. Push to the branch (git push origin feature-branch)
  5. Open a pull request

License

This project is licensed under the MIT License. See the LICENSE file for details.


By following the steps outlined in this README, you should be able to successfully install and configure Nextcloud on your server. If you encounter any issues, refer to the log file or open an issue in the repository. Happy self-hosting!

Releases

No releases published

Packages

No packages published

Languages