Giter Club home page Giter Club logo

interns2020's Introduction

interns2020

To where should you clone this repo?

  • Use Git Bash to clone the repo to /c/dev/code/interns2020; you can do that with the command git clone git.learninga-z.com:laz/interns2020 /c/dev/code/interns2020

Steps to install Apache as a service to run this repo:

  • open a Git Bash shell window as administrator
    • execute the command: /c/dev/tools/apache/bin/httpd.exe -f /c/dev/code/interns2020/conf/httpd.conf -k install -n "Apache2.4 (interns2020)"; you can copy+paste to do it, just don't copy the back-ticks surrounding it if you're looking at the source view of the Markdown file
    • keep the window open for later use setting up MySQL
  • open up the Services application (get to it from your Start Menu)
  • select NGINX in the services list
    • Stop the service
    • right click and select "properties"
    • set the Startup Type to "manual"
    • click OK
  • select Apache2.4 with no qualifiers in the services list
    • Stop the service
    • Set the Startup Type to "manual" as you did NGINX
  • select Apache2.4 (interns2020), just below the previous entry
    • Set the Startup Type to "automatic"
    • Start the service

Steps to install MySQL as a service:

  • Stop the service mysqld_master and set its Startup Type to "manual", as you did with Apache and NGINX above

  • Using the administrator shell you opened above, execute the command /c/dev/tools/mysql/bin/mysqld.exe --install "MySQL (interns2020)" --defaults-file="C:/dev/code/interns2020/conf/my.ini"; again, don't copy the back-ticks

    • You can now close this window
  • Use the Action menu in the Services application to Refresh the list

  • Open a new non-administrator shell window

    • execute the command /c/dev/code/interns2020/conf/setup-mysql.bash
  • Start the MySQL (interns2020) service, just above the mysqld_master service you previously stopped

  • Set a password for the root user by executing winpty mysqladmin -u root -h 127.0.0.1 --skip-password password and then following the prompts to type a new password twice. Note that in the command, the word password is actually the word password; not a variable for you to replace.

  • You can then access MySQL with the client by saying winpty mysql -u root -h 127.0.0.1 -p

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.