< body id = "wordpress-org" class = "home blog" > < div id = "header" > < div class = "wrapper" > < h1 > [WordPress.org ](http://cn.wordpress.org/) </ h1 > < h2 class = "rosetta" > [China &#31616;&#20307;&#20013;&#25991; ](http://cn.wordpress.org/) </ h2 > < div style = "clear:both" ></ div > < ul > < li > < a href = "/" title = " &#39318;&#39029; " class = "current" > &#39318;&#39029; </ a > </ li > < li > < a href = "http://zh-cn.forums.wordpress....
Interoperability between IPv4 and IPv6
IPv4 is currently the most widely supported network protocol, where computers are identified by IP addresses. Theoretically, it can accommodate up to 2 32 2^{32} 2 32 network devices (IPv4: 8 hexadecimal digits). Unfortunately, these addresses have been exhausted, and it's truly a mystery how major ISPs allocate limited IP addresses to an infinite number of computers. IPv6 is far more impressive, with each address containing 32 hexadecimal digits, allowing for 2 128 2^{128} 2 128 network devices. These IP addresses will be more than sufficient before humanity perishes due to Earth's inability to sustain us. This protocol is championed by major internet companies including Google, DNSPod, and others. However, currently in China, IPv6 seems to be used only in universities,...

Installing LRC Lyrics Display Plugin and Enabling SRS WOW-like Sound Effects in Ubuntu
My ASUS laptop originally had a sound card driver in Windows 7 that included a technology called ASUS Sonic Focus. Its principle involves adjusting the audio equalizer to create a psychological Dolby surround effect, making listeners perceive the sound as spatial. After enabling Sonic Focus, I found the audio quality significantly improved. (I'm not an audiophile.) However, on Ubuntu, there's naturally no Sonic Focus – ASUS wouldn't bother supporting such a rapidly evolving system. Dolby and SRS also don't provide Linux support, so the open-source community developed Extra Stereo to replicate these features. There's also Crystalizer, which enhances high-frequency loudness for clearer sound. Those who've used Creative Sound Blaster or X-Fi cards should be familiar with this. Meanwhile,...
Porting Bad Apple to Telnet and Successfully Screening It
Today, after tinkering for half a day, I successfully ported Bad Apple to my VPS's Telnet service using the command-line animation version I published earlier. To view it yourself: telnet xuyh0120.tk or telnet 5.175.156.249 Round 1. Porting to SSH Since I originally promised a classmate I'd implement this via SSH, I started there. First, I uploaded Bad Apple to my VPS at /opt/badapple , which contains two files: badapple and badapple.in (the resource file with a modified extension). useradd badapple passwd badapple # 密码我设的badapple su badapple # 切换过去 chsh # 输入/opt/badapple/badapple exit When testing via SSH, I encountered Error 2 (resource file not found). I recompiled locally (the VPS lacks FPC), changed paths from relative to absolute, re-uploaded,...
W3 Total Cache Implements Memory Caching
W3 Total Cache uses disk-based caching by default. For shared hosting users, this may be the only option available. However, VPS users have significantly more flexibility, especially when using VPS providers with efficient overselling techniques (Host1Free?) where disk speeds are relatively slow. In such cases, you can leverage your surplus memory for caching. I've set up three WordPress test sites on SAE, OpenShift, and Host1Free VPS respectively. Among these, only the VPS allows for full customization, making it our focus today. (Note: SAE's file read/write restrictions prevent W3 Total Cache from even saving configurations.) Additionally, W3TC supports PHP Opcode caching solutions (such as Zend Optimizer (not Zend Guard), eAccelerator, XCache, APC, etc.)...
Using Certificates to Authenticate Linux Remote Login
Most people use passwords to log into a Linux shell remotely. Not only is it tedious, but if you use the same password everywhere and encounter an incident like the CSDN 6 million password leak, your VPS is essentially compromised. Therefore, we can replace passwords with a more convenient and secure method: RSA-encrypted certificate files. First, we need to generate a certificate. cd ~/.ssh ssh-keygen -t rsa At this point, your .ssh directory should contain two new files: id_rsa.pub and id_rsa . The latter is your private key—keep it secure—while the former is your public key, which can be shared publicly. Next, we'll configure our VPS. Upload your id_rsa.pub to the server's ~/.ssh directory using FileZilla or WinSCP, and rename it to authorized_keys ....
Removing W3 Total Cache Footer Comment
The resource minification effect of W3 Total Cache is excellent - it even minifies HTML. Just look at my webpage source code: line breaks are removed, and the minification is extremely effective. However, at the end of the page, there's an added comment by W3 Total Cache: <! -- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/ Minified using disk: basic Content Delivery Network via lantian.pub Served from: lantian.pub @ 2013-02-13 20:56:59 by W3 Total Cache -- > For someone like me who pursues speed, this not only unnecessarily increases the webpage size but, more importantly, it annoys me whenever I see it. Therefore, I decided to tackle W3 Total Cache and remove the code that generates this comment....
Installing VMware Workstation 9 on Ubuntu
The VirtualBox in Ubuntu's software repositories is becoming increasingly unreliable. Previously, it could at least be installed, but now it fails even to install. The version from the official source works, but it pulls down a massive bundle of KDE components—by the time VirtualBox finishes installing, KDE is practically installed too. So I decided to try VMware instead. Download address: http://download.pchome.net/system/sysenhance/download-10771.html The downloaded file has a .bundle extension, which is VMware's installer. However, you can't run it directly—we first need to grant it execute permissions: chmod +x VMware-Workstation-Full-9.0.0-812388.i386.bundle sudo ./VMware-Workstation-Full-9.0.0-812388.i386.bundle Remember to adjust the filename accordingly....
Host1Free VPS Memory Usage Optimization
PS: After publishing the article for the first time, I realized I forgot to configure the connection between nginx and php5-fpm. When I tried to connect to my VPS to check the settings, I opened the terminal, pressed the up arrow and Enter, only to discover my last command was "exit"... PS2: Folks using port 22 on VPS should be cautious – you might get disconnected mid-command. Switch to another port like 2222. (So 2-ish) PS3: Today I set up a Debian 6 test environment on VirtualBox and discovered Lighttpd has plugin functionality... Revised accordingly. For a VPS, resources like CPU and disk space are usually sufficient for running a personal blog like mine. The real headache is insufficient memory....
Enabling SSL Encryption for nginx
One advantage of using your own VPS is the ability to enable SSL encryption, which ensures secure blog management in public spaces and reduces the likelihood of connection interruptions due to environmental factors. The nginx package in Debian 6's software repository comes with the SSL module pre-installed, making SSL setup straightforward. Simply duplicate /etc/nginx/sites-available/default as default-ssl and apply the following modifications: server { listen 443 ; server_name localhost; ssl on ; ssl_certificate lic.crt; ssl_certificate_key lic.key; } or (modify default directly as shown below): server { listen 80 ; listen 443 ssl; server_name localhost; ssl_certificate lic.crt; ssl_certificate_key lic.key; } Remember to replace lic.crt and lic.key with your actual certificate paths....