PogoPlug折腾全过程--Debian系统配置及优化

本文详细记录了如何将Debian系统的PogoPlug设备设置为上海时区、添加中文支持、修改主机名、创建交换文件、设置静态IP以及配置DNS。通过这些步骤,实现了设备的全面优化。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Debian系统默认安装语言为英语,时间使用是UTC。这不符合国人习惯。

需要修改时区为上海,显示CST时间。添加中文支持。

ok,开始折腾。

在路由器中的dhcp分配表中找到PogoPlug的ip,ssh登录到设备。

在/etc/default/rcS里面修改,设置UTC=no

设置时区为上海

 cp /usr/share/zoneinfo/Asia/ShangHai /etc/localtime


date查看时间检查是否生效。

安装locales,并重新配置locales

apt-get install locales
dpkg-reconfigure locales


选择422. zh_CN.UTF-8 UTF-8

确认全局修改

Many packages in Debian use locales to display text in the correct language for the user. You can choose a default locale for the system 
from the generated locales.

This will select the default language for the entire system. If this system is a multi-user system where not all users are able to speak 
the default language, they will experience difficulties.

  1. None  2. zh_CN.UTF-8

                                                                    
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值