Giter Club home page Giter Club logo

project2waybeyond's Introduction

This is a bash script repo that installs and configures various software and services on a Ubuntu-based system. The script performs the following actions:

Run bash installer-apacher-mysql-php.sh

Installs the scrot package. Gets a list of IP addresses of all network interfaces, excluding the loopback address. Prompts the user to select an IP address from the list. Generates a random password for the MySQL root user and stores it in a text file. Updates the OS and upgrades the packages to the latest version. Installs the Apache web server, opens the firewall ports for TCP/80 and TCP/443, and restarts the Apache service. Installs the MySQL Server, sets the password for the root user, and restarts the MySQL service. Enables the Ubuntu universe repos, installs PHP and the necessary PHP libraries, and enables mod_rewrite in Apache. Restarts the Apache service and creates a test script to verify the PHP installation. Installs Git and clones the WordPress repository. Sets the ownership of the /var/www/html contents and directory to Apache user, enables Apache overrides for /var/www path, and restarts the Apache2 service. Connects to the MySQL server as root, creates a database and user for WordPress, and updates the wp-config.php file with the database information. The script uses the scrot package to take screenshots of the terminal at various stages of the installation and saves them to the desktop.

project2waybeyond's People

Contributors

swiftnicholas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.