博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Arch: Configurations
阅读量:7175 次
发布时间:2019-06-29

本文共 3769 字,大约阅读时间需要 12 分钟。

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/shuserresources=$HOME/.Xresourcesusermodmap=$HOME/.Xmodmapsysresources=/etc/X11/xinit/.Xresourcessysmodmap=/etc/X11/xinit/.Xmodmapexec 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/24Gateway=10.0.5.1NTP=time.nist.gov# End of file enp0s3.networksystemctl 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  and . (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 .

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

Installing Mac OS X full screen..

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

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

According to , 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 .

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

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

你可能感兴趣的文章
CORS 跨域
查看>>
kafka 单机配置
查看>>
redis maxheap 51200000
查看>>
jquery .On()绑定事件的触发机制
查看>>
jQuery EasyUI table表单数据绑定与数据交互
查看>>
使用PostThreadMessage在Win32线程间传递消息
查看>>
file_get_contents高級用法
查看>>
【温故知新】c#异步编程模型(APM)--使用委托进行异步编程
查看>>
实现301重定向常用的七种方法
查看>>
leetcode437
查看>>
leetcode974
查看>>
leetcode1099
查看>>
JAVA RPC(二)序列化协议杂谈
查看>>
jQuery中的文档处理
查看>>
JProfiler 8(一个很好的java性能监控工具) 下载和注册码
查看>>
微信小程序wx.chooseImage和wx.previewImage的综合使用(图片上传不限制最多张数)...
查看>>
SQL SERVER数据库日常使用总结
查看>>
搭建Nginx服务
查看>>
细解字符串长度
查看>>
html lable filedset
查看>>