Benutzer:Approach

Aus Fachinformatiker Azubi
Wechseln zu: Navigation, Suche

Thinkpad L530 Treiber Ubuntu Linux

Sound:

sudo vi /etc/modprobe.d/alsa-base.conf
add lines:
options snd-hda-intel model=lenovo-dock

Some thinkpads need this option
#options snd-hda-intel model=thinkpad

Not used on ubuntu 15.04

sudo add-apt-repository ppa:linrunner/thinkpad-extras
sudo apt-get update
sudo apt-get install tp-trackpoint-elantech

sudo apt-add-repository ppa:jamesf/lenovofixes
sudo apt-get update
sudo apt-get install rts-5229-dkms

Linux

Standard Tools

sudo apt-get install vim htop aptitude indicator-multiload screen nfs-kernel-server nfs-common dia

Google-Chrome

https://www.google.com/chrome

Ansible

sudo add-apt-repository -y ppa:ansible/ansible
sudo apt-get update
sudo apt-get install -y ansible

Git

sudo add-apt-repository ppa:git-core/ppa -y
sudo apt-get update
sudo apt-get install git -y

Oracle Java

sudo apt-add-repository ppa:webupd8team/java -y
sudo apt-get update
sudo apt-get install oracle-java8-installer -y

if "echo $JAVA_HOME" is empty than set the variable...
export JAVA_HOME=/usr/lib/jvm/java-8-oracle


JDownloader2

wget http://installer.jdownloader.org/JD2SilentSetup_x64.sh
chmod +x JD2SilentSetup*.sh
./JD2SilentSetup*.sh

Spotify

echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com D2C19886
sudo apt-get update
sudo apt-get install spotify-client

Skype:

http://www.skype.com/de/download-skype/skype-for-linux/

Quick installer

sudo apt-get install spotify-client


Mysql Workbench

sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5072E1F5
sudo echo "deb http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.7" >> /etc/apt/sources.list && echo "deb-src http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.7" >> /etc/apt/sources.list
sudo apt-get update
sudo apt-get install mysql-workbench

Public configs

.gitconfig

wget https://gist.githubusercontent.com/approached/9cd3fdc21c95478df7a1/raw/8428ca2ce21432332ce9d62a9089d7d38a310199/.gitconfig

.vmirc

wget https://gist.githubusercontent.com/approached/61ab1ac15e001911ff04/raw/a7c1e6ff02536053f26299c66a6145eda487b8ae/.vimrc

.bash_aliases

wget https://gist.githubusercontent.com/approached/f20d2559d54d24299891/raw/82298d1886251ae99e1c6ebc9403b02972488c0a/.bash_aliases

Git helper:

https://github.com/jimeh/git-aware-prompt

Settings:

export PS1="\${debian_chroot:+(\$debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ "

Software

PhpStorm

Vagrant

Virtualbox

VirtualBox 5.0.14 Oracle VM VirtualBox Extension Pack for USB support Install:

VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.0.14-105127.vbox-extpack

Add user to group

sudo usermod -G vboxusers -a change_this_with_your_username

Create short usage commands

Example for ssh connect to a:

vi /usr/bin/alcodo

write...
ssh root@alcodo.com

sudo chmod a+x /usr/bin/alcodo

Linux Tools not used

Grive (dient für Google Cloud Speicher)

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install grive
mkdir ~/grive
cd ~/grive
grive –a

Um zu aktualisieren:
cd ~/grive
grive

Clementine-Player

sudo add-apt-repository ppa:me-davidsansome/clementine
sudo apt-get update
sudo apt-get install clementine

Chromiumn

sudo apt-get install chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg chromium-codecs-ffmpeg-extra


Teamviewer

http://www.teamviewer.com/de/download/linux.aspx

Other obsolete tools

sudo apt-get install pidgin pidgin-otr xchat


Wiki Konfiguration

ToDo


Server

adduser deploy
adduser deploy sudo

cp /home/deploy/.profile .
cp /home/deploy/.bashrc .

deluser --remove-home --remove-all-files deploy

ssh-copy-id root@139.162.187.224