Here is a list of some libs, commands after OS installation.
- Before reinstall
# Find name of device
sudo fdisk -l
# Unmount
unmount /dev/sdc1
# Format
sudo mkdosfs -n 'USB-name' -I /dev/sdc -F 32
isohybrid file_name.iso
# Copy iso to sdc (device, not partition)
sudo dd if=file_name.iso of=/dev/sdc bs=4k
# Unplug
sync
sudo eject /dev/sdc
- WiFi card:
lspci | grep Network
For Broadcom BCM43142
apt-get install bcmwl-kernel-source
- Python
apt-get install build-essential -y
# python
apt-get install python, python-dev -y
# pip, vurtualenv
apt-get install python-pip -y
pip install virtualenv
# PostgreSQL
apt-get install libpq libpq-dev
pip install psycopg2
# Pillow
apt-get install libjpeg8-dev zlib1g-dev libtiff-dev -y
apt-get install libfreetype6-dev liblcms-dev -y
pip install Pillow
- NGINX
# sources
echo "# nginx" >> /etc/apt/sources.list
echo "deb http://nginx.org/packages/debian/ wheezy nginx" >> /etc/apt/sources.list
echo "deb-src http://nginx.org/packages/debian/ wheezy nginx" >> /etc/apt/sources.list
echo "# nginx" >> /etc/apt/sources.list
echo "deb http://nginx.org/packages/ubuntu/ trusty nginx" >> /etc/apt/sources.list
echo "deb-src http://nginx.org/packages/ubuntu/ trusty nginx" >> /etc/apt/sources.list
# key
wget http://nginx.org/keys/nginx_signing.key
apt-key add nginx_signing.key
apt-get update
# install
apt-get install nginx -y
rm -f nginx_signing.key
- PostgreSQL
# source
echo "# postgresql" >> /etc/apt/sources.list
echo "deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main" >> /etc/apt/sources.list
echo "# postgresql" >> /etc/apt/sources.list
echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" >> /etc/apt/sources.list
# key
wget https://www.postgresql.org/media/keys/ACCC4CF8.asc
apt-key add ACCC4CF8.asc
apt-get update
# install
apt-get install postgresql-9.4 -y
rm -f ACCC4CF8.asc
apt-get install ssh
apt-get install vim
apt-get install git