ubuntu记录

ssh root@120.79.253.xxx  在Git bash中连接阿里云服务器

history命令调出之前使用过的命令

错误命令存放在 /var/log/apache2/error.log

 systemctl restart apache2重启apache2,sudo /ect/init.d/apache2 restart 也行

tail命令输出最后几行

例如tail error.log

Ubuntu PHP上传文件失败,原因可能在于权限问题。

 

切换到工作目录, 递归改变权限为全部用户可以读写改

make

insmod  hello.ko

dmsg

lsmod 查看

lsmod | grep hello  查看相应模块

原文地址:https://www.cnblogs.com/Esquecer/p/10968492.html