- Raspberry Pi 3 Model B/B+向け
- 2018-11-27 22:31がLast modifiedなCentOS-Userland-7-armv7hl-RaspberryPI-Minimal-1810-sda.raw.xzを使用
(CentOS Linux 7 1810相当 / SHA256:fd7ee31a2a0b868703f0715e9819911f68b160e3ae014317b706c63d716200f6) - CentOS 7.x Minimalな環境(クリーンインストール直後でOK)
- 作業用に10GBぐらいのディスク空き容量
- root権限で作業
- ついでにEPELリポジトリを追加
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 | |
# Initialize the variable for set names | |
SET_NAMES="" | |
# Check the arguments | |
for arg in "$@" | |
do | |
case $arg in | |
--nox) |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters] | |
"SMB1"=dword:00000000 |
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/bash | |
#------------------------------------------------------------------------------# | |
# rpi2-centos-setup (2015-11-26) | for CentOS 7.1.1503 armv7hl PoC for RasPi2 | |
#------------------------------------------------------------------------------# | |
# Author: Mitsuki Shirase | |
# | |
# Usage: | |
# 1) Download this script. | |
# 2) chmod +x rpi2-centos-setup | |
# 3) run as root. |
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 | |
#----- chenge parameters your environment -----# | |
# examples: | |
# Your PC's IP address: 192.168.0.100 | |
# Search scope: 192.168.0.1 - 192.168.0.254 | |
# | |
# OWN_NETWORK="192.168.0" | |
# SRCH_START=1 | |
# SRCH_END=254 |
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/bash | |
USSID="<自環境のSSIDを入力>" | |
IF_FILE="/etc/network/interfaces" | |
PARAM_GATEWAY=`grep -i gateway ${IF_FILE} | cut -f2 -d' '` | |
PARAM_ADDR=`grep -i address ${IF_FILE} | cut -f2 -d' '` | |
ping -c 4 ${PARAM_GATEWAY} > /dev/null 2>&1 | |
flag=$? |
最新版は GitHub に移動しました。
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 | |
#-----------------------------------------------------------------------------# | |
# raspi-initializer.sh (2015-05-28) | for Raspbian 2015-05-05 | |
#-----------------------------------------------------------------------------# | |
# Basescript: Akkiesoft / minimal-raspbian2.sh | |
# https://gist.github.com/Akkiesoft/9873563 | |
# lunatilia / raspi-minimalizer.sh | |
# https://gist.github.com/lunatilia/9252ef73c5dd43c9f837 | |
# | |
# Modified by Mitsuki Shirase@Lunatilia |
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 | |
#-----------------------------------------------------------------------------# | |
# raspi-minimalizer.sh (2015-05-28) | for Raspbian 2015-05-05 | |
#-----------------------------------------------------------------------------# | |
# Basescript: Akkiesoft / minimal-raspbian2.sh | |
# https://gist.github.com/Akkiesoft/9873563 | |
# | |
# Modified by Mitsuki Shirase@Lunatilia | |
# | |
# Usage: |
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
#----------------------------------------------------------------------------# | |
# Usage: source clear-history | |
#----------------------------------------------------------------------------# | |
export HISTSIZE=0 | |
export HISTFILESIZE=0 | |
rm -f ./clear-history |
NewerOlder