User-Profile-Image
hankin
  • 5
  • 首页
  • 分类
    • Windows
    • Web
    • VoIP
    • Virtualization
    • Trading
    • Smart Home
    • SEO
    • Security
    • Python
    • Program
    • PHP
    • OSX
    • OS
    • OpenSource
    • Nginx
    • MySQL
    • Mood
    • Linux
    • Life
    • Injection
    • Hosting
    • Finance
    • Exploits
    • CDN
  • 页面
    • About
  • 友链
    • 维酷科技
Help?

Please contact us on our email for need any support

Support
  • 首页
    首页   ›   OS   ›   正文
OS

解决Mac终端连接SSH出现警告

2015-05-25 16:06:35
2366  0 0

用Mac终端连接SSH警告locale设置问题,-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

解决方法:
在Mac 用户目录.bash_profile里添加如下代码保存重开终端即可

export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8

ProdigYu
181文章 30评论 5点赞 679933浏览
随机文章
查询域名使用的DNS服务器地址
11年前
Mac连接安卓手机导入数据
6年前
IIS+PHP安装memcached
14年前
Discuz! 7.1 & 7.2 远程代码执行漏洞
16年前
SSH修改调整美国Linux VPS 时间和时区
14年前
Tags
Apache CentOS CMD DDOS Debian DNS Docker FastCGI Google IIS IP iptables Linux Mac MySQL Nginx Opensource PHP Python Skill SSH Ubuntu Vim VMware VPN web.py Windows 删除 命令 命令提示符 安装 开源 技巧 插件 漏洞 百度 系统 组件 终端 缓存 网络电话 脚本 自建 详解 错误
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © 2026
主页
页面
  • About
博主
ProdigYu 管理员
Something about myself
181 文章 30 评论 679933 浏览
测试
测试