There is one time I tried to install some python package via pip install requirement. But I encountered some error like this:
To fix the issue, run the setup script for setuptools:
Yeah. it solve my problem. Probably. XD
Recently, I saw this kind or error quite frequent. At first I thought that it was nothing.
But eventually, it’s kinda bothering me when I see the error message. :p
So, here is the solution to solve this problem.
First, run this command:
It updates /etc/default/locale with provided values.
If you see the /etc/default/locale file, it shows something like this:
If the problem still occur, maybe you can try this first before running the command above again:
Credit to http://askubuntu.com/questions/162391/how-do-i-fix-my-locale-issue/505424#505424
If you encounter error something like this:
Then, where are in the same path. Path where we searching for the answers. XD
So, here is the solution to solve this error.
First, edit this sources.list file:
add this line to the end of file:
:w to save and :q to exit vi editor
Then, install this packages:
And then run this:
Voila! Done. Hope it helps. 🙂
Authentication token manipulation error on Ubuntu
Recently, I forgot my “root” password for my Ubuntu (duh!). So I try attempting to change my “root” password by selecting recovery mode on the grub menu and dropped into a root shell prompt.
Everything works perfect until I try to change the password. The picture above is what I get when i try to change the password. 🙁
So, to solve this, just run this on the prompt:
Anddddd… Walla! Try to reset the password again and it works! 🙂
I think most of you will encounter with this kind of problem if you are using the previous version of Ubuntu.
The solution is to remove the content of
Credit to askubuntu.com
HTTP Error during image upload on wordpress
Recently, I’ve encountered this kind of problem. Maybe because it has been awhile I’m not uploading any images to my post. :p
Anyway, if you came out with this kind of error and using Nginx as your web engine, here how to solve it.
to your nginx .conf file.
For example, mine looks something like this:
Hope it helps. 🙂
Credit to aaronjholbrook
If you want to disable IPv6 on your server, below is the step to do it.
- Edit this file:
- Add these lines to the bottom of the file:
- Run this command on your terminal:
In Ubuntu, user “root” won’t show up as an options to login, which you need to adjust the Ubuntu to allow login as “root”.
Run this command below in your terminal (as normal user with sudo):
Reboot and then you should be able to login as root using graphical user login.
Installing nano on FreeBSD
To allow root login via ssh on FreeBSD, edit sshd_config file:
Find this line:
and change it to:
Now Restart sshd