Introduction to Linux Server Setup Jonathan Hood CSE 4000 Practical Issues in Software Engineering
Introduction Package manage with dpkg and apt Server Setup o MySQL and phpMyAdmin o Apache2 o Subversion
Materials A video of me doing this same install procedure. A text document detailing the steps of this install. These slides.
What is dpkg and apt? dpkg is a package management system. It: Installs packages and dependencies Versions packages Removes packages
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.
Some Commands apt-get update Downloads a list of packages that are available in the online repository.
Some Commands apt-cache search Searches for packages in the apt repository whose description or name matches
Some Commands apt-get install Installs package identified by and all of its dependencies.
Some Commands apt-get remove Removes the package identified by
Some Commands /etc/init.d/ Start, stop, reload, and restart a given service.
Some Commands a2enmod Enables an apache module identified by
Some Commands a2ensite Enable the site-specific configuration file identified by and contained in the folder /etc/apache/sites-available/
Some Commands usermod -G Add the user identified by to the group identified by.
Some Commands chown : -R Change the owner and group of a given directory or file to those identified by and. -R makes this command recursive. Meaning it will operate on subfolders and files.
Some Commands chmod -R Change the permissions with a given directory or file. -R makes this command recursive. Meaning it will operate on subfolders and files.
Some Commands svnadmin create Creates a new svn repository at.
Now, Let's set up a server!
References Linux man pages. Apache Authentication Documentation ( mod_auth_pam Documentation ( html) My own head!
Questions?