新聞中心
在現(xiàn)今的計算機領(lǐng)域,網(wǎng)絡(luò)安全問題已經(jīng)越來越受到重視。作為一個安全從業(yè)者,擁有一套開源的網(wǎng)絡(luò)安全操作系統(tǒng)是非常必要的。而Kalilinux就是一個非常優(yōu)秀的選擇,它不僅在內(nèi)核方面進行了優(yōu)化,還集成了大量的網(wǎng)絡(luò)安全工具,以便安全團隊對系統(tǒng)進行侵入測試、數(shù)據(jù)挖掘等相關(guān)工作。

成都創(chuàng)新互聯(lián)公司長期為超過千家客戶提供的網(wǎng)站建設(shè)服務(wù),團隊從業(yè)經(jīng)驗10年,關(guān)注不同地域、不同群體,并針對不同對象提供差異化的產(chǎn)品和服務(wù);打造開放共贏平臺,與合作伙伴共同營造健康的互聯(lián)網(wǎng)生態(tài)環(huán)境。為南海企業(yè)提供專業(yè)的成都做網(wǎng)站、成都網(wǎng)站制作,南海網(wǎng)站改版等技術(shù)服務(wù)。擁有10年豐富建站經(jīng)驗和眾多成功案例,為您定制開發(fā)。
雖然我們可以通過虛擬機、WinPE等方式安裝Kalilinux進行使用,但是一個獨立的系統(tǒng)會讓您更加的放心,而為了滿足這一需求,我們需要在電腦上安裝雙系統(tǒng)。本文將為您提供一份詳細(xì)的Kalilinux分區(qū)設(shè)置教程,讓您輕松開啟網(wǎng)絡(luò)安全測試之旅。
1. 準(zhǔn)備工作
為了保障安裝的順利進行,我們需要先完成一些必要的準(zhǔn)備工作:
1.1 確認(rèn)系統(tǒng)分區(qū)
一個默認(rèn)的Windows操作系統(tǒng),硬盤分區(qū)至少是 D: 和 C:。如果您的系統(tǒng)分區(qū)比較特殊,那么確保您知道每個分區(qū)是什么。如果您的硬盤是全新的,那就在前期中會給新硬盤進行分區(qū),否則請再次確認(rèn)當(dāng)前磁盤的情況。
1.2 下載并制作Kalilinux安裝盤
這個很重要,如果沒有這一步,您不可能開始安裝系統(tǒng)。您可以從Kalilinux官網(wǎng)(https://www.kali.org/downloads/)下載適合您電腦的版本,然后下載Linux Live USB Creator,以便您將這個文件拷貝到U盤上,以便于之后的安裝。您也可以使用其他的制作U盤啟動盤的軟件。
1.3 備份數(shù)據(jù)
安裝操作系統(tǒng)意味著格式化硬盤.U盤等,這意味著您的磁盤和U盤中的所有數(shù)據(jù)都將丟失。因此,如果您的Windows硬盤上還有一些重要的文件,**請備份文件到外部設(shè)備或進行云端備份。
2. 安裝準(zhǔn)備
2.1 格式化空間
您需要在硬盤上為Kali Linux分配一個空閑的磁盤區(qū)域。根據(jù)您的實際需求,您可以在D,C或E等分區(qū)上為Kali Linux劃分一個可用的磁盤空間
打開Windows系統(tǒng),打開“計算機管理”選項卡。在這個選項卡中,你會看到“磁盤管理器”這個選項。選擇它并等待它載入信息。比如同時需要在 C: 中減少空間,并在 D: 中增加一些空間以供Kali使用。
2.2 系統(tǒng)調(diào)整
為了保障系統(tǒng)響應(yīng)速度,以及不占用多余的系統(tǒng)資源,我們需要進行一些系統(tǒng)優(yōu)化和調(diào)整
2.2.1 磁盤清理
在Windows選項卡中,右鍵選擇C盤,選擇“性能”選項卡中的“磁盤清理”選項,然后等待系統(tǒng)數(shù)字化過程的啟動,直到它詢問您的哪些文件/文件夾需要被清除。
2.2.2 禁用開機啟動項
在調(diào)整管理器中,單擊“啟動”選項卡,可以查看在Windows系統(tǒng)啟動過程中每個應(yīng)用程序所需的時間和資源。從這個列表中,您可以知道哪個軟件啟動效果較慢,會占用系統(tǒng)資源,并選擇禁用。
2.2.3 禁用快速啟動
在如下路徑下依次點擊:控制面板,電源選項,選擇“更改電源設(shè)置”之后展開“選項”,選擇“更改不可用的設(shè)置”,最終取消勾選“快速啟動”。
2.3 開始安裝
把Kalilinux U盤插入電腦,重啟,然后從U盤啟動,接著會提示您進行“Live或者Install”安裝方式選擇,我們在此選擇“Graphical Install”方式,然后選擇默認(rèn)的安裝選項即可,作為一名非常有經(jīng)驗的用戶,您也可以自定義高級安裝。
3. 分區(qū)設(shè)置
在安裝過程中,等到所有的軟件都安裝完畢后,直接跳轉(zhuǎn)到分區(qū)界面,在這里,您需要進行一些具體的設(shè)置。
3.1 創(chuàng)建Kali Linux的根目錄
在“分區(qū)磁盤”選項中,選擇“手動”,它會顯示您計算機中的所有磁盤。在這個選項卡中,您可以選擇要給Kali Linux創(chuàng)建的新分區(qū),我們選擇’sda‘,它是安裝Windows的硬盤。
然后,可以看到“未使用”的空間,它是我們在Windows中為了安裝Kali Linux而留下的。我們要把它分為兩個區(qū):一個是Kali Linux的根目錄,另一個是交換文件。
單擊“新增”按鈕,然后在新分區(qū)的“空間大小(MB)”字段中輸入磁盤大小,接著輸入類型,選擇“主分區(qū)”,在安裝的到時候,此分區(qū)僅僅為KaliLinux分配了相應(yīng)的磁盤空間。
選擇“/”(根目錄)作為默認(rèn)的安裝位置,并將其大小設(shè)為10000 MB,為您提供一個安全存儲代碼的空間。
3.2 創(chuàng)建交換空間
在上面我們看到了“新增”按鈕,單擊這項即可創(chuàng)建對應(yīng)的分區(qū)。在這里,您需要創(chuàng)建交換分區(qū)。
輸入分區(qū)大小,并選擇“LV”作為分區(qū)類型。將名稱設(shè)置為“Swap Area”,空間完成后,單擊“分區(qū)”或“完成”來保存設(shè)置和繼續(xù)。
4. 安裝
在完成分區(qū)的設(shè)置后,我們進入到了安裝階段。在選擇自己所在地區(qū)的時間和語言之后,進行一些基本信息的配置,并選擇安裝GRUB引導(dǎo)程序的設(shè)備(我們選擇 /dev/sda,該設(shè)備是安裝Windows的設(shè)備)。此處請確保您的安裝方式是基于UEFI啟動的。
5. 完成安裝
在安裝完成后,您初始密碼應(yīng)該是toor。完成后,您可以通過新的Kali新系統(tǒng)啟動了。
Kalilinux是一個非常優(yōu)秀的網(wǎng)絡(luò)安全操作系統(tǒng),您可以使用虛擬機、WinPE等方式安裝使用,但是將其安裝成為獨立的系統(tǒng),您將更加的放心。但是,在安裝的過程中,我們需要注意每一步細(xì)節(jié),以保障整個安裝過程的順利進行,特別是分區(qū)設(shè)置和調(diào)整系統(tǒng)等過程,我們都需要做到非常小心謹(jǐn)慎,以保障安全服務(wù)的進行。
相關(guān)問題拓展閱讀:
- 為Kali創(chuàng)建持久化分區(qū)
為Kali創(chuàng)建持久化分區(qū)
In this guide we are using the Kali Linux 64-Bit (Live) image, though it should work fine with the 32 Bit image as well. This guide also works with Kali Linux 2023 and Kali Linux 2023.
Write the ISO to your USB drive using a tool like
Universal USB Installer
or UNetbootin . In this guide we are using Universal USB Installer.
It may take a few minutes to write Kali Linux 2023 Live ISO to USB.
Now that your Kali Linux 2023 ISO has been written to your USB drive, we can begin setting up partitions to work with Kali Live Persistence. You can configure partitions with the partition manager of your choice, but in this guide we are going to use MiniTool Partition Wizard
When installing Partition Wizard, make sure to
uncheck
the checkbox on the Avast screen – you don’t need to install that.
Once installed, run and select
Disk and Partition Management.
Resize the partition to
4GB
and click
OK.
This is the partition where the Kali Linux system files reside and shouldn’t ever need more than 4GB.
We will now create the persistence partition, which will store your personal files and Kali settings.
Right-click
on the
Unallocated
partition and click
Create
.
Click
Yes
if you see a message “The new created partition cannot be used in Windows. Because Windows could only recognize the first partition on a removable disk. Do you want to continue?”
In the
File System
dropdown, select
EXT4
.
In the
Partition Label
field, enter
persistence
. It’s important that you spell this correctly.
Use the maximum partition size available (or the size of your choice) and click
OK
.
Finally, click
Apply
in the top left-hand corner and click
Yes
to apply changes.
The Partition Wizard will now set up your partitions. This may take some time depending on the size of your USB drive.
Once done, close Partition Wizard and safely eject your USB drive.
To boot from USB in most modern PCs, hold down the shift key while clicking
Restart
in the Windows start menu. If this doesn’t work, you may need to do some searching on how to boot from USB on your particular machine. Repeatedly pressing one of the function keys (
F12
,
F2
, etc) or the
ESC
or** Delete** keys on bootup will invoke the boot or BIOS menus on some machines.
In the Kali boot menu, select
Live system (persistence, check kali.org/prst)
and press
Enter
. The menu may look slighly different depending on your version of Kali.
Once Kali has booted, we will use fdisk to view the disk devices and partitions.
Open a new terminal window and run:
sudo fdisk -l
You will see several entries for partitions and devices listed. Look for your USB drive. It will have two partitions: A 4GB partition and a persistence partition you created earlier. The persistence partition should appear as
Linux
under the
Type
column.
In the above example, we can see the USB drive with a 4GB partition and a larger persistence partition with the device name sdb2 . This device name may be different on your setup. Make sure you have the right one before continuing.
Assuming your persistence partition device name is sdb2 , run the following commands.
IMPORTANT:
You must enter these commands exactly and ensure you choose the correct device (yours may not be sdb2 ), otherwise persistence will not work.
Create a new mount point called my_u .
sudo mkdir -p /mnt/my_u
Mount your USB persistence partition to my_u . Reminder: Your persistence partition may not be sdb2 , please ensure you mount the right one.
sudo mount /dev/sdb2 /mnt/my_u
Create a new file called persistence.conf using the nano text editor.
sudo nano /mnt/my_u/persistence.conf
In this file, type / union
/mnt/my_u/persistence.conf
/ union
Save the file and exit. (Press CTRL + X , press Y , then press ENTER ).
Now unmount your persistence partition. Reminder: Your persistence partition may not be sdb2 , please ensure you unmount the right one.
sudo umount /dev/sdb2
We’re done!
Restart the machine, boot from USB again, and from now on always select
Live system (persistence, check kali.org/prst)
To test if persistence is working correctly, try creating an empty test folder on the Desktop and restarting. Select
Live system (persistence, check kali.org/prst)
again and if the test folder is still there, persistence is working correctly.
kalilinux分區(qū)設(shè)置用于的介紹就聊到這里吧,感謝你花時間閱讀本站內(nèi)容,更多關(guān)于kalilinux分區(qū)設(shè)置用于,安裝雙系統(tǒng)必備:Kalilinux分區(qū)設(shè)置教程,為Kali創(chuàng)建持久化分區(qū)的信息別忘了在本站進行查找喔。
香港服務(wù)器選創(chuàng)新互聯(lián),2H2G首月10元開通。
創(chuàng)新互聯(lián)(www.cdcxhl.com)互聯(lián)網(wǎng)服務(wù)提供商,擁有超過10年的服務(wù)器租用、服務(wù)器托管、云服務(wù)器、虛擬主機、網(wǎng)站系統(tǒng)開發(fā)經(jīng)驗。專業(yè)提供云主機、虛擬主機、域名注冊、VPS主機、云服務(wù)器、香港云服務(wù)器、免備案服務(wù)器等。
網(wǎng)頁題目:安裝雙系統(tǒng)必備:Kalilinux分區(qū)設(shè)置教程(kalilinux分區(qū)設(shè)置用于)
文章位置:http://www.5511xx.com/article/ccicggh.html


咨詢
建站咨詢
