yum --showduplicates list [package]
Should be called --all-versions instead.
A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.
Jump to
Quickly use a webserver to serve a local directory
Steps:
(source)
- sudo yum install lighttpd
- # Create a file containing:
server.document-root = "/path/to/your/directory/here/" server.port = 3000 mimetype.assign = ( ".html" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png" )
- lighttpd -t -f lighttpd.conf # check config
- lighttpd -D -f lighttpd.conf # run webserver
(source)
Subscribe to:
Posts (Atom)