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 | |
# EC2のAmazon Linux で ec2-user を apache グループに追加し、 | |
# /var/www ディレクトリに apache グループの所有権を与え、グループに書き込み権限を割り当てます。 | |
# source http://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/install-LAMP.html | |
ls -l /var/www | |
# ユーザー(この場合は ec2-user)を apache グループに追加します。 | |
sudo usermod -a -G apache ec2-user |
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
#!/usr/bin/perl | |
# Check the stack usage of functions | |
# | |
# Copyright Joern Engel <joern@lazybastard.org> | |
# Inspired by Linus Torvalds | |
# Original idea maybe from Keith Owens | |
# s390 port and big speedup by Arnd Bergmann <arnd@bergmann-dalldorf.de> | |
# Mips port by Juan Quintela <quintela@mandrakesoft.com> | |
# IA64 port via Andreas Dilger |