1 / 19

Introduction to Linux Server Setup

Introduction to Linux Server Setup. Jonathan Hood CSE 4000 Practical Issues in Software Engineering. Introduction. Package manage with dpkg and apt Server Setup MySQL and phpMyAdmin Apache2 Subversion. Materials. A video of me doing this same install procedure.

crete
Download Presentation

Introduction to Linux Server Setup

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to Linux Server Setup Jonathan Hood CSE 4000 Practical Issues in Software Engineering

  2. Introduction • Package manage with dpkg and apt • Server Setup • MySQL and phpMyAdmin • Apache2 • Subversion

  3. Materials • A video of me doing this same install procedure. • A text document detailing the steps of this install. • These slides.

  4. What is dpkg and apt? dpkg is a package management system.  It: • Installs packages and dependencies • Versions packages • Removes packages

  5. What is dpkg and apt? apt is a package repository tool.  It: • Uses dpkg to install and remove packages. • Pulls packages from an online package repository. • Automatically updates packages.

  6. Some Commands apt-get update Downloads a list of packages that are available in the online repository.

  7. Some Commands apt-cache search <key> Searches for packages in the apt repository whose description or name matches <key>

  8. Some Commands apt-get install <packagename> Installs package identified by <packagename> and all of its dependencies.

  9. Some Commands apt-get remove <packagename> Removes the package identified by <packagename>

  10. Some Commands /etc/init.d/<servicename> <start/stop/reload/restart> Start, stop, reload, and restart a given service.

  11. Some Commands a2enmod <modulename> Enables an apache module identified by <modulename>

  12. Some Commands a2ensite <sitename> Enable the site-specific configuration file identified by <sitename> and contained in the folder /etc/apache/sites-available/

  13. Some Commands usermod -G <groupname> <username> Add the user identified by <username> to the group identified by <groupname>.

  14. Some Commands chown <user>:<group> <directory/file> -R Change the owner and group of a given directory or file to those identified by <user> and <group>. -R makes this command recursive. Meaning it will operate on subfolders and files.

  15. Some Commands chmod <permissions> <directory/file> -R Change the permissions with a given directory or file. -R makes this command recursive. Meaning it will operate on subfolders and files.

  16. Some Commands svnadmin create <directory> Creates a new svn repository at <directory>.

  17. Now, Let's set up a server!

  18. References • Linux man pages. • Apache Authentication Documentation (http://httpd.apache.org/docs/2.0/howto/auth.html) • mod_auth_pam Documentation (http://pam.sourceforge.net/mod_auth_pam/documentation.html) • My own head!

  19. Questions?

More Related