Skip to content

Instantly share code, notes, and snippets.

@cocodrips
Last active July 28, 2019 16:17
Show Gist options
  • Save cocodrips/bbd3bda38a0194bf7d6c501dfb4a22b1 to your computer and use it in GitHub Desktop.
Save cocodrips/bbd3bda38a0194bf7d6c501dfb4a22b1 to your computer and use it in GitHub Desktop.
isuconやることメモ

webアプリをgit対象に

base Makefile

SLACK_URL=http://XXX

end: alp slow
  
  
alp:
  echo "" > /tmp/alp.txt

slow:
  echo "" > /tmp/slow.txt

cleanup:
  rm -rf /var/log/nginx/*.log
  

install

centos7-install.sh

# rpm -ivh http://ftp-srv2.kddilabs.jp/Linux/distributions/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
sudo yum install -y htop dstat wget unzip emacs vim

# alp
wget https://github.com/tkuchiki/alp/releases/download/v0.0.4/alp_linux_amd64.zip
unzip alp_linux_amd64.zip
sudo mv alp_linux_amd64 /usr/local/bin/alp
sudo chown root:root /usr/local/bin/alp


# ssh
mkdir -p ~/.ssh/
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
emacs ~/.ssh/authorized_keys

# git 
git config --global user.email "isucon@example.com"
git config --global user.name "isucon"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment