今天又重裝了一遍Ubuntu兵琳,真是越來越開心了呢^.^
(淦)
這次安裝的Ubuntu16.04的環(huán)境节猿,鏡像在阿里云開源鏡像站獲得却嗡,然后正常安裝
可能需要的一些東西
換源
16.04
deb http://mirrors.aliyun.com/ubuntu/ xenial main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security universe
20.04
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
peda
git clone https://github.com/longld/peda.git ~/peda
echo "source ~/peda/peda.py">> ~/.gdbinit
pwndbg
git clone https://github.com/pwndbg/pwndbg
cd pwndbg
./setup.sh
attifyos
git clone https://github.com/adi0x90/attifyos
如果虛擬機(jī)不能用校園網(wǎng)
https://blog.csdn.net/weixin_41146545/article/details/83243798
安裝oh-my-zsh
sudo apt-get install zsh
chsh -s /bin/zsh
reboot
wget 47.93.11.51:88/install_zsh.sh
bash install_zsh.sh
//如果文件失效,在我GitHub的pre倉庫里有
開啟22端口
sudo apt-get install openssh-server openssh-client
service ssh start
flash
sudo apt-get install flashplugin-installer
Linux編譯程序時如果找不到頭文件會提示如下錯誤:
$ gcc test.c -o test?
test.c:9:16: fatal error: xxx.h: No such file or directory?
#include?<xxx.h>
下面敘述以Ubuntu系統(tǒng)為例席函。?
先查找 xxx.h 所在路徑:?
$ sudo find / -name xxx.h?
/usr/local/include/xxx/xxx.h?
然后用-I選項把目錄加上編譯:?
$ gcc test.c -o test -I /usr/local/include/xxx?
不能復(fù)制粘貼
sudo apt-get autoremove open-vm-tools
sudo apt-get install open-vm-tools-desktop
reboot