چه کسانی این کتاب را می‌خوانند

دانشجوعلاقه‌مند یادگیری
کتابخوان حرفه‌ایلذت مطالعه
نویسندهالهام‌گیری

Learn Raspberry Pi with Linux (Technology in Action)

Peter Membrey; David Hows; Safari, an O’Reilly Media Company

قیمت نهایی

۴۴٬۰۰۰ تومان۴۹٬۰۰۰ تومان۱۰٪ تخفیف
  • تخفیف زمان‌دار−۵٬۰۰۰ تومان

۵٬۰۰۰ تومان صرفه‌جویی نسبت به قیمت اصلی

نسخه اصلی و اورجینال

بلافاصله پس از خرید، فایل کتاب روی دستگاه شما آمادهٔ دانلود است.

تحویل فوری
پرداخت امن
ضمانت فایل
پشتیبانی

مشخصات کتاب

سال انتشار
۲۰۱۳
فرمت
PDF
زبان
انگلیسی
حجم فایل
۹٫۴ مگابایت

دربارهٔ کتاب

Learn Raspberry Pi with Linux will tell you everything you need to know about the Raspberry Pi's GUI and command line so you can get started doing amazing things. You'll learn how to set up your new Raspberry Pi with a monitor, keyboard and mouse, and you'll discover that what may look unfamiliar in Linux is really very familiar. You'll find out how to connect to the internet, change your desktop settings, and you'll get a tour of installed applications. Next, you'll take your first steps toward being a Raspberry Pi expert by learning how to get around at the Linux command line. You'll learn about different shells, including the bash shell, and commands that will make you a true power user. Finally, you'll learn how to create your first Raspberry Pi projects: Making a Pi web server: run LAMP on your own network Making your Pi wireless: remove all the cables and retain all the functionality Making a Raspberry Pi-based security cam and messenger service: find out who's dropping by Making a Pi media center: stream videos and music from your Pi Raspberry Pi is awesome, and it's Linux. And it's awesome because it's Linux. But if you've never used Linux or worked at the Linux command line before, it can be a bit daunting. Raspberry Pi is an amazing little computer with tons of potential. And Learn Raspberry Pi with Linux can be your first step in unlocking that potential. What you’ll learn How to get online with Raspberry Pi How to customize your Pi's desktop environment Essential commands for putting your Pi to work Basic network services - the power behind what Pi can do How to make your Pi totally wireless by removing all the cables How to turn your Pi into your own personal web server How to turn your Pi into a spy How to turn your Pi into a media center Who this book is for Raspberry Pi users who are new to Linux and the Linux command line. Table of Contents 1: Your First Bite of Raspberry Pi 2: Surveying the Landscape 3: Getting Comfortable 4: The File-Paths to Success 5: Essential Commands 6: Editing Files on the Command Line 7: Managing Your Pi 8: A LAMP of Your Own 9: WiPi: Wireless Computing 10: The Raspberry sPi 11: Pi Media Center Apress Learn Raspberry Pi with Linux 260 Contents at a Glance 3 Contents 263 About the Authors 271 About the Technical Reviewer 272 Acknowledgments 273 Introduction 4 Chapter 1: Your First Bite of Raspberry Pi 14 Your Freshly Baked Pi Arrives 14 List of Ingredients 16 Micro USB lead 17 USB Power Adapter 17 HDMI Lead 18 HDMI Capable Display 18 SD Card 18 SD Card Reader 19 USB Keyboard and Mouse 20 Whew, We’re Done! 20 Don’t Panic! 21 Linux 21 What Is Linux? 22 Downloading Raspbian 23 Getting Raspbian onto Your SD Card 23 Using Image Writer on Windows 24 Using dd on the Mac 27 Finding the Terminal 27 Using the Terminal to Write the Image 27 First Boot 30 Configuring Your Pi 31 Expanding the Filesystem 32 Configuring the Keyboard 32 Changing the Password 36 Configuring the Locale 37 Changing the Time Zone 39 Allocating Memory 40 At Last! It’s Configured! 41 Summary 43 Chapter 2: Surveying the Landscape 44 Welcome to LXDE 44 What Do We Have Here? 45 The Start Menu and Bottom Left of the Task Bar 46 And on the Right Side... 46 The Start Menu 47 Accessories 49 Debian Reference 49 File Manager 50 Image Viewer 51 Leafpad 53 LXTerminal 54 Root Terminal 54 XArchiver 56 Education 56 Scratch 57 Squeak 58 Internet 59 Programming 60 System Tools 62 Preferences 63 Desktop Preferences 63 Customizing the Look and Feel 64 Summary 65 Chapter 3: Getting Comfortable 66 Ye Olde Computer 67 Say Hello to the Dumb Terminal 67 Modern Terminals 68 Why Do We Still Care About These Things? 69 Simple 69 Fast 70 Lightweight 70 Powerful 70 Always Available 70 Convinced Yet? 70 Three Terminals 71 Console 71 Opening a Virtual Terminal in the GUI 72 Connecting via SSH 72 Setting Up an SSH Server on the Pi 73 Sorting Out an SSH Client 74 Putty for Windows 74 SSH on the Mac 78 Welcome to the Command Line 79 Different Shells 81 Summary 81 Chapter 4: The File-Paths to Success 82 What Is a Filing System ? 82 More than One Filesystem 83 Separate Roots 83 Unified Filesystem 84 The Mac has to be Different 84 Bring it All Together 84 Everything as a File 85 Filesystem Layout 86 / (Root Directory) 86 /root 86 /etc 86 /proc 86 /var 87 /boot 87 /bin and /sbin 87 /dev 87 /home 87 /lib 88 /lost+found 88 /mnt 88 /media 88 /usr 88 /opt 88 /srv 88 /sys 89 /tmp 89 Wrapping it Up 89 Putting it to Work 89 Where Are We? Using pwd 89 What’s in Here with Us? Using ls 90 Creating Files to Play with: Using Touch 90 Somewhere to Store our Files: Using mkdir 91 Making Use of a New Directory: Using the mv Command 92 Time for Some Cloning: How to Use the cp Command 92 The Power to Destroy: Using the rm Command 93 Fully Qualified and Relative Paths 94 Users and Groups 94 File Permissions 95 Setting File Permissions 97 Shortcuts and Links 100 Summary 101 Chapter 5: Essential Commands 102 Become the Boss 102 RTFM 104 System Resource Monitoring 104 Uptime and Load Average 105 Tasks 106 CPU Utilization Percentage 106 Memory Usage 107 Process Table 107 Using free to View Memory Allocation 108 Disk Usage 108 Managing Processes 110 Killing a Process 112 Reading Information in /proc 113 File Commands 113 Combining Commands 115 Combine ps and grep 115 Add an Inverse grep 116 Cut Down the Results 116 xargs to Work with Each Result 117 User Environment 117 The cron Command 120 Summary 120 Chapter 6: Editing Files on the Command Line 121 What is a Text File? 121 The Contenders 122 Starting out with nano 123 So What Does This All Mean? 124 Saving Your File 125 Moving Around in nano 127 Wrapping Up nano 129 Getting Started with vim 129 The vim Modes 130 Saving Your Changes 131 Getting Out of vim 132 Searching in vim 133 Moving to a Specific Line Number 134 Moving About in vim 135 Deleting in vim 135 Miscellaneous Little Commands 138 Visual Mode 138 Indenting Text 138 Copy and Paste vim Style 139 Summary 140 Chapter 7: Managing Your Pi 141 Remotely Accessing the Pi 141 Networking 141 DNS 142 SSH 142 BASH: Basic Coding 142 What Is BASH? 143 Starting in BASH 143 Interpreted versus Compiled 144 Output in BASH 144 Recap 145 Variables 145 Logical Operation: if 146 Test Based Arithmetic 147 Troubleshooting 149 Logical Operation: Loop 151 Troubleshooting 153 Practical BASH: An Init Script 153 Pick and Match with the case Statement 155 Application within Application: Forking 155 Update the Run Files 155 Creating Your Own init Script 156 Security and User Management 158 The Rules of Raspbian Security 158 Adding a New User 159 Summary 160 Chapter 8: A LAMP of Your Own 161 First Steps 161 L is for Linux 162 A is for Apache 162 Apache Configuration 164 Troubleshooting 167 M is for MySQL 167 Installing MySQL 168 Structured Query Language 168 Creating Tables 169 Inserting Data 172 Querying a Database 173 Updating a Database 175 Deleting Data 176 P is for PHP 177 Simple Web App 180 HTML 180 Starting Our Page 181 Display the Database Content 183 Website Data Insertion 185 Inserting to the Database 187 Remove Entries 188 Remove Data from DB 190 Troubleshooting 191 Where From Here? 191 Summary 192 Chapter 9: WiPi: Wireless Computing 193 Preparing for WiPi 194 Simple Constraint Removal 194 Removing Human Input Devices 194 Adding a Remote GUI 195 True WiPi with WiFi 198 GUI WiFi Configuration 202 Managing WiFi from the Command Line 206 Down to One 208 Removing the Need for Power 208 Powered USB Adapters 209 Summary 209 Chapter 10: The Raspberry sPi 210 Materials Needed 210 Presetup 211 Getting Started 211 dmesg 211 Troubleshooting 215 Motion Capture 215 Troubleshooting 219 Alerting Yourself 219 Installing SSMTP 219 Installing and Using mutt 221 Testing the Alerting System 222 Troubleshooting 223 Bringing It All Together 223 Understanding the Problem 224 Making Decisions 224 Designing Solution 225 Script 1 227 Script 2 228 Testing 229 Troubleshooting 231 Where to Go from Here 231 Summary 232 Chapter 11: Pi Media Center 233 Video with XBMC 233 Setup to Build 234 Changing Files with Sed and Regular Expressions 238 Compiling Source Code 239 Troubleshooting 241 Starting and Using XBMC 242 XBMC on Boot 245 Troubleshooting 246 Stream Music with Airplay 246 Troubleshooting 251 Airport on Boot 251 Summary 252 Index 253

Learn Raspberry Pi with Linux will tell you everything you need to know about the Raspberry Pi's GUI and command line so you can get started doing amazing things. You'll learn how to set up your new Raspberry Pi with a monitor, keyboard and mouse, and you'll discover that what may look unfamiliar in Linux is really very familiar. You'll find out how to connect to the internet, change your desktop settings, and you'll get a tour of installed applications.

Next, you'll take your first steps toward being a Raspberry Pi expert by learning how to get around at the Linux command line. You'll learn about different shells, including the bash shell, and commands that will make you a true power user.

Finally, you'll learn how to create your first Raspberry Pi projects:

  • Making a Pi web server: run LAMPon your own network
  • Making your Pi wireless: remove all the cables andretain all the functionality
  • Makinga Raspberry Pi-basedsecurity cam and messenger service: find out who's dropping by
  • Makinga Pi media center: stream videos and music from your Pi
Raspberry Pi is awesome, and it's Linux. And it's awesome because it's Linux. But if you've never used Linux or worked at the Linux command line before, it can be a bit daunting. Raspberry Pi is an amazing little computer with tons of potential. And Learn Raspberry Pi with Linuxcan be your first step in unlocking that potential.

What you’ll learn

  • How to get online with Raspberry Pi
  • How to customize your Pi's desktop environment
  • Essential commands for putting your Pi to work
  • Basic network services - the power behind what Pi can do
  • How to make your Pi totally wireless by removing all the cables
  • How to turn your Pi into your own personal web server
  • How to turn your Pi into a spy
  • How to turn your Pi into a media center
Who this book is for

Raspberry Pi users who are new to Linux and the Linux command line.

Table of Contents1: Your First Bite of Raspberry Pi 2: Surveying the Landscape
3: Getting Comfortable 4: The File-Paths to Success 5: Essential Commands 6: Editing Fileson the Command Line 7: Managing Your Pi
8: A LAMP of Your Own
9: WiPi: Wireless Computing 10: The Raspberry sPi
11: Pi Media Center

قیمت نهایی

۴۴٬۰۰۰ تومان