Posts Tagged ‘ubuntu’

Convert Ubuntu Server to authenticate with SSH key only and make user sudoer with no password

Make user Sudoer: [code] adduser ubuntu usermod -aG sudo ubuntu Edit sudoers "/etc/sudoers"password to don’t require password: %sudo ALL=(ALL) NOPASSWD: ALL [/code] Edit SSH configuration to authenticate by SSH key only: /etc/ssh/sshd_config [code] PermitEmptyPasswords yes PasswordAuthentication no [/code] “ubuntu” by DudeOmega is licensed under CC BY

Read More

command ‘x86_64-linux-gnu-gcc’ failed with exit status in Python Django project

Typical error when a library that you want to install needs to compile and use some system libraries. First make sure you have: python-dev gcc [code] apt get install python [/code] Other libraries that could be needed: [code] sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml…

Read More