- 目录共享配置
- Samba配置 # samba配置后,仍然无法访问 # https://blog.csdn.net/Panda_YinLP/article/details/104687438 访问window共享目录 # sudo mount -t cifs -l //192.168.31.181/raspberry /media/pi/win TFTP配置 # https://linuxhint.com/install_tftp_server_ubuntu/ https://download.samba.org/pub/samba/ NFS挂载 # https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-ubuntu-20-04 将文件系统目录导出 # 解压文件系统 cd /usr/local/ti-sdk-am335x-evm-07.03.00.005/filesystem/ sudo mkdir tisdk-default-image-am335x-evm sudo tar -Jxf tisdk-default-image-am335x-evm.tar.xz -C tisdk-default-image-am335x-evm 修改/etc/exports增加NFS导出目录后,重新加载 # $ vi /etc/exports #增加以下内容 /usr/local/ti-sdk-am335x-evm-07.03.00.005/filesystem/tisdk-default-image-am335x-evm *(rw,nohide,insecure,no_subtree_check,async,no_root_squash) 使NFS目录生效 # $ sudo exportfs -a 查看NFS导出列表 # #查看NFS导出列表 $ showmount -e Export list for ubuntu: /usr/local/ti-sdk-am335x-evm-07.
- 系统代理和证书
- 系统代理 # vi ~/.profile export http_proxy='http://myproxy.example.com:1080/' export https_proxy='https://myproxy.example.com:1080/' export ftp_proxy='http://myproxy.example.com:1080/' export ALL_PROXY='socks://myproxy.example.com:1080/' export all_proxy='socks://myproxy.example.com:1080/' export no_proxy='example.com' $ sudo apt-get install socat $ wget http://git.yoctoproject.org/cgit/cgit.cgi/poky/plain/scripts/oe-git-proxy $ cp oe-git-proxy ~/bin $ chmod +x ~/bin/oe-git-proxy export GIT_PROXY_COMMAND="oe-git-proxy" export NO_PROXY=$no_proxy vi ~/.wgetrc https_proxy = http://socks.example.com:1080 http_proxy = http://socks.example.com:1080 ftp_proxy = http://socks.example.com:1080 no_proxy = example.com:1080;127.0.0.1 use_proxy = on https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy 透明代理 # https://blog.a1253247.info/2020/01/shadowsocks.html 代理转换 # /etc/polipo/config /etc/polipo/config systemctl status polipo www.
- 其它
- ubuntu扩容 # https://blog.csdn.net/qq_34160841/article/details/113058756 linux命令 # https://linuxtools-rst.readthedocs.io/zh_CN/latest/tool/ldd.html 安装armhf ubuntu # https://wiki.ubuntu.com/ARM/RaspberryPi
Ubuntu