Please note, if you want to make a deal with this user, that it is blocked.
1.Качаем arch для начала от сюда выбираем образ archlinux-2016.01.01-dual.iso:
http://mirror.datacenter.by/pub/archlinux/iso/2016.01.01/
2.После того как скачали записываем образ arch-a sudo dd bs=512M if=полный путь до образа арчлинукс of=/dev/sdX
Записали бля наконец то!!!!
3.После того как записали ребутнёмся и жмякаем F7 выбираем нашу флешку.
4.Разбиваем диск через cfdisk(на предложение использовать таблицы выбираем dos):
Ставим флаг boot на загрузочный раздел
На swap ставим 1/4 от RAM
Форматируем разделы:
mkfs.ext4 /dev/sda1
mkswap /dev/sda2
Монтируем:
mount /dev/sda1 /mnt
Подключаем свап:
swapon /dev/sda2
Получаем базовые пакеты:
pacstrap -i /mnt base wget nano grub-bios xorg-server xorg-xinit xorg-server-utils mesa xterm gdm mate mate-utils caja pulseaudio xfce4-terminal pluma atril gpicview networkmanager libnm-gtk network-manager-applet networkmanager-pptp firefox iw xf86-video-ati xf86-video-intel xf86-video-vesa libsynaptics xf86-input-synaptics
Переключаемся на заготовку системы:
arch-chroot /mnt
Ставим загрузочник:
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
Ставим по умолчанию дисплейной менеджер:
systemctl enable gdm
Клиент dhcp:
systemctl enable dhcpcd
Менеджер сети:
systemctl enable NetworkManager
Настройка локалей:
nano /etc/locale.gen:
Удалить шарп(#) перед ru_RU.UTF-8 и en_US.UTF-8
nano /etc/locale.conf
LANG=ru_RU.UTF-8
LC_MESSAGES=ru_RU.UTF-8
сохраняемся ctr+o выходим ctr+x
/etc/vconsole.conf
LOCALE="ru_RU.UTF-8"
KEYMAP="ru" # Или ru-mab для раскладки с переключением по Ctrl-Shift
FONT="ter-v16v" # Можно поэкспериментировать с другими шрифтами ter-v* из /usr/share/kbd/consolefonts
CONSOLEMAP=""
sh-4.2# nano /etc/vconsole.conf
LOCALE="ru_RU.UTF-8"
KEYMAP="ru"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Moscow" #Ваша временная зона
FONT="cyr-sun16"
CONSOLEFONT="cyr-sun16"
CONSOLEMAP=""
Генерим локаль: locale-gen
5. Ставим пароль:
passwd
6. Создаём обычного пользователя:
Используем для этого useradd -m **имя**
7. exit
8. reboot (достаём флешку,диск)
9. Видим серый экран типа нет в системе или как то так,кликаем на него (нет в системе)пишем root,жмем enter,пишем пароль,кликаем на шестеренку выбираем mate,кликаем вход.
10. Теперь у вас arch стоит на компе !
11. Открываем терминал пишем следущее:
curl -O https://blackarch.org/strap.sh && sha1sum strap.sh
12. потом следущее : bash ./strap.sh
13. далее пишем pacman -S blackarch
13а. Соглашаемся везде жмем ENTER
14. ЖДЁМ часика полтора два(зависит от инета)
15. После этого радуемся установленному blackarch
16. У кого будут выпадать ошибки после установке добавляем ключик --force.
P.S.: У кого будут сыпаться всё равно ошибки меняем pacman.conf:
nano /etc/pacman.conf
# # /etc/pacman.conf # # See the pacman.conf(5) manpage for option and repository directives
# # GENERAL OPTIONS # [options] # The following paths are commented out with their default values listed. # If you wish to use different paths, uncomment and update the paths. #RootDir = / #DBPath = /var/lib/pacman/ #CacheDir = /var/cache/pacman/pkg/ #LogFile = /var/log/pacman.log #GPGDir = /etc/pacman.d/gnupg/ HoldPkg = pacman glibc #XferCommand = /usr/bin/curl -C - -f %u > %o #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #CleanMethod = KeepInstalled #UseDelta = 0.7 Architecture = x86_64
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup #IgnorePkg = #IgnoreGroup =
#NoUpgrade = #NoExtract =
# Misc options #UseSyslog Color TotalDownload CheckSpace VerbosePkgLists ILoveCandy
# By default, pacman accepts packages signed by keys that its local keyring # trusts (see pacman-key and its man page), as well as unsigned packages. SigLevel = Required DatabaseOptional LocalFileSigLevel = Optional #RemoteFileSigLevel = Required
# NOTE: You must run 'pacman-key --init' before first using pacman; the local # keyring can then be populated with the keys of all official Arch Linux # packagers with 'pacman-key --populate archlinux'.
# # REPOSITORIES # - can be defined here or included from another file # - pacman will search repositories in the order defined here # - local/custom mirrors can be added here or in separate files # - repositories listed first will take precedence when packages # have identical names, regardless of version number # - URLs will have $repo replaced by the name of the current repo # - URLs will have $arch replaced by the name of the architecture # # Repository entries are of the format: # [repo-name] # Server = ServerName # Include = IncludePath # # The header [repo-name] is crucial - it must be present and # uncommented to enable the repo. #
# The testing repositories are disabled by default. To enable, uncomment the # repo name header and Include lines. You can add preferred servers immediately # after the header, and they will be used before the default mirrors.
#[testing] #Include = /etc/pacman.d/mirrorlist
[core] Include = /etc/pacman.d/mirrorlist
[extra] Include = /etc/pacman.d/mirrorlist
#[community-testing] #Include = /etc/pacman.d/mirrorlist
[community] Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system, # enable the multilib repositories as required here.
#[multilib-testing] #Include = /etc/pacman.d/mirrorlist
[multilib] Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for # tips on creating your own repositories. #[custom] #SigLevel = Optional TrustAll #Server = file:///home/custompkgs
[archlinuxfr] SigLevel = Never Server = http://repo.archlinux.fr/$arch
тут репы blackarch
blackarch предназначен для пентеста , отличается от унылого kali
На этом все , спасибо за вимание !
http://mirror.datacenter.by/pub/archlinux/iso/2016.01.01/
2.После того как скачали записываем образ arch-a sudo dd bs=512M if=полный путь до образа арчлинукс of=/dev/sdX
Записали бля наконец то!!!!
3.После того как записали ребутнёмся и жмякаем F7 выбираем нашу флешку.
4.Разбиваем диск через cfdisk(на предложение использовать таблицы выбираем dos):
Ставим флаг boot на загрузочный раздел
На swap ставим 1/4 от RAM
Форматируем разделы:
mkfs.ext4 /dev/sda1
mkswap /dev/sda2
Монтируем:
mount /dev/sda1 /mnt
Подключаем свап:
swapon /dev/sda2
Получаем базовые пакеты:
pacstrap -i /mnt base wget nano grub-bios xorg-server xorg-xinit xorg-server-utils mesa xterm gdm mate mate-utils caja pulseaudio xfce4-terminal pluma atril gpicview networkmanager libnm-gtk network-manager-applet networkmanager-pptp firefox iw xf86-video-ati xf86-video-intel xf86-video-vesa libsynaptics xf86-input-synaptics
Переключаемся на заготовку системы:
arch-chroot /mnt
Ставим загрузочник:
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
Ставим по умолчанию дисплейной менеджер:
systemctl enable gdm
Клиент dhcp:
systemctl enable dhcpcd
Менеджер сети:
systemctl enable NetworkManager
Настройка локалей:
nano /etc/locale.gen:
Удалить шарп(#) перед ru_RU.UTF-8 и en_US.UTF-8
nano /etc/locale.conf
LANG=ru_RU.UTF-8
LC_MESSAGES=ru_RU.UTF-8
сохраняемся ctr+o выходим ctr+x
/etc/vconsole.conf
LOCALE="ru_RU.UTF-8"
KEYMAP="ru" # Или ru-mab для раскладки с переключением по Ctrl-Shift
FONT="ter-v16v" # Можно поэкспериментировать с другими шрифтами ter-v* из /usr/share/kbd/consolefonts
CONSOLEMAP=""
sh-4.2# nano /etc/vconsole.conf
LOCALE="ru_RU.UTF-8"
KEYMAP="ru"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Moscow" #Ваша временная зона
FONT="cyr-sun16"
CONSOLEFONT="cyr-sun16"
CONSOLEMAP=""
Генерим локаль: locale-gen
5. Ставим пароль:
passwd
6. Создаём обычного пользователя:
Используем для этого useradd -m **имя**
7. exit
8. reboot (достаём флешку,диск)
9. Видим серый экран типа нет в системе или как то так,кликаем на него (нет в системе)пишем root,жмем enter,пишем пароль,кликаем на шестеренку выбираем mate,кликаем вход.
10. Теперь у вас arch стоит на компе !
11. Открываем терминал пишем следущее:
curl -O https://blackarch.org/strap.sh && sha1sum strap.sh
12. потом следущее : bash ./strap.sh
13. далее пишем pacman -S blackarch
13а. Соглашаемся везде жмем ENTER
14. ЖДЁМ часика полтора два(зависит от инета)
15. После этого радуемся установленному blackarch
16. У кого будут выпадать ошибки после установке добавляем ключик --force.
P.S.: У кого будут сыпаться всё равно ошибки меняем pacman.conf:
nano /etc/pacman.conf
# # /etc/pacman.conf # # See the pacman.conf(5) manpage for option and repository directives
# # GENERAL OPTIONS # [options] # The following paths are commented out with their default values listed. # If you wish to use different paths, uncomment and update the paths. #RootDir = / #DBPath = /var/lib/pacman/ #CacheDir = /var/cache/pacman/pkg/ #LogFile = /var/log/pacman.log #GPGDir = /etc/pacman.d/gnupg/ HoldPkg = pacman glibc #XferCommand = /usr/bin/curl -C - -f %u > %o #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #CleanMethod = KeepInstalled #UseDelta = 0.7 Architecture = x86_64
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup #IgnorePkg = #IgnoreGroup =
#NoUpgrade = #NoExtract =
# Misc options #UseSyslog Color TotalDownload CheckSpace VerbosePkgLists ILoveCandy
# By default, pacman accepts packages signed by keys that its local keyring # trusts (see pacman-key and its man page), as well as unsigned packages. SigLevel = Required DatabaseOptional LocalFileSigLevel = Optional #RemoteFileSigLevel = Required
# NOTE: You must run 'pacman-key --init' before first using pacman; the local # keyring can then be populated with the keys of all official Arch Linux # packagers with 'pacman-key --populate archlinux'.
# # REPOSITORIES # - can be defined here or included from another file # - pacman will search repositories in the order defined here # - local/custom mirrors can be added here or in separate files # - repositories listed first will take precedence when packages # have identical names, regardless of version number # - URLs will have $repo replaced by the name of the current repo # - URLs will have $arch replaced by the name of the architecture # # Repository entries are of the format: # [repo-name] # Server = ServerName # Include = IncludePath # # The header [repo-name] is crucial - it must be present and # uncommented to enable the repo. #
# The testing repositories are disabled by default. To enable, uncomment the # repo name header and Include lines. You can add preferred servers immediately # after the header, and they will be used before the default mirrors.
#[testing] #Include = /etc/pacman.d/mirrorlist
[core] Include = /etc/pacman.d/mirrorlist
[extra] Include = /etc/pacman.d/mirrorlist
#[community-testing] #Include = /etc/pacman.d/mirrorlist
[community] Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system, # enable the multilib repositories as required here.
#[multilib-testing] #Include = /etc/pacman.d/mirrorlist
[multilib] Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for # tips on creating your own repositories. #[custom] #SigLevel = Optional TrustAll #Server = file:///home/custompkgs
[archlinuxfr] SigLevel = Never Server = http://repo.archlinux.fr/$arch
тут репы blackarch
blackarch предназначен для пентеста , отличается от унылого kali
На этом все , спасибо за вимание !