Create a gist now

Instantly share code, notes, and snippets.

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

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.

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.

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

@suiwenfeng

This comment has been minimized.

Show comment
Hide comment
@suiwenfeng

suiwenfeng Dec 18, 2017

Thanks

Thanks

@devendrap

This comment has been minimized.

Show comment
Hide comment
@devendrap

devendrap Dec 20, 2017

Worked for me for Fedora 27! Thanks!

Worked for me for Fedora 27! Thanks!

@dswwsd

This comment has been minimized.

Show comment
Hide comment
@dswwsd

dswwsd Jan 12, 2018

Thanks

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.

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 Feb 13, 2018

Thanks!

Thanks!

@EdgarOrtegaRamirez

This comment has been minimized.

Show comment
Hide comment
@EdgarOrtegaRamirez

EdgarOrtegaRamirez Feb 22, 2018

Also works on Amazon Linux 2 AMI 🥇

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 :)

thanks brother, it also works ubuntu 16.04 LTS :)

@gyustorm

This comment has been minimized.

Show comment
Hide comment
@gyustorm

gyustorm Mar 7, 2018

Thanks!

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 Apr 2, 2018

thank you!

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!

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