#########I will continuously update the content of the article, please look forward to it#########
How to put it, I just think Kali is terrible, I would rather learn a little on Arch and don't want to waste time on Kali. As the founder of anderax said, according to anderax, Kali official is very dark, the following is a quote from anderax official message: Yesterday we noticed that Offensive Security sent a statement to gitlab to request the deletion of our project. We know that the Offensive Security team is just a group of brainless children with weak development capabilities. They know that they can't win in the battle of operating systems, so they try to stop us in any way! Our project has been deleted. Gilab (open source traitor) accepted dirty money and deleted the ANDRAX project. We are migrating to another platform, and everything will be normalized in a few hours. If they want to fight, then come on!

I don't know why I keep mentioning this, I often encounter crashes with Kali in my daily work. Later, I encountered a problem with my virtual machine, vt-x, which is that the CPU suddenly has an issue, Kali can't be opened. At first, I thought my CPU was broken, but later I found that other virtual machines could start normally, but not Kali....... And the snapshot recovery still couldn't start. Next is the issue with software packages, Kali penetration tools are definitely not as many as blackarch, including development tools. When I was configuring some things before, I had to run on Ubuntu. In short, I personally don't like Kali much
Then let's talk about the disadvantages of blackarch, this system is a bit complex in operation, unlike Kali which is simple, a lot of things need to be solved by yourself, especially the pacman software package installation, ..., etc.
Install the blackarch graphical interface
https://mirrors.ustc.edu.cn/blackarch/iso/blackarch-linux-netinst-2021.09.01-x86_64.iso
You can also go to the official website, the graphical interface installation is nothing special to say
You can safely install Chinese without worrying about garbled characters.
Networking
dhcpcd ens33, for the virtual machine
Time
timedatectl set-ntp true
Resolution
I didn't encounter 1600X900 when using the virtual machine, but we can add it manually
Modify the screen resolution using the xrandr command
The computer is connected to a 23-inch monitor with a resolution of 1920*1080.
Operating System: archlinux 6.5
Today, when selecting the resolution of the external screen through Setting->Displays, it was found that the maximum is only 1024×768, and the external screen displays 'Unknown Displays', f***ed it up.....
Solution
The solution is mainly to set a 1920*1080 option for this 'Unknown Displays', and the following uses the xrandr command to implement it.
First, check the supported resolutions of the two screens
Enter xrandr in the terminal:
Executexrandr
Screen 0: minimum 8 x 8, current 1366 x 1536, maximum 32767 x
32767 LVDS1 connected primary 1366x768+0+768 (normal left inverted right
x axis y axis) 290mm x 160mm 1366x768 60.02*+ 40.01 1280x720 59.86
60.00 59.74 1024x768 60.00 1024x576 60.00 59.90 59.82 960x540 60.00
59.63 59.82 800x600 60.32 56.25 864x486 60.00 59.92 59.57 640x480 59.94
720x405 59.51 60.00 58.99 680x384 60.00 640x360 59.84 59.32 60.00 DP1
disconnected (normal left inverted right x axis y axis) DP2 disconnected
(normal left inverted right x axis y axis) DP3 disconnected (normal
left inverted right x axis y axis) HDMI1 disconnected (normal left
inverted right x axis y axis) HDMI2 disconnected (normal left inverted
right x axis y axis) HDMI3 disconnected (normal left inverted right x
axis y axis) VGA1 connected 1024x768+188+0 (normal left inverted right x
axis y axis) 0mm x 0mm 1024x768 60.00* 800x600 60.32 56.25 848x480
60.00 640x480 59.94 VIRTUAL1 disconnected (normal left inverted right x
axis y axis)
The above shows two screen resolution options, and the * marked is the current screen resolution
Here are several interfaces displayed: eDP1, DP1, HDMI1, DP2, HDMI2, VIRTUAL1, but only eDP1 and DP2 are connected, and DP2 corresponds to our external screen (this value will be used later!)
Use cvt to create a new modeline
The code is as follows:
Executecvt 1920 1080
1. Then, two lines of content will be returned on the screen. Assign all the content after 'Modeline' in the second line, and connect it to the following xrandr --newmode:
Executexrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
Executexrandr --addmode VGA1 "1920x1080_60.00"
Among them, 'VGA1' refers to the external port shown above, and the name of the unused interface may be different. Take the display result of xrandr as the standard.
After that, go to Setting->Displays, and find that the resolution of the 'Unknown Display' now has the option '1920x1080'. Select it and Apply.
There will be a problem, and the restart will not save
Source
Open /etc/pacman.d and pacman.conf to configure the sources, remove comments, and select the Chinese source
Uncomment and trust all software packages!!! Hahahaha!!!!!!!
vm-tool
1. Install VMware Tools
1. Install VMware Tools
pacman -S open-vm-tools open-vm-tools
2. Install gtkmmpacman -S gtkmm
3. Repair the 60-second BUG in Tools
vim /usr/lib/systemd/system/vmtoolsd.service
Add a line after [service] item KillSignal=SIGKILL
4. Make vmware tools start up automatically
cat /proc/version > /etc/arch-release systemctl start vmtoolsd systemctl enable vmtoolsd5. Restart, select View->Auto Resize on the virtual machine operation panel.
pacman -Syu upgrade
I am really tired of it day by day
The system has been unable to update, unable to trust the package
pacman -Sy blackarch-keyring archlinux-keyring and then your package installation will be normal, remember
pacman -Sy blackarch-keyring archlinux-keyring && pacman -Su to update the key while upgrading the system
Then my personal suggestion is, after installing all the tools with pacman -S blackarch, go ahead and install others. Because this will have a little problem with the dependency packages
If it still doesn't work, you can try the following to solve the problem of being unable to install software packages
1. First update the key, if archlinux-keyring is not installed, please install it in time, pacman -S archlinux-keyring
sudo pacman-key --refresh-keys
2. Reload the corresponding signature key
sudo pacman-key --init sudo pacman-key --populate
3. Clear pacman's cache files
sudo pacman -Scc
4. Update or install the system
sudo pacman -Syu
etc. Here pacman -Syu,
Including when you execute pacman -S blackarch, that is, when you install all blackarch tools, the following will occur
Error: Unable to prepare transaction (Unable to satisfy dependencies)
:: Install xxx breaks the dependency 'xxx' (xxx needs)
:: Install xxx breaks the dependency 'xxx' (xxx needs)
What should we do then
You can solve it by executing the following command at this time (the two xxx refers to the corresponding"xxx needs"
)
sudo pacman -Rdd xxx xxx && sudo pacman -Syu
Of course, if you are pacman -S blackarch, it issudo pacman -Rdd xxx xxx && sudo pacman -S blacakrch
然后在上面问你是否删除xx时选y,然后下载途中有时候会段,没关系,是你网不好,继续,接着奏乐接着舞===============================
冲突
错误:无法提交处理 (有冲突的文件)
db5.3: 文件系统中存在 /usr/lib/libdb-5.3.so (由 db 所有)
db5.3: 文件系统中存在 /usr/lib/libdb-5.so (由 db 所有)
db5.3: 文件系统中存在 /usr/lib/libdb_cxx-5.3.so (由 db 所有)
db5.3: 文件系统中存在 /usr/lib/libdb_cxx-5.so (由 db 所有)
db5.3: 文件系统中存在 /usr/lib/libdb_stl-5.3.so (由 db 所有)
db5.3: 文件系统中存在 /usr/lib/libdb_stl-5.so (由 db 所有)
python-httpx: 文件系统中存在 /usr/bin/httpx (由 httpx 所有)
发生错误,没有软件包被更新。
[ FhoeniX42S ~ ]# rm -rf /usr/lib/libdb-5.3.so
[ FhoeniX42S ~ ]# rm -rf /usr/lib/libdb-5.so
[ FhoeniX42S ~ ]# rm -rf /usr/lib/libdb_cxx-5.3.so
[ FhoeniX42S ~ ]# rm -rf /usr/lib/libdb_cxx-5.so
[ FhoeniX42S ~ ]# rm -rf /usr/lib/libdb_stl-5.3.so
[ FhoeniX42S ~ ]# rm -rf /usr/lib/libdb_stl-5.so
[ FhoeniX42S ~ ]# rm -rf /usr/bin/httpx
[ FhoeniX42S ~ ]#
其他
那个,你vm-tools怎么安装呢?pacman 或者>虚拟机>安装vmtool
默认用户名root,密码blackarch,没了,拜
实体机教程准备中。。。。。。。。。。。。。。。。。。。。。

评论已关闭