Admin Tutorial
Our Architechture Riviera – all user accounts, website, email AMD x64 2.5Ghz, 6GB RAM, 400GB RAID 1, Ubuntu 8.04 LTS Scorpio – backups AMD x64 2Ghz, 1GB RAM, 6x1TB RAID 1, Ubuntu 8.04 LTS IBM eServers (x4) – admin training, misc, otto has access to outside world AMD x64 2.4Ghz, 8GB RAM, 147GB HDD
Riviera LAMP Stack (Linux, Apache, MySQL, PHP) /home across 2 400GB HDDs in RAID 1 Exim mail server, with roundcube front end Joomla web site install XMPP server LDAP user authentication (allows for single sign in account – except for MySQL) 140.203.56.30
System Information top df -h lshw -html > info.html uptime uname -a who groups <user>
Admin Toolbox find command (or locate) |, > screen tail -f Less Vim ps and pkill
Regular Maintenance sudo apt-get update;sudo apt-get upgrade Creating user accounts – LDAP – in later tutorial Creating MySQL accounts Fixing file permissions Resetting user passwords
Permissions -rw-r--r-- 1 slibuntu users 1st bit – d for directory, blank for file, l for link 2,3,4 – Owner 5,6,7 – Group 8,9,10 – Others umask -S shows default perms for new files Edit with chmod xxx <file> or chmod -R xxx <folder>
Users, Groups chown <user>:<group> file
Logs When something goes wrong, logs are the first place to look. /var/log/*