https://generalassemb.ly/education/be-your-own-web-host-with-linux/austin/24241
Here’s the link for the Meetup:
https://lnkd.in/eKqnMiA
I’ll be updating this page with more notes…
This PDF was recommended to me by Josh Cunningham and it’s a great introduction to Linux that you can print out and read on the couch:
Unix for the Beginning Mage http://pjbrunet.com/linux/ufbm.pdf
—
Discuss all this…
— [ Would you like to play a game? ]—- Screenshot news article – Tom from Myspace.
—- Curiosity vs. being careful & saving time
—— Stick to defaults to save time.
—— Stereotype of the sysadmin [ Jurassic Park? ]
http://www.criticalcommons.org/Members/ccManager/clips/jurassicparkhackerstereotype.mp4/thumbnailImage
—- [ White hat, black hat ]
—- What is a hacker? [ Hacker’s Book ] Hacker ethic.
—— People trying to hack you vs. your server.
——– Low-hanging fruit vs. being targeted
———- [ bad celebrity disguise ]
———- Security through obscurity, why Linux is safer
———- big target vs. little target
— What is a System Administrator? [ Got root? ]
—- Security of root vs. users.
—- Limiting access.
—- Where you’re vulnerable:
— Get your client set up, in style.
—- [ Client-Terminal Concept ]
—- What is a terminal?
—- Text editing [ mindmap of erver-side vs. client-side ]
—— What are we going to edit?
—- All you need is a terminal!
—- Client hardware vs. server hardware
— [ Map of data centers ]
—- Hops, traceroute
—- Choosing a data center
—— Central vs. local
— [ User DNS — your DNS — Web Server — Your Laptop — Users Cloud aka Internet aka “all the devices” ]
—- Explain where you set up DNS
—- Explain where you set up Hosting (host control panels)
—- Explain all the parts…
— [ RTFM – dot matrix stack of paper vs. stack of manuals ]
—- volume of information is accelerating
—- hence, value of classes at General Assembly
—- Where to find information?
—— [ “Unix for the Beginning Mage” ]
—— [ Olly @ VPS Bible ]
—— [ Server Fault – http://stackexchange.com/sites# ]
— Tech Support
—- Managed vs. Unmanaged (types of questions)
—- Hierarchy of responsibility
—- [ Austin Data Center ]
—- [ Server Cage ]
—- response time, time of day
—- on call, beeper in the middle of the night
— Shared vs. VPS vs. Dedicated
—- What’s the difference?
—- Advantages and disadvantages.
— The Many Disasters
—- [ Sealand ]
—- floods, etc.
—- Backups
—— Offsite vs. onsite
—— Paying for a backup server
—— Restore strategy
— Fixing things that break
—- Uptime bragging
—- Log files
—— Managing log files
— Represent your distro! [ football fan rivalry ]
—- Netcraft Stats
—— [ Distro stats ]
——– My opinion about distros.
—— [ Netcraft Web server stats ]
—- Distro for client vs. distro for your server
—- Pedigree of distros
—- Package managers
—— GUI vs. command line
—— yum vs. apt-get vs. Ubuntu
—— common commands: install, uninstall, update, upgrade, search, purge
— Upgrading
—- What can break?
—- “If it ain’t broke, don’t fix it.”
—- Security patches
—- Cutting-edge vs. stability
—- My strategy for upgrades (that extra server)
— Passwords [ movie screenshot ]
—- Password managers
—— How many passwords do you have?
—- Key encryption
—- Password sniffers
—- “Brute force” password attack
—- Store in the cloud?
—— My password strategy
— Dive In!
—- Checklist: terminal, password manager, text editor
—- Linode vs. Digital Ocean vs. Google vs. AWS vs. whatever
—- Don’t go broke, avoiding crazy bills.
—— Cost is extremely low, considering what you get!
—— Unmanaged is much, much cheaper than managed.
—- Logging in for the first time.
—- Installing everything vs. going with pre-setup server.
—— Keeping notes
—— Automation of installation
—— Automation of modifications to many servers
— Linux file system
—- etc directory
—- home directory
—- root directory
—— root user directory
—- Where are my logs?
— The “Disk” [ Tron ]
—- df -h
—- Keep the disk from filling up.
—- IO speed bottleneck [ Coke bottle ]
— Managing users
—- Security vs. convenience.
—- Permissions
—— 99% of problems are due to permissions!
—— Why are permissions such a pain?
—— How to avoid permission problems.
—— chmod vs. chown
—— chmod 777 vs. chmod 0
—- How a VPS reduces permission problems.
—- Web server is a user.
—- “su”
—- “history”
—— What is a rootkit?
—- Docker
— Managing Resources
—- CPU
—- RAM (NginX and PHP children)
—- Bandwidth
— LEMP vs. LAMP stack (most common stack)
—- web server
—- database (MySQL?)
—- PHP