in addition to后面加什么词

in addition to后面加什么词,第1张

in addition to后面加动名词,因为TO在这里是作为介词;

in addition to

另外,加之,除…之外(还);

addition

n.b加加法增加物添加物增加添加;

复数: additions扩展资料

In addition to my weekly wage, I got a lot of tips.

除了每周的薪水外,我还能得到不少小费。

There's a postage and packing fee in addition to the repair charge.

除修理费之外还有邮寄和包装费。

In addition to the 81 positive comments, 26 students had neutral, mixed, negative or off topic views.

除了81条正面评价之外,有26位学生的观点或中立,或褒贬参半,或负面,甚或跑了题。

In addition to the killed and wounded, many were missing.

除了伤亡之外,还有许多人失踪。

1. 在物理机上安装好 ubuntu 系统,在此系统上安装 virtualbox

2. 下载一个需要的 ubuntu 版本的 ISO 镜像

3. 创建一个新的虚拟机

给虚拟机取一个名字 “develop”

确保分配足够的磁盘空间给虚拟机,我给了 20GB

确保默认的内存也不用太高,给 512M 即可,后续可以再调整

确保网络控制器设置程 NAT 模式,wield了端口转发正常工作(注意:这个是非常重要的一点)

4. 启动虚拟机,安装 ubuntu,确保配置如下(非强制的要求,如果打算分发该 box,建议还是按照如下的步骤来 *** 作)

Hostname:develop

Domain: vagrantup.com

Root Password: vagrant

Main account login: vagrant

Main account password: vagrant

5.安装完毕后,进入虚拟机

6.根据自己需要,安装一些常用软件

sudo apt-get -y install vim

7.创建admin组

sudo groupadd admin

8.添加vagrant用户到admin组

sudo usermod -G admin vagrant

9.修改sudoers文件

sudo vim /etc/sudoers #添加或修改如下行(有些发行版还需Disable requiretty):

Defaults env_keep="SSH_AUTH_SOCK"

%admin ALL=NOPASSWD: ALL

10.安装puppet(chef没有计划装进去,如需要可安装ruby,rubygems,chef)

sudo apt-get install puppet puppetmaster

11.安装ssh

sudo apt-get install openssh-server

12.安装vagrant的public keys

mkdir ~/.ssh/

cd ~/.ssh

wget http://github.com/mitchellh/vagrant/raw/master/keys/vagrant

wget http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub

mv vagrant.pub authorized_keys

13.Install virtual box guest additions(为了共享文件夹,端口转发等)

(1) First, build the necessary packages. You may have to look these up

for your system, but they should be fairly similar. On Ubuntu and

Debian based systems they are as follows:

$ sudo apt-get install linux-headers-$(uname -r) build-essential

(2) Next, make sure to insert the guest additions image by using the

GUI and clicking on “Devices” followed by “Install Guest Additions.”.

Then run the following to mount the CD Rom:

$ sudo mount /dev/cdrom /media/cdrom

(3) And finally, run the shell script which matches your system. For linux on x86, it is the following:

$ sudo sh /media/cdrom/VBoxLinuxAdditions.run

If you didn’t install a Desktop environment when you installed the

operating system, as recommended to reduce size, the install of the

VirtualBox additions should warn you about the lack of OpenGL or Window

System Drivers, but you can safely ignore this.

14.清除缓存

sudo apt-get clean

15.关闭虚拟机,进入virtual box directory(~/VirtualBox VM/develop)

vagrant package --output develop.box --base develop


欢迎分享,转载请注明来源:内存溢出

原文地址: https://www.outofmemory.cn/bake/11392822.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-15
下一篇 2023-05-15

发表评论

登录后才能评论

评论列表(0条)

保存