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.

Show comment
Hide comment
@zuo1188

zuo1188 Aug 14, 2017

solved my problem

zuo1188 commented Aug 14, 2017

solved my problem

@AlexFlipnote

This comment has been minimized.

Show comment
Hide comment
@AlexFlipnote

AlexFlipnote 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.

AlexFlipnote 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.

@DreamWater

This comment has been minimized.

Show comment
Hide comment
@DreamWater

DreamWater Oct 20, 2017

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

DreamWater commented Oct 20, 2017

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

@vaseppi

This comment has been minimized.

Show comment
Hide comment
@vaseppi

vaseppi Dec 1, 2017

solved my problem,,
Thankyou

vaseppi commented Dec 1, 2017

solved my problem,,
Thankyou

@virak

This comment has been minimized.

Show comment
Hide comment
@virak

virak Dec 5, 2017

Thanks for the solution

virak commented Dec 5, 2017

Thanks for the solution

@xumar-cc

This comment has been minimized.

Show comment
Hide comment
@xumar-cc

xumar-cc Dec 16, 2017

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

xumar-cc commented Dec 16, 2017

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

@suiwenfeng

This comment has been minimized.

Show comment
Hide comment
@suiwenfeng

suiwenfeng commented Dec 18, 2017

Thanks

@devendrap

This comment has been minimized.

Show comment
Hide comment
@devendrap

devendrap Dec 20, 2017

Worked for me for Fedora 27! Thanks!

devendrap commented Dec 20, 2017

Worked for me for Fedora 27! Thanks!

@dswwsd

This comment has been minimized.

Show comment
Hide comment
@dswwsd

dswwsd commented Jan 12, 2018

Thanks

@zxbin2000

This comment has been minimized.

Show comment
Hide comment
@zxbin2000

zxbin2000 Jan 13, 2018

Thanks for the solution.

zxbin2000 commented Jan 13, 2018

Thanks for the solution.

@sashuk

This comment has been minimized.

Show comment
Hide comment
@sashuk

sashuk Jan 15, 2018

Thanks a lot!

sashuk commented Jan 15, 2018

Thanks a lot!

@jraphael

This comment has been minimized.

Show comment
Hide comment
@jraphael

jraphael commented Feb 13, 2018

Thanks!

@EdgarOrtegaRamirez

This comment has been minimized.

Show comment
Hide comment
@EdgarOrtegaRamirez

EdgarOrtegaRamirez Feb 22, 2018

Also works on Amazon Linux 2 AMI ๐Ÿฅ‡

EdgarOrtegaRamirez commented Feb 22, 2018

Also works on Amazon Linux 2 AMI ๐Ÿฅ‡

@theyusufyildiz

This comment has been minimized.

Show comment
Hide comment
@theyusufyildiz

theyusufyildiz Feb 27, 2018

thanks brother, it also works ubuntu 16.04 LTS :)

theyusufyildiz commented Feb 27, 2018

thanks brother, it also works ubuntu 16.04 LTS :)

@gyustorm

This comment has been minimized.

Show comment
Hide comment
@gyustorm

gyustorm commented Mar 7, 2018

Thanks!

@tvthu

This comment has been minimized.

Show comment
Hide comment
@tvthu

tvthu Mar 15, 2018

Thanks bro! also work on centos 7.

tvthu commented Mar 15, 2018

Thanks bro! also work on centos 7.

@PeterMu

This comment has been minimized.

Show comment
Hide comment
@PeterMu

PeterMu Mar 29, 2018

perfect! thx!

PeterMu commented Mar 29, 2018

perfect! thx!

@igordeoliveirasa

This comment has been minimized.

Show comment
Hide comment
@igordeoliveirasa

igordeoliveirasa commented Apr 2, 2018

thank you!

@xckon

This comment has been minimized.

Show comment
Hide comment
@xckon

xckon Apr 6, 2018

Works like a charm from AWS Linux AMI! Thanks! ๐Ÿ‘

xckon commented Apr 6, 2018

Works like a charm from AWS Linux AMI! Thanks! ๐Ÿ‘

@lahirisan

This comment has been minimized.

Show comment
Hide comment
@lahirisan

lahirisan May 7, 2018

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

lahirisan 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.

Show comment
Hide comment
@Songkeys

Songkeys Jun 3, 2018

Thank you!

Songkeys commented Jun 3, 2018

Thank you!

@BlackLee

This comment has been minimized.

Show comment
Hide comment
@BlackLee

BlackLee Jun 21, 2018

thank you!

BlackLee commented Jun 21, 2018

thank you!

@embasbm

This comment has been minimized.

Show comment
Hide comment
@embasbm

embasbm Jul 8, 2018

Thank you ๐Ÿ‘ ๐Ÿ‘

embasbm commented Jul 8, 2018

Thank you ๐Ÿ‘ ๐Ÿ‘

@vbahtev

This comment has been minimized.

Show comment
Hide comment
@vbahtev

vbahtev Jul 16, 2018

thank you!

vbahtev commented Jul 16, 2018

thank you!

@AnyLight

This comment has been minimized.

Show comment
Hide comment
@AnyLight

AnyLight Jul 24, 2018

Thank you!

AnyLight commented Jul 24, 2018

Thank you!

@JonasAi

This comment has been minimized.

Show comment
Hide comment
@JonasAi

JonasAi Jul 31, 2018

Thanks for sharing

JonasAi commented Jul 31, 2018

Thanks for sharing

@igordelorenzi

This comment has been minimized.

Show comment
Hide comment
@igordelorenzi

igordelorenzi Aug 10, 2018

Thanks from Brazil

igordelorenzi commented Aug 10, 2018

Thanks from Brazil

@hitfire

This comment has been minimized.

Show comment
Hide comment
@hitfire

hitfire Aug 14, 2018

Pefec! Thanks for sharing!

hitfire commented Aug 14, 2018

Pefec! Thanks for sharing!

@BolaNasr

This comment has been minimized.

Show comment
Hide comment
@BolaNasr

BolaNasr Aug 15, 2018

Perfect..Thank you

BolaNasr commented Aug 15, 2018

Perfect..Thank you

@charliechung

This comment has been minimized.

Show comment
Hide comment
@charliechung

charliechung commented Aug 19, 2018

thanks

@f4b10h3nr1qu3

This comment has been minimized.

Show comment
Hide comment
@f4b10h3nr1qu3

f4b10h3nr1qu3 commented Aug 26, 2018

Thanks!

@avlaanderen

This comment has been minimized.

Show comment
Hide comment
@avlaanderen

avlaanderen 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

avlaanderen 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.

Show comment
Hide comment
@raulibanez

raulibanez Sep 20, 2018

Exactly it. Thx.

raulibanez commented Sep 20, 2018

Exactly it. Thx.

@puzzledvacuum

This comment has been minimized.

Show comment
Hide comment
@puzzledvacuum

puzzledvacuum Sep 28, 2018

Like a charm!

puzzledvacuum commented Sep 28, 2018

Like a charm!

@wqhyw

This comment has been minimized.

Show comment
Hide comment
@wqhyw

wqhyw Oct 8, 2018

Great! Problem solved! Thx!!! ๐Ÿ‘

wqhyw commented Oct 8, 2018

Great! Problem solved! Thx!!! ๐Ÿ‘

@whizzalan

This comment has been minimized.

Show comment
Hide comment
@whizzalan

whizzalan Oct 19, 2018

Thanks a lot.

whizzalan commented Oct 19, 2018

Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment