readme sudo and install.sh hostname
This commit is contained in:
+4
-2
@@ -11,7 +11,9 @@ install Arch Linux ARM systeme on rpi following these how to : https://archlinux
|
|||||||
connect to rpi through ssh
|
connect to rpi through ssh
|
||||||
|
|
||||||
add alarm user to sudoers : https://wiki.archlinux.org/index.php/Sudo#Example_Entries
|
add alarm user to sudoers : https://wiki.archlinux.org/index.php/Sudo#Example_Entries
|
||||||
install git : ```pacman -S vim rsync```
|
as root : ```pacman -S sudo``` then add "alarm ALL=(ALL) ALL" with visudo command
|
||||||
|
|
||||||
|
install git : ```pacman -S git```
|
||||||
clone this repos : ```git clone -o guime https://g-u-i.me/gogs/bachir/hehe-rover.git ```
|
clone this repos : ```git clone -o guime https://g-u-i.me/gogs/bachir/hehe-rover.git ```
|
||||||
|
|
||||||
run rpi/install.sh with sudo
|
run rpi/install.sh with sudo
|
||||||
@@ -21,7 +23,7 @@ run rpi/install.sh with sudo
|
|||||||
- generate the locale : https://wiki.archlinux.org/index.php/Locale#Generating_locales
|
- generate the locale : https://wiki.archlinux.org/index.php/Locale#Generating_locales
|
||||||
- make updates : ```pacman -Syyu```
|
- make updates : ```pacman -Syyu```
|
||||||
- install vim rsync : ```pacman -S vim rsync```
|
- install vim rsync : ```pacman -S vim rsync```
|
||||||
|
- to be continued
|
||||||
|
|
||||||
## camera module
|
## camera module
|
||||||
https://wiki.archlinux.org/index.php/Raspberry_Pi#Raspberry_Pi_camera_module
|
https://wiki.archlinux.org/index.php/Raspberry_Pi#Raspberry_Pi_camera_module
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ _cwd="$(pwd)"
|
|||||||
sudo pacman -Syyu
|
sudo pacman -Syyu
|
||||||
sudo pacman -S --needed --noconfirm vim rsync wget tmux
|
sudo pacman -S --needed --noconfirm vim rsync wget tmux
|
||||||
|
|
||||||
|
|
||||||
# vim
|
# vim
|
||||||
echo 'vim configuration'
|
echo 'vim configuration'
|
||||||
sudo pacman -S --needed --noconfirm vim-{spell-fr,spell-en,nerdtree,supertab,systemd}
|
sudo pacman -S --needed --noconfirm vim-{spell-fr,spell-en,nerdtree,supertab,systemd}
|
||||||
@@ -51,6 +52,12 @@ echo 'ILoveCandy (pacman)'
|
|||||||
sudo sed -i.back 's/.*\[options\].*/&\nILoveCandy/' /etc/pacman.conf
|
sudo sed -i.back 's/.*\[options\].*/&\nILoveCandy/' /etc/pacman.conf
|
||||||
sudo sed -i.back 's/^#Color$/Color/' /etc/pacman.conf
|
sudo sed -i.back 's/^#Color$/Color/' /etc/pacman.conf
|
||||||
|
|
||||||
|
|
||||||
|
# hostname
|
||||||
|
sudo hostnamectl set-hostname hehe-rail-rover
|
||||||
|
sudo sed -i 's/^127\.0\.0\.1\blocalhost\.localdomain\blocalhost/&\thehe-rail-rover/' /etc/hosts
|
||||||
|
sudo sed -i 's/^::1\blocalhost\.localdomain\blocalhost/&\thehe-rail-rover/' /etc/hosts
|
||||||
|
|
||||||
# avahi
|
# avahi
|
||||||
echo "install avahi"
|
echo "install avahi"
|
||||||
sudo pacman -S --needed --noconfirm avahi nss-mdns
|
sudo pacman -S --needed --noconfirm avahi nss-mdns
|
||||||
|
|||||||
Reference in New Issue
Block a user