Arch: Configurations

the original purpose is to show the steps needed to setup i3 in vbox.. easy.

alright, it is a bit miserable..

first install i3.. and xorg-init.. of course xorg-utils, xorg-server-utils, xorg-server-x11.. and some pkts I donot remember..

then modify ~/.xinitrc , chmod a+rw ~/.Xauthority

  • shouldnot use the .xinitrc given in /etc/X11/xinit/.xinitrc or whatever else.. use the empty file might work, just add exec i3.. done
  • or maybe .. the following setting ..
    #! /bin/sh
    userresources=$HOME/.Xresources
    usermodmap=$HOME/.Xmodmap
    sysresources=/etc/X11/xinit/.Xresources
    sysmodmap=/etc/X11/xinit/.Xmodmap
    exec i3

no use at all..

because Vbox needs dkms..

install it by pacman -Syy virtualbox-guest-utils..

and of course that is not all..

instsall the newest linux headers by pacman..

..

--------------------------------------------------------------original----------over------------

now is the arch's general setup of more advanced tools.

adding to pacman.conf:..

[archlinuxcn]

SigLevel = OptionalTrustedOnly

Server = https://repo.archlinuxcn.org/$arch

then can use yaourt..

 

the all in one statement for configuration after installation of arch:

pacman -Syu && pacman -Syy xorg xorg-xinit docker python python2 cscope vim cmake make automake i3 git w3m ttf-droid gcc urxvt-unicode openssh sudo linux-headers bash-completion sysstat pandoc lua ctags tmux dos2unix xv evince hexedit man-pages net-tools
pacman -S virtualbox-guest-utils virtualbox-guest-dkms
pacman -S virtualbox-guest-modules-arch

 

after days of using arch, rolling meet the problem like: gnupg key check-sum not correct, need to update gnupg key by:

# pacman-key --init (not sure.

pacman-key --refresh-keys

 

Arch Network Setup:

vim /etc/systemd/network/enp0s3.network

# Following are contents in enp0s3.network:
[Match]
Name=enp0s3

[Network]
Address=10.0.5.15/24
Gateway=10.0.5.1
NTP=time.nist.gov
# End of file enp0s3.network

systemctl restart systemd-network

 -------------now is about cleanning arch disk space----

Arch has a dir called /var/cache, in which all removed/installed packages are backed up here. After a long time, it grows very large. To clean it, delete this folder is usually okay. But a more formal way is to use pacman to remove obsoleted package installer by:

pacman -Scc

-----------now is about multi-connection downloading pkg with pacman and parallel downloading pkgs--- 

Quote from here and here. (aria2 download might be error-prone?)

# /etc/pacman.conf: 
XferCommand = /usr/bin/aria2c --allow-overwrite=true --continue=true --file-allocation=none --log-level=error --max-tries=2 --max-connection-per-server=2 --max-file-not-found=5 --min-split-size=5M --no-conf --remote-time=true --summary-interval=60 --timeout=5 --dir=/ --out %o %u

powerpill also uses aria2c

After some test, it seems update with original settings is quicklier, but installation multiple packages using powerpill is quicklier. So suggest install powerpill only without modifying the above pacman.conf.

---------------------------------------------------------

Following is OSX installation..

Install OSX in esxi, first need to unlock the esxi machine with unlock.

then insert the cdr image, rename it to iso... and boot up as normal..

Installing Mac OS X full screen..

According to this. Change into file /vmfs/volumes/.../vm/name.vmx:

svga.vramSize = 20971520
svga.maxWidth = 2560
svga.maxHeight = 2048

According to this, and VMtool release nots:

In order to increase display performance, we need the a vmtool installation. Download the OS X compress tar-ball and decompress, get the darwin.iso into esxi, and insert and reboot vm. Then install the vmtool in vm from CD.

In order to spoof Mac OS X, need to follow this article.

Things need to take into count: machine type, ethernet address, processor, etc..

转载于:https://www.cnblogs.com/sansna/p/5719615.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值