sudo dd if=2013-05-25-wheezy-raspbian.img of=/dev/sd?で SD カードへ焼いた。
Username:pi Password:raspberry
sudo raspi-config
sudo apt-get install firefox-sage
Linux の dd でできる方法にしました。
sudo dd if=/home/hogehoge/temp/Pidora-2014-R1/Pidora-2014-R1.img of=/dev/sdb
sudo vi /etc/hostname
sudo vi /etc/locale.conf
LANG="ja_JP.UTF-8"
KEYMAP="jp106"
vm.min_free_kbytes = 32768 net.ipv6.conf.all.disable_ipv6=1 net.ipv6.conf.default.disable_ipv6=1
[root@raspi ~]# timedatectl set-timezone Asia/Tokyo [root@raspi ~]# timedatectl set-local-rtc 0 [root@raspi ~]# timedatectl status
[root@rpi yum.repos.d]# yum check-update Loaded plugins: langpacks, presto, refresh-packagekit http://downloads.raspberrypi.org/pidora/updates/18/armhfp/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://downloads.raspberrypi.org/pidora/updates/18/armhfp/repodata/repomd.xml Trying other mirror. http://pidora.proximity.on.ca/pidora/updates/18/armhfp/repodata/repomd.xml: [Errno 14] HTTP Error 403 - Forbidden : http://pidora.proximity.on.ca/pidora/updates/18/armhfp/repodata/repomd.xml Trying other mirror. Error: failure: repodata/repomd.xml from pidora-updates: [Errno 256] No more mirrors to try. http://downloads.raspberrypi.org/pidora/updates/18/armhfp/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://downloads.raspberrypi.org/pidora/updates/18/armhfp/repodata/repomd.xml http://pidora.proximity.on.ca/pidora/updates/18/armhfp/repodata/repomd.xml: [Errno 14] HTTP Error 403 - Forbidden : http://pidora.proximity.on.ca/pidora/updates/18/armhfp/repodata/repomd.xml
[root@rpi yum.repos.d]# pwd /etc/yum.repos.d [root@rpi yum.repos.d]# ls -l total 20 -rw-r--r-- 1 root root 1227 5月 18 04:29 pidora-rpfr-updates-testing.repo -rw-r--r-- 1 root root 1162 5月 18 04:17 pidora-rpfr-updates.repo -rw-r--r-- 1 root root 1088 5月 18 04:40 pidora-updates-testing.repo -rw-r--r-- 1 root root 1109 5月 18 04:40 pidora-updates.repo -rw-r--r-- 1 root root 960 5月 18 04:18 pidora.repo
vi pidora-updates-testing.repo
[pidora-updates-testing] name=pidora $releasever - $basearch #name=Fedora $releasever - $basearch failovermethod=priority mirrorlist=http://pidora.ca/mirrorlist/mirrorlist.cgi? repo=pidora-updates-testing-$releasever&arch=$basearc h enabled=0 #<- ここを1から0へ metadata_expire=7d gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-pidora-18 protect=0
vi pidora-updates.repo
[pidora-updates] name=pidora-updates $releasever - $basearch #name=Fedora $releasever - $basearch failovermethod=priority mirrorlist=http://pidora.ca/mirrorlist/mirrorlist.cgi? repo=pidora-updates-$releasever&arch=$basearch enabled=0 #<- ここを1から0へ metadata_expire=7d gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-pidora-18 protect=0
yum install vim
例) server ntp1.jst.mfeed.ad.jp iburst
ntpdate ntp1.jst.mfeed.ad.jp
systemctl start chronyd
chronyc sources -v
systemctl enable chronyd
[root@raspi2 ~]# reboot
ifconfig -a | grep inet6
ps ax | grep chronyd
mv /etc/systemd/system/default.target /etc/systemd/system/default.target_bak ln -sf /usr/lib/systemd/system/multi-user.target /etc/systemd/system/default.target
DEVICE=eth0 NM_CONTROLLED=no ONBOOT=yes TYPE=Ethernet BOOTPROTO=none HWADDR=b8:27:eb:xx:xx:xx IPADDR=172.16.100.4 PREFIX=24 GATEWAY=172.16.100.254 DNS1=172.16.100.1 DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no
systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl enable network.service
http://pidora.proximity.on.ca/