Benutzer:Approach: Unterschied zwischen den Versionen

Aus Fachinformatiker Azubi
Zur Navigation springen Zur Suche springen
K (Linux)
(Public configs)
 
(24 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
== Dev ==
+
== Thinkpad L530 Treiber Ubuntu Linux ==
  
sudo apt-get install subversion git
+
Sound:
 +
<pre>
 +
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
 +
</pre>
  
== Git ==
+
Not used on ubuntu 15.04
 +
<pre>
 +
sudo add-apt-repository ppa:linrunner/thinkpad-extras
 +
sudo apt-get update
 +
sudo apt-get install tp-trackpoint-elantech
  
.gitconfig
+
sudo apt-add-repository ppa:jamesf/lenovofixes
 +
sudo apt-get update
 +
sudo apt-get install rts-5229-dkms
 +
</pre>
 +
 
 +
== 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
 
<pre>
 
<pre>
[user]
+
sudo add-apt-repository -y ppa:ansible/ansible
        name = approached
+
sudo apt-get update
        email = alexejkloos@WWW.com
+
sudo apt-get install -y ansible
[alias]
 
        st = status
 
        ci = commit
 
        br = branch
 
        co = checkout
 
        last = log -1 HEAD
 
 
</pre>
 
</pre>
  
Update
+
Git
 
<pre>
 
<pre>
 
sudo add-apt-repository ppa:git-core/ppa -y
 
sudo add-apt-repository ppa:git-core/ppa -y
 
sudo apt-get update
 
sudo apt-get update
sudo apt-get install git
+
sudo apt-get install git -y
git --version
+
</pre>
 +
 
 +
Oracle Java
 +
<pre>
 +
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
 
</pre>
 
</pre>
  
== Othder Linux Packete ==
 
  
sudo apt-get install pidgin pidgin-otr xchat
+
JDownloader2
 +
<pre>
 +
wget http://installer.jdownloader.org/JD2SilentSetup_x64.sh
 +
chmod +x JD2SilentSetup*.sh
 +
./JD2SilentSetup*.sh
 +
</pre>
  
== Thinkpad L530 Treiber Ubuntu Linux ==
+
Spotify
 
<pre>
 
<pre>
sudo add-apt-repository ppa:linrunner/thinkpad-extras
+
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 update
sudo apt-get install tp-trackpoint-elantech
+
sudo apt-get install spotify-client
 +
</pre>
  
sudo apt-add-repository ppa:jamesf/lenovofixes
+
Skype:
sudo apt-get update
+
http://www.skype.com/de/download-skype/skype-for-linux/
sudo apt-get install rts-5229-dkms
 
  
sudo vi /etc/modprobe.d/alsa-base.conf
+
Quick installer
add lines:
+
sudo apt-get install spotify-client
#options snd-hda-intel model=thinkpad
 
options snd-hda-intel model=lenovo-dock
 
</pre>
 
  
== Linux ==
 
  
Oracle Java
+
Mysql Workbench
 
<pre>
 
<pre>
sudo add-apt-repository ppa:webupd8team/java
+
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 update
sudo apt-get install oracle-java7-installer
+
sudo apt-get install mysql-workbench
 
</pre>
 
</pre>
Queerverweis: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
 
  
 +
== Public configs ==
  
Standard Tools
+
.gitconfig
  sudo apt-get install vim htop indicator-multiload
+
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
 +
* https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program
 +
 
 +
Vagrant
 +
* https://www.vagrantup.com/downloads.html
 +
 
 +
Virtualbox
 +
* https://www.virtualbox.org/wiki/Downloads (AMD64 Version)
 +
 
 +
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:
 +
<pre>
 +
vi /usr/bin/alcodo
 +
 
 +
write...
 +
ssh root@alcodo.com
 +
 
 +
sudo chmod a+x /usr/bin/alcodo
 +
</pre>
 +
 
 +
== Linux Tools not used ==
  
 
Grive (dient für Google Cloud Speicher)
 
Grive (dient für Google Cloud Speicher)
Zeile 81: Zeile 154:
 
sudo apt-get install clementine
 
sudo apt-get install clementine
 
</pre>
 
</pre>
 
Google-Chrome
 
https://www.google.com/chrome
 
  
 
Chromiumn
 
Chromiumn
 
  sudo apt-get install chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg chromium-codecs-ffmpeg-extra
 
  sudo apt-get install chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg chromium-codecs-ffmpeg-extra
  
Spotify
 
<pre>
 
sudo add-apt-repository 'deb http://repository.spotify.com/ stable non-free'
 
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 94558F59
 
sudo apt-get update
 
sudo apt-get install spotify-client
 
</pre>
 
 
Skype
 
<pre>
 
sudo add-apt-repository 'deb http://archive.canonical.com/ubuntu quantal partner'
 
sudo apt-get update
 
sudo apt-get install skype
 
</pre>
 
 
JDownloader
 
<pre>
 
sudo add-apt-repository ppa:jd-team/jdownloader
 
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6A68F637
 
sudo apt-get update
 
sudo apt-get install jdownloader
 
 
Version 2:
 
wget http://installer.jdownloader.org/JD2SilentSetup_x64.sh
 
chmod +x JD2SilentSetup*.sh
 
./JD2SilentSetup*.sh
 
</pre>
 
  
 
Teamviewer
 
Teamviewer
 
  http://www.teamviewer.com/de/download/linux.aspx
 
  http://www.teamviewer.com/de/download/linux.aspx
  
ALL
+
Other obsolete tools
  sudo apt-get install spotify-client skype jdownloader
+
  sudo apt-get install pidgin pidgin-otr xchat
  
=== Server ===
 
  
<pre>
+
== Wiki Konfiguration ==
apt-get update
+
* [[MediaWiki:Mainpage]]
apt-get upgrade
+
* [[MediaWiki:Sidebar]]
apt-get install vim htop ntp screen
 
  
https://github.com/facebook/hhvm/wiki/Prebuilt-Packages-on-Debian-8
+
== ToDo ==
apt-get install hhvm
 
  
http://nginx.org/en/linux_packages.html
+
* http://www.mediawiki.org/wiki/Extension:Cite/Cite.php/de
  
  
git
+
== Server ==
  
php5-mysql
+
<pre>
</pre>
+
adduser deploy
 +
adduser deploy sudo
  
== Wiki Konfiguration ==
+
cp /home/deploy/.profile .
* [[MediaWiki:Mainpage]]
+
cp /home/deploy/.bashrc .
* [[MediaWiki:Sidebar]]
 
  
== ToDo ==
+
deluser --remove-home --remove-all-files deploy
  
* http://www.mediawiki.org/wiki/Extension:Cite/Cite.php/de
+
ssh-copy-id root@139.162.187.224
 +
</pre>

Aktuelle Version vom 19. Juni 2016, 17:32 Uhr

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