Ubuntu安装后的一些设置

1 设置共享文件

apt-get install open-vm-tools-dkms

apt-get install open-vm-tools

虚拟机设置共享文件夹

vmhgfs-fuse .host:/shared /mnt/hgfs/shared/

自动挂载如下:

复制代码
  1 # /etc/fstab: static file system information.
  2 #
  3 # Use 'blkid' to print the universally unique identifier for a
  4 # device; this may be used with UUID= as a more robust way to name devices
  5 # that works even if disks are added and removed. See fstab(5).
  6 #
  7 # <file system> <mount point>   <type>  <options>       <dump>  <pass>
  8 # / was on /dev/sda1 during installation
  9 UUID=ec1fc3f5-923e-48f5-976a-d749bd1e2e00 /               ext4    errors=remount-ro 0       1
 10 # /home was on /dev/sda6 during installation
 11 UUID=6fb1764b-0da6-4dcb-870f-7eba79b95bdc /home           ext4    defaults        0       2
 12 # swap was on /dev/sda5 during installation
 13 UUID=0224755f-c499-4265-b87c-71c9a8c0620f none            swap    sw              0       0
 14 .host:/shared   /mnt/hgfs/shared    fuse.vmhgfs-fuse allow_other    0 0
复制代码

2 ubuntu make普通用户不补全

在编译OpenWRT单个模块时不易用:

/usr/share/bash-completion/completions 将make重命名为make.bak,或者将其上一级目录的bash_completion里的make删除

vim /usr/share/bash-completion/bash_completion
Line: 1810, add make command
search keywords: complete -F

3 一些常用的软件

apt-get install vim

apt-get install libc6:i386 libstdc++6:i386、

apt-get install build-essential

apt-get install subversion git

apt-get install python lua haserl

apt-get install openssh-server

apt-get install gcc g++ binutils patch bzip2 flex make gettext 

apt-get install pkg-config unzip zlib1g-dev libc6-dev subversion libncurses5-dev gawk

apt-get install sharutils curl libxml-parser-perl ocaml-nox ocaml-nox ocaml ocaml-findlib

apt-get install libpcre3-dev binutils-gold python-yaml 

apt-get install libssl-dev libfdt-dev

apt-get install device-tree-compiler u-boot-tools 

apt-get install virtualbox-guest-dkms

posted on   sudochen  阅读(180)  评论(0编辑  收藏  举报

编辑推荐:
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
历史上的今天:
2019-12-09 OpenWRT自动挂载支持
2019-12-09 OpenWRT内核编译流程

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示