Beginning Ubuntu Server administration : from novice to professional ; [everything you need to know to manage Ubuntu Server
معرفی کتاب «مدیریت سرور اوبونتو برای مبتدیان: از مبتدی تا حرفهای؛ [هر آنچه برای مدیریت سرور اوبونتو نیاز دارید]» (با عنوان لاتین Beginning Ubuntu Server administration : from novice to professional ; [everything you need to know to manage Ubuntu Server) نوشتهٔ Sander van Vugt، منتشرشده توسط نشر Apress L. P. در سال 2007. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.
Prelims......Page 1 Contents at a Glance......Page 7 Contents......Page 9 About the Author......Page 17 About the Technical Reviewer......Page 19 Prerequisites......Page 21 Contacting the Author......Page 22 Preparing for the Installation......Page 23 Starting the Ubuntu Server Installation Process......Page 24 Configuring the Server’s Hard Drive......Page 30 Advantages of Logical Volumes......Page 31 Creating an Efficient Hard Disk Layout on the Server......Page 32 File Systems......Page 33 Using the Guided Partitioning Procedure......Page 34 Using the Guided LVM-Based Setup......Page 36 Manually Setting Up Your Hard Drive......Page 37 Completing the Installation......Page 44 Summary......Page 46 Working As root?......Page 47 Using Bash to Best Effect......Page 48 Working with Variables......Page 49 Working with Bash History......Page 50 Managing Bash with Key Sequences......Page 51 Working with Directories......Page 52 Listing Files with......Page 53 Removing Files with......Page 54 Viewing the Content of Text Files......Page 55 Using Regular Expressions......Page 57 Creating Empty Files......Page 58 Redirection......Page 59 Working with an Editor......Page 62 Vi Modes......Page 63 Deleting Text......Page 64 to Get Help......Page 65 Option......Page 67 Summary......Page 68 Software Management......Page 69 Software Repositories and Package Databases......Page 70 Package Management Utilities......Page 71 Showing a List of Installed Packages......Page 72 Using......Page 74 Adding and Removing Software with......Page 76 Making Software Management Easy with Synaptic......Page 77 Installing Software from Tarballs......Page 79 Configuring a Graphical User Interface......Page 80 Creating an Archive File......Page 82 Extracting an Archive File......Page 83 Creating Incremental Backups......Page 84 Making Device Backups Using......Page 85 Configuring......Page 86 Rotating Log Files......Page 91 Summary......Page 94 Command......Page 95 Command......Page 97 Unmounting Devices......Page 99 Automating Mounts with......Page 100 Checking File System Integrity......Page 103 Working with Symbolic Links......Page 104 Understanding Inodes......Page 105 Working with Hard Links......Page 106 Comparing File Systems......Page 107 Ext2......Page 108 Ext3......Page 111 ReiserFS......Page 113 XFS......Page 114 Creating Traditional Partitions......Page 116 Creating LVM Volumes......Page 119 Managing LVM......Page 121 Using Advanced LVM Features......Page 122 Doing Magic on Your File Systems with......Page 124 Summary......Page 127 Setting Up User Accounts......Page 129 Commands for User Management......Page 130 Group Membership......Page 131 Managing Passwords......Page 132 Managing Password Expiration......Page 133 Behind the Commands: Configuration Files......Page 134 Behind the Commands:......Page 139 Displaying Messages to Users Logging In......Page 140 Permissions and the Concept of Ownership......Page 141 Group Ownership......Page 143 Working with Advanced Linux Permissions......Page 144 to Change Permissions......Page 146 to Set Default Permissions......Page 147 Working with Access Control Lists......Page 148 Using ACLs to Grant Permissions to More than One Object......Page 149 Using Default ACLs......Page 150 ACL Limitations......Page 151 Applying File Attributes......Page 152 Apply Quota to Allow a Maximum Amount of Files......Page 153 Initializing Quota......Page 154 Setting Quota for Users and Groups......Page 155 Understanding Pluggable Authentication Modules......Page 156 Discovering PAM Modules......Page 158 Configuring Administrator Tasks with......Page 162 An Introduction to Setting Up the Netfilter Firewall with......Page 163 Netfilter Building Blocks......Page 164 Defining Matching Rules......Page 166 Stateful Rules......Page 167 Creating the Rules......Page 168 Summary......Page 171 Different Kinds of Processes......Page 173 Foreground and Background......Page 174 Tuning Process Activity......Page 176 Terminating Processes......Page 179 Commands for Process Termination......Page 180 to Get Details About Processes......Page 181 Setting Process Priority......Page 182 Configuring......Page 183 User Jobs......Page 184 Executing Once with......Page 185 Managing the GRUB Boot Loader......Page 186 The GRUB Configuration File......Page 187 Installing GRUB......Page 189 Working with the GRUB Boot Menu......Page 190 Upstart......Page 191 Runlevels......Page 193 Making Service Management Easier......Page 195 Working with Modules......Page 196 Loading Modules......Page 197 Installing the Kernel Source Files......Page 200 Configuring the Kernel......Page 201 Hardware Management with......Page 202 Summary......Page 205 To Script or Not to Script?......Page 207 What Shell?......Page 208 Basic Elements of a Shell Script......Page 209 Making It Executable......Page 210 Making a Script Interactive......Page 212 Working with Arguments......Page 213 Referring to Arguments......Page 214 Command Substitution......Page 216 Substitution Operators......Page 217 Pattern-Matching Operators......Page 219 Performing Calculations in Scripts......Page 221 Using Flow Control......Page 225 Using......Page 226 Case......Page 229 Using......Page 231 Using a Stream Editor......Page 233 Working with Functions......Page 234 A Complex Scripting Example......Page 235 Summary......Page 237 Configuring the Network Card......Page 239 Configuring a Network Card with......Page 241 Using Virtual IP Addresses with......Page 242 Tool......Page 243 Tool......Page 244 Setting the IP Address......Page 245 IPv6 Addressing......Page 246 Address Types......Page 247 Assigning IPv6 Addresses in Ubuntu Server......Page 248 Setting the Default Route with......Page 249 Configuring the DNS Resolver......Page 250 File......Page 251 Troubleshooting Network Connections......Page 252 Testing Connectivity......Page 253 Testing Routability......Page 254 to Check Your Server......Page 256 to Check Service Availability on Remote Servers......Page 258 Monitoring Protocol Activity with IPTraf......Page 260 Utility......Page 261 Monitoring Network Traffic......Page 262 Analyzing Packets with Wireshark......Page 263 Connecting Remotely with SSH......Page 265 Command......Page 266 Configuring SSH......Page 267 Using Key-Based Authentication......Page 269 Using Public/Private Key–Based Authentication in an SSH Environment......Page 270 Setting Up SSH for Key-Based Authentication......Page 271 Caching Keys with......Page 272 X Forwarding......Page 273 Generic TCP Port Forwarding......Page 274 Summary......Page 275 Methods of Name Resolution......Page 277 Using NIS to Manage Name Resolution......Page 278 Structure of the DNS Hierarchy......Page 279 Master and Slave Servers......Page 280 Connecting the Name Servers in the Hierarchy......Page 281 Introducing Forward and Reverse DNS......Page 282 Configuring DNS......Page 283 Options......Page 285 Zone Definition in......Page 287 The db Files......Page 288 Configuring Reversed Lookup......Page 289 Testing Your Name Server......Page 290 Creating the DHCP Server Configuration......Page 291 Configuration File......Page 292 Integrating DHCP and DNS......Page 295 The DHCP Relay Agent......Page 297 How NTP Works......Page 298 Configuring a Stand-Alone NTP Time Server......Page 299 Pulling or Pushing the Time......Page 300 Checking NTP Synchronization Status......Page 301 Customizing Your NTP Server......Page 302 Applying NTP Security......Page 303 Daemon......Page 304 Tuning the Individual Services......Page 305 Tuning Access to Services with TCP Wrapper......Page 306 Configuration Files......Page 307 Summary......Page 308 Setting Up a CUPS Print Server......Page 309 Adding Printers......Page 310 Sharing Printers......Page 312 Managing Printers......Page 313 Accessing CUPS Printers......Page 314 Sharing Files with NFS......Page 315 Understanding How the NFS Works......Page 316 Configuring an NFS Server......Page 318 Command......Page 319 Command......Page 320 Sharing Files with Samba......Page 321 Preparing the Local File System......Page 322 Creating the Share......Page 323 Configuring User Access......Page 326 Integrating CUPS with Samba......Page 327 Modifying the Samba Configuration File......Page 329 Command......Page 331 Testing and Accessing the Samba Server with......Page 332 Summary......Page 333 Setting Up Apache......Page 335 Starting, Stopping, and Testing the Apache Web Server......Page 336 Exploring the Configuration Files......Page 338 The Structure of the Apache Configuration Files......Page 339 Working with Virtual Hosts......Page 340 Configuring Virtual Hosts......Page 341 Configuring Host-Based Access Restrictions......Page 342 Working with Simple Authentication......Page 344 Some Words on Apache Performance Tuning......Page 345 Using PHP......Page 346 Setting the MySQL Root Password......Page 347 Server......Page 348 Summary......Page 350 Virtualization Solutions......Page 351 Paravirtualization......Page 352 Which Is Best for You?......Page 353 Setting Up KVM on Ubuntu Server......Page 354 Installing Windows As a Guest Operating System on KVM......Page 355 Setting Up Networking in KVM Virtual Machines......Page 356 Installing Virtual Machines Using Xen......Page 357 Setting Up Xen on Ubuntu Server......Page 358 Installing Windows As a Guest Operating System on Xen......Page 360 Installing Ubuntu Server As a Guest Operating System on Xen......Page 362 Using Xen Management Commands......Page 363 Summary......Page 364 Index......Page 365
You love it as the world’s most popular desktop Linux distribution, and now Ubuntu is available at a server near you. Embracing the very same features desktop users have grown to love, system administrators are rapidly adopting Ubuntu due to their ability to configure, deploy, and manage network services more effectively than ever.
Beginning Ubuntu Server Administration guides you through all of the key configuration and administration tasks you’ll need to know. Whether you’re interested in adopting Ubuntu within a Fortune 500 environment or just want to use Ubuntu to manage your home network, this book is your goto guide to using the distribution securely for a wide variety of network services. Topics include file, print, web, and FTP management, commandline tips and tricks, automated installation, configuration and deployment processes, and kernel management.
What you’ll learn
- Effectively and securely install, update, and deploy your Ubuntu server
- Configure your server to operate most effectively for a wide variety of purposes, including as a web server, FTP server, and a file and printer manager
- Rev up your commandline knowledge by taking advantage of littleknown shellrelated features, tips, and tricks
- Remotely manage your server through a wide variety of services
Who this book is for System administrators and application developers seeking to use Ubuntu as a Linux server.
Table of Contents
- Installing Ubuntu Server
- Getting the Most Out of the Command Line
- Performing Essential System Administration Tasks
- Performing File System Management Tasks
- Configuring Your Server for Security
- Setting the System to Your Hand
- Running It Anyway You Like
- Making Connection
- Configuring Network Infrastructure Services
- Using Ubuntu Server As a File and Print Server
- Setting Up Web Services
- Multiplying Your Server
Книга Beginning Ubuntu Server Administration: From Novice to Professional Beginning Ubuntu Server Administration: From Novice to ProfessionalКниги Linux Автор: Sander van Vugt Год издания: 2008 Формат: pdf Издат.:apress Страниц: 355 Размер: 4.57 ISBN: 978-1-59059-923-5 Язык: Английский0 (голосов: 0) Оценка: You love it as the world’s most popular desktop Linux distribution, and now Ubuntu is available at a server near you. Embracing the very same features desktop users have grown to love, system administrators are rapidly adopting Ubuntu due to their ability to configure, deploy, and manage network services more effectively than ever.Beginning Ubuntu Server Administration guides you through all of the key configuration and administration tasks you’ll need to know. Whether you’re interested in adopting Ubuntu within a Fortune 500 environment or just want to use Ubuntu to manage your home network, this book is your go–to guide to using the distribution securely for a wide variety of network services. Topics include file, print, web, and FTP management, command–line tips and tricks, automated installation, configuration and deployment processes, and kernel management.What you’ll learn\* Effectively and securely install, update, and deploy your Ubuntu server.\* Configure your server to operate most effectively for a wide variety of purposes, including as a web server, FTP server, and a file and printer manager.\* Rev up your command–line knowledge by taking advantage of little–known shell–related features, tips, and tricks.\* Remotely manage your server through a wide–variety of services. T his book provides a complete introduction to Ubuntu Server. I’ve written this book for people who are new to Ubuntu Server administration. The target readers are Windows administrators as well as people who are used to managing other flavors of Linux (or UNIX). It was the goal of this book to give a no-nonsense introduction to working with Ubuntu Server, and so this book should provide all the basics that are needed to get you going. It also includes many useful tips that help you in doing your work in a more efficient manner. Many books about Ubuntu are presently available, but you can’t do Ubuntu Server justice by covering both the desktop and the server version in one book. The needs of a server adm- istrator are incredibly different from the needs of a desktop administrator. So I’ve chosen an approach that makes sense for the server administrator, and all topics are selected and org- ized to make sense for your day-to-day work as a server administrator.