Ubuntu Zero to Hero Ubuntu Zero to Hero | Page 2

Table of Contents Preface..................................................................................................................................................2 Ubuntu and you....................................................................................................................................3 Domain name management............................................................................................................4 Creating a LAMP server..................................................................................................................5 .........................................................................................................................................................5 Setting the root password.................................................................................................................6 Configuring Apache Server.............................................................................................................7 Other web server options.................................................................................................................7 SFTP to your server.........................................................................................................................8 Configuring the website(s)...............................................................................................................9 Server Security...................................................................................................................................10 User Management.....................................................................................................................10 The Firewall..............................................................................................................................12 App Armor................................................................................................................................13 eCryptfs.....................................................................................................................................13 Cloudflare..................................................................................................................................13 Other Provisions........................................................................................................................14 Server Performance............................................................................................................................15 Swap file...................................................................................................................................15 Cloudflare..................................................................................................................................15 Monitoring..........................................................................................................................................16 Managing your databases...................................................................................................................17 Install, update and remove packages..................................................................................................18 DPKG........................................................................................................................................18 Apt-Get......................................................................................................................................19 Aptitude.....................................................................................................................................19 Network configuration........................................................................................................................21 Ethernet.....................................................................................................................................21 IP Addresses..............................................................................................................................21 Remote Administration.......................................................................................................................22 SSH...........................................................................................................................................22 SSH Keys..................................................................................................................................22 Puppet........................................................................................................................................23 Integrating Ubuntu & Windows.........................................................................................................23 www.netshock.co.uk