Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
@zuo1188

This comment has been minimized.

Copy link

commented Aug 14, 2017

solved my problem

@AlexFlipnote

This comment has been minimized.

Copy link

commented Sep 4, 2017

I know that this is a 6 month old gist, but I wanted to thank you for this.
It solved my problem.

@ghost

This comment has been minimized.

Copy link

commented Oct 20, 2017

Thanks for the solution. It troubles me too many times.

@vaseppi

This comment has been minimized.

Copy link

commented Dec 1, 2017

solved my problem,,
Thankyou

@virak

This comment has been minimized.

Copy link

commented Dec 5, 2017

Thanks for the solution

@xumar-cc

This comment has been minimized.

Copy link

commented Dec 16, 2017

Thanks, solved the issue. Never thought its so simple.

@suiwenfeng

This comment has been minimized.

Copy link

commented Dec 18, 2017

Thanks

@devendrap

This comment has been minimized.

Copy link

commented Dec 20, 2017

Worked for me for Fedora 27! Thanks!

@dswwsd

This comment has been minimized.

Copy link

commented Jan 12, 2018

Thanks

@zxbin2000

This comment has been minimized.

Copy link

commented Jan 13, 2018

Thanks for the solution.

@sashuk

This comment has been minimized.

Copy link

commented Jan 15, 2018

Thanks a lot!

@jraphael

This comment has been minimized.

Copy link

commented Feb 13, 2018

Thanks!

@EdgarOrtegaRamirez

This comment has been minimized.

Copy link

commented Feb 22, 2018

Also works on Amazon Linux 2 AMI 🥇

@yusufyildiz34

This comment has been minimized.

Copy link

commented Feb 27, 2018

thanks brother, it also works ubuntu 16.04 LTS :)

@gyustorm

This comment has been minimized.

Copy link

commented Mar 7, 2018

Thanks!

@tvthu

This comment has been minimized.

Copy link

commented Mar 15, 2018

Thanks bro! also work on centos 7.

@PeterMu

This comment has been minimized.

Copy link

commented Mar 29, 2018

perfect! thx!

@igordeoliveirasa

This comment has been minimized.

Copy link

commented Apr 2, 2018

thank you!

@xckon

This comment has been minimized.

Copy link

commented Apr 6, 2018

Works like a charm from AWS Linux AMI! Thanks! 👍

@lahirisan

This comment has been minimized.

Copy link

commented May 7, 2018

Thanks! I could not make a deploy to centos server with rails-capistrano because of this warning.

@Songkeys

This comment has been minimized.

Copy link

commented Jun 3, 2018

Thank you!

@blacklee

This comment has been minimized.

Copy link

commented Jun 21, 2018

thank you!

@embasbm

This comment has been minimized.

Copy link

commented Jul 8, 2018

Thank you 👏 👏

@vbahtev

This comment has been minimized.

Copy link

commented Jul 16, 2018

thank you!

@AnyLight

This comment has been minimized.

Copy link

commented Jul 24, 2018

Thank you!

@JonasAi

This comment has been minimized.

Copy link

commented Jul 31, 2018

Thanks for sharing

@igordelorenzi

This comment has been minimized.

Copy link

commented Aug 10, 2018

Thanks from Brazil

@hitfire

This comment has been minimized.

Copy link

commented Aug 14, 2018

Pefec! Thanks for sharing!

@BolaNasr

This comment has been minimized.

Copy link

commented Aug 15, 2018

Perfect..Thank you

@charliechung

This comment has been minimized.

Copy link

commented Aug 19, 2018

thanks

@fabiohenriquebayma

This comment has been minimized.

Copy link

commented Aug 26, 2018

Thanks!

@avlaanderen

This comment has been minimized.

Copy link

commented Sep 19, 2018

Still valid @Sept19th 2018
Linux 3.10.0-862.11.6.el7.x86_64 #1 SMP Tue Aug 14 21:49:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

@raulibanez

This comment has been minimized.

Copy link

commented Sep 20, 2018

Exactly it. Thx.

@puzzledvacuum

This comment has been minimized.

Copy link

commented Sep 28, 2018

Like a charm!

@wqhyw

This comment has been minimized.

Copy link

commented Oct 8, 2018

Great! Problem solved! Thx!!! 👍

@whizzalan

This comment has been minimized.

Copy link

commented Oct 19, 2018

Thanks a lot.

@n0vat0r

This comment has been minimized.

Copy link

commented Oct 24, 2018

Thank you!

@judavi

This comment has been minimized.

Copy link

commented Oct 24, 2018

Working on CentOS 7.5 thanks!

@vladtzaharia

This comment has been minimized.

Copy link

commented Nov 12, 2018

thanks !

@hathehuyen

This comment has been minimized.

Copy link

commented Nov 29, 2018

Thank you!

@sunwoo517

This comment has been minimized.

Copy link

commented Dec 27, 2018

thanks!

@pathaksa

This comment has been minimized.

Copy link

commented Dec 27, 2018

worked mate

@Santosh-Sah

This comment has been minimized.

Copy link

commented Jan 11, 2019

Thanks a lot

@tinotuno

This comment has been minimized.

Copy link

commented Feb 14, 2019

Thanks. Worked perfectly.

@bhavyabapna

This comment has been minimized.

Copy link

commented Mar 29, 2019

Thx a lot 👍

@rdoerga

This comment has been minimized.

Copy link

commented May 9, 2019

Thanks a million!!!!!

@HakanIST

This comment has been minimized.

Copy link

commented May 21, 2019

Thanks.

@emekaorjiani

This comment has been minimized.

Copy link

commented Jun 30, 2019

Amazing, just like that!

@yujintang

This comment has been minimized.

Copy link

commented Jul 18, 2019

tks

@nguyenvq

This comment has been minimized.

Copy link

commented Aug 14, 2019

Thanks from Vietnam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.