今天又重装了一遍Ubuntu,真是越来越开心了呢^.^
(淦)
这次安装的Ubuntu16.04的环境,镜像在阿里云开源镜像站获得,然后正常安装
可能需要的一些东西
换源
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
如果虚拟机不能用校园网
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系统为例。
先查找 xxx.h 所在路径:
$ sudo find / -name xxx.h
/usr/local/include/xxx/xxx.h
然后用-I选项把目录加上编译:
$ gcc test.c -o test -I /usr/local/include/xxx
不能复制粘贴
sudo apt-get autoremove open-vm-tools
sudo apt-get install open-vm-tools-desktop
reboot