Last active
November 21, 2016 06:50
-
-
Save yanqirenshi/a1347a849b3875e862f692a0ca7ef112 to your computer and use it in GitHub Desktop.
openSUSE leap 14.2 インストール後に実行するセットアップ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
zypper refresh | |
zypper update | |
### | |
### keybord | |
### | |
setxkbmap -option ctrl:nocaps | |
### | |
### chef | |
### | |
cd Downloads/ | |
wget https://packages.chef.io/stable/el/7/chefdk-1.0.3-1.el7.x86_64.rpm | |
sudo rpm -Uvh chefdk-1.0.3-1.el7.x86_64.rpm | |
### | |
### emacs | |
### | |
cd ~/Download | |
wget http://ftp.jaist.ac.jp/pub/GNU/emacs/emacs-25.1.tar.gz | |
tar -zxf emacs-25.1.tar.gz | |
cd emacs-25.1/ | |
sudo zypper install -t pattern devel_basis | |
sudo zypper install libXpm-devel | |
sudo zypper install libjpeg8-devel | |
sudo zypper install giflib-devel | |
sudo zypper install libtiff-devel | |
./configure | |
make | |
sudo make install | |
mkdir -p ~/.emacs.d/dist/ | |
cd ~/.emacs.d/dist/ | |
git clone https://github.com/yanqirenshi/emacs.git | |
git clone https://github.com/yanqirenshi/hatena-blog-mode.git | |
git clone https://github.com/deadtrickster/slime-repl-ansi-color.git | |
git clone https://github.com/slime/slime.git | |
echo '(load "~/.emacs.d/dist/emacs/init.el")' >> ~/.emacs.d/init.el | |
### | |
### Git | |
### | |
sudo zypper install git | |
git config --global user.name "yanqirenshi" | |
git config --global user.email yanqirenshi@gmail.com | |
git config --global core.autoCRLF false | |
git config --global core.editor emacs | |
### | |
### Dropbox | |
### | |
sudo zypper install dropbox | |
### | |
### nginx | |
### | |
sudo zypper install nginx | |
### | |
### mysql | |
### | |
sudo zypper install mysql-community-server | |
sudo zypper install mysql-workbench | |
sudo rcmysql start | |
sudo chkconfig mysql on | |
### | |
### skk | |
### | |
sudo zypper install ibus-skk | |
### | |
### Linuxbrew | |
### | |
zypper install m4 | |
zypper install libbz2-devel | |
zypper install libcurl-devel | |
zypper install texinfo | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)" | |
# export PATH=$HOME/.linuxbrew/bin:$PATH | |
# export MANPATH=$HOME/.linuxbrew/share/man:$MANPATH | |
# export INFOPATH=$HOME/.linuxbrew/share/info:$INFOPATH | |
### | |
### roswell | |
### | |
brew install roswell | |
ros setup | |
ros config set dynamic-space-size 4gb | |
### | |
### nodebrew | |
### | |
curl -L git.io/nodebrew | perl - setup | |
# export PATH=$HOME/.nodebrew/current/bin:$PATH | |
nodebrew install-binary stable | |
nodebrew use stable | |
### | |
### Python | |
### | |
sudo zypper install python-devel python3-devel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment