開源日報 每天推薦一個 GitHub 優質開源項目和一篇精選英文科技或編程文章原文,堅持閱讀《開源日報》,保持每日學習的好習慣。
今日推薦開源項目:《冒險地圖編輯RPG-MapMaker》
今日推薦英文原文:《How to make an old computer useful again》

今日推薦開源項目:《冒險地圖編輯RPG-MapMaker》傳送門:GitHub鏈接
推薦理由:還記得當年 Gameboy 上恢弘的遊戲地圖和經典的2D像素世界嗎?這款軟體擁有 Android 和 Windows 版本,裡面涵蓋了超多的 Rpg 地圖元素。這次,由我們來創造自己的冒險大陸吧。
今日推薦英文原文:《How to make an old computer useful again》作者:Howard Fosdick
原文鏈接:https://opensource.com/article/19/7/how-make-old-computer-useful-again?utm_medium=Email&utm_campaign=weekly&sc_cid=7013a000002DEfSAAW
推薦理由:你家裡有閑置的舊電腦嗎?洗洗還能吃,你可以用比平板更大的屏幕做一些更有趣的事情。當然,除非更換硬體,否則應該是挖不了礦的。

How to make an old computer useful again

Refurbish an old machine with these step-by-step instructions.

(Image by : LSE Library. Modified by Opensource.com. CC BY-SA 4.0)
Have an old computer gathering dust in your basement? Why not put it to use? A backup machine could come in handy if your primary computer fails and you want to be online with a larger screen than your smartphone. Or it could act as a cheap secondary computer shared by the family. You could even make it into a retro gaming box.

You can take any computer up to a dozen years old and—with the right software—perform many of the same tasks you can with new machines. Open source software is the key.

I've refurbished computers for two decades, and in this article, I'll share how I do it. We're talking about dual-core laptops and desktops between five and 12 years old.

Verify the hardware


Step one is to verify that your hardware all works. Overlooking a problem here could cause you big headaches later.

Dust kills electronics, so open up the box and clean out the dirt. Compressed air comes in handy. Be careful that you're grounded whenever you touch the machine. And don't rub anything with a cleaning cloth. Even a static shock so small you won't feel it can destroy circuitry.

Then close the clean computer and verify that all the hardware works. Test:
  • Memory
  • Disk
  • Motherboard
Run any diagnostic tests in the computer's boot panels (the UEFI or BIOS panels). This list tells you which program function (PF) key to press to access those panels for your computer.

Free resource kits like Hirens BootCD or Ultimate Boot CD enable you to test what your boot panels don't. They contain hundreds of testing programs; all are free, but not all are open source. You don't have to install anything to run these kits because they'll boot from a USB thumb drive or DVD drive.

Be thorough! Run the extended tests for memory and disk—not just the short tests. Let them run overnight. That's the only way to catch transient (sporadic) errors.

If you find problems, my Quick guide to fixing hardware will help you solve the most common hardware issues.

Select the software


The key to refurbishing is to install software appropriate for the hardware resources you have. The three essential hardware resources are:
  1. Processor (number of cores and speed)
  2. Meory
  3. Video memory
You can identify your computer's resources in its boot-time UEFI/BIOS panels. Write down your findings so that you don't forget them. Then, look up your processor at CPU Benchmark. That website gives you background on your CPU plus a CPU Mark that indicates its performance.

Now that you know your hardware's power, you're ready to select software that it can efficiently run. Your software choices are divided into four critical areas:
  1. Operating system (OS)
  2. Desktop environment (DE)
  3. Browser
  4. Applications
A good Linux distribution covers all four. Don't be tempted to run an unsupported version of Windows like 8, Vista, or XP just because it's already on the computer! The risk of malware is too great. You're much better off with a more virus-resistant, up-to-date operating system.

How about Windows 7? Extended support ends January 14, 2020, meaning you get security fixes only until that date. After that, zilch. Now is the perfect time to migrate off Windows 7.

Linux's big benefit is that it offers many distros specifically designed for older hardware. Plus, its design decouples DEs from the OS, so you can mix and match the two. This is important because DEs heavily impact low-end system performance. (With Windows and MacOS, the OS version you run dictates the DE.)

Other Linux advantages: Its thousands of apps are free and open source, so you don't have to worry about activation and licensing. And Linux is portable. You can copy, move, or clone the OS and applications across partitions, disks, devices, or computers. (Windows binds itself to the computer it's installed on via its Registry.)

What can your refurbished computer do?


We're talking dual-core machines dating from about 2006 to 2013, especially Intel Core 2 CPUs and AMD Athlon 64 X2 family processors. Most have a CPU Mark of between 1,000 and 4,000. You can often pick up these machines for a song, yet they're still powerful enough to run lightweight Linux software.

One caution: be sure your computer has at least 2GB of memory. Upgrade the RAM if you have to. End users on my refurbished machines typically use between 0.5 and 2GB of RAM (exclusive of data buffering); rarely do they go over 2 gig. So if you can bump memory to 2GB, your system won't be forced to swap, or substitute disk for memory. That's critical for good performance.

For example, I removed 1GB RAM from the decade-old rebuild I'm writing this article on, which dropped memory down to 1GB. The machine slowed to a crawl. Web surfing and other tasks became frustrating, even painful. I popped the memory stick back in and, with 2GB RAM, the desktop instantly reverted to its usable self.

With a 2 gig dual-core computer, most people can do whatever they want, so long as they run a lightweight distro and browser. You can web surf, email, edit documents, do spreadsheets, watch YouTube videos, bid on eBay auctions, post on social media, listen to podcasts, view photo collections, manage home finance and personal scheduling, play games, and more.

Limitations


What can't these older computers do? Their concurrency is less than state-of-the-art machines. So run a fast browser and block ads, because that's what slows down web surfing. If your virtual private network (VPN) can block ads for you and offload that work from your processor, that's ideal. Disable autoplay of videos, Flash, and animation. Surf with a couple of tabs open rather than 20. Install a browser extension so you can toggle JavaScript.

Direct the processors to what you're working on; don't keep a ton of apps open or run lots of stuff in the background. High-end graphics and video editing may be slow. Virtual machine hosting is out.

How about games? The open source software repositories offer literally thousands of games. That's why I listed video memory as one of the three essential hardware resources. If your box doesn't have a video card, it likely has only 32 or 64MB of VRAM. Bump that to 256 or 512MB by adding a video card, and you'll find that processor-intensive games run much better. Here's how to see how much VRAM your computer has. Be sure to get a card that fits your computer's video slot (AGP, PCI-Express, or PCI) and has the right cable connector (VGA, DVI, or HDMI).

What about Windows compatibility?


People often ask about Windows compatibility. First, there's a Linux equivalent for every Windows program.

Second, if you really must run a specific Windows program, you can usually do that on Linux using Wine. Look up your application in the Wine database to verify it runs under Wine and learn any special install tricks. Then the auxiliary tools Winetricks or PlayOnLinux will help you with installation and setup.

Wine's other benefit is that it runs programs from old Windows versions like Vista, XP, ME/98/95, and 3.1. I know a guy who set up a fantastic game box running his old XP games. You can even run thousands of free DOS programs using DOSBox. One caution: if Windows programs can run, so can Windows viruses. You must protect your Wine environment inside Linux just as you would any other Windows environment.

How about compatibility with Microsoft Office? I use LibreOffice and routinely edit and exchange Word and Excel files without problems. You must, however, avoid using obscure or specialized features.

Which distro?


Assuming Linux is the OS, you need to select a DE, browser, and applications. The easy way to do this is to install a distribution that bundles everything you need.

Remember that you can try out different distros without installing anything by booting from a live USB thumb drive or DVD. Here's how to create a bootable Linux from within Linux or Windows.

I rebuild computers for charity, so I can't assume any knowledge on the part of my users. I need a distro with these traits:
  • User-friendly
  • Lightweight interface
  • Bundles lightweight apps
  • Big repository
  • Solid track record
  • Large user community with an active forum
  • Stability through long-term support releases (not rolling releases)
  • Prioritizes reliability over cutting-edge features
  • Configurable by a GUI rather than by text files
Many distros fulfill these criteria. The three I've successfully deployed are Mint/Xfce, Xubuntu, and Lubuntu. The first two use the Xfce desktop environment, while the latter runs LXQt. These DEs use less processor and memory resources than alternatives like GNOME, Unity, KDE, MATE, and Cinnamon.

Xfce and LXQt are very easy to use. My clients have never seen Linux before, yet they have no trouble using these simple, menu-driven interfaces.

It's vital to run the fastest, most efficient browser on older equipment. Many feel Chromium wins the browser race. I also install Firefox Quantum because people are familiar with it and its performance rivals that of Chromium. I toss in Opera because it's speedy and has some unique features, like integrated ad-blocking and a free virtual private network. Opera is free but not open source.

Whatever browser you use, block ads and trackers! Minimize browser overhead. And don't allow videos or Flash to run without your explicit say-so.

For applications, I rely on the lightweight apps bundled with Mint/Xfce, Xubuntu, and Lubuntu. They address every possible need.

Go for it


Will you be happy with your rebuild? The computers I've been using lately are both over a decade old. One has an Intel dual-core processor (eMachines T5274a) while the other features an AMD Athlon 64 x2 processor (HP dc5750). Both have 2 gig memory. They're as effective for my office workload as my quad-core i5 with 16GB RAM. The only function I miss when using them is the ability to host virtual machines.

We live in an amazing era. You can take a five- to 12-year-old computer and, with a little effort, restore it to practical use. What could be more fun?


下載開源日報APP:https://openingsource.org/2579/
加入我們:https://openingsource.org/about/join/
關注我們:https://openingsource.org/about/love/