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
- #! /bin/sh
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/
- 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= --max-connection-per-server= --max-file-not-found= --min-split-size=5M --no-conf --remote-time=true --summary-interval= --timeout= --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 =
- svga.maxWidth =
- svga.maxHeight =
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..
Arch: Configurations的更多相关文章
- Caused by: java.lang.Exception: No native library is found for os.name=Mac and os.arch=aarch64. path=/org/sqlite/native/Mac/aarch64
编译项目报错: Caused by: java.lang.Exception: No native library is found for os.name=Mac and os.arch=aarch ...
- archlinux安裝手记(Win10+Arch、GPT+UEFI、lvm)
准备工具和设置制作启动盘连接网络硬盘分区规划分区LVM方案创建文件系统分区挂载激活lvm2钩子基础安装和配置配置镜像源基础系统安装fstab进入系统initramfs引导程序网络搭建使用环境用户管理用 ...
- Package Configurations的使用示例
SSIS提供Package Configurations功能,能够动态修改配置数据,使package执行不同的变量,从不同的connection中获取数据,而这些变化,不需要修改Package,不需要 ...
- Arch Linux 安装博通 BCM4360 驱动(Arch Linux, Ubuntu, Debian, Fedora...)
BCM4360 在2010年9月,博通完全开源的硬件驱动[1].该驱动程序 brcm80211已被列入到自2.6.37之后的内核中.随着2.6.39发布,这些驱动程序已被重新命名为 brcmsmac和 ...
- Arch Linux中文乱码解决
Arch Linux中文乱码解决 1.安装中文字体 pacman -S wqy-zenhei ttf-fireflysung (flash乱码) ---乱码的原因就是缺少中文字体的支持,下载文泉驿 ...
- SQL Server Analysis Services SSAS Processing Error Configurations
转载:https://www.mssqltips.com/sqlservertip/3476/sql-server-analysis-services-ssas-processing-error-co ...
- Arch Linux 简易打包指南
本文时代久远,请参阅更可靠的:Arch User Repository (简体中文) - 分享和维护软件包 这两天给 Kreogist µ 打 Arch Linux 包,照着 wiki 跟着搞,同时在 ...
- arch 安装图形界面
图形界面的安装.--- 引导: .显卡驱动,这里我们是集成显卡,根据wiki提示安装xf86-video-intel .安装xorg-server,xorg-server-utils,xorg-xin ...
- arch linux 安装 之 ---GPT--引导篇
新入一二手X240 ,直接格式化,装archLinux. 一.引导程序安装--------------- 1.首先搞清楚什么是UEFI Under UEFI下的引导顺序 System switched ...
随机推荐
- 1.MyBaits无代理全套增删改
一.mybatis使用的准备工作 1.找到mybatis所需要的jar文件: mybatis-3.2.3.jar mybatis-spring-1.2.1.jar 2.解压mybatis-3.2.3. ...
- zookeeper(1)
参考文档:zookeeper中文网 一.介绍安装 zookeeper 是一个高效的分布式协调服务,它暴露了一些公用服务,比如命名/配置/同步控制/群组服务等.我们可以使用ZK来实现一些功能,例如:达成 ...
- tar的打包-压缩与解压缩,并解压到指定的目录
tar在linux上是常用的打包.压缩.加压缩工具,他的参数很多,折里仅仅列举常用的压缩与解压缩参数 参数: -c :create 建立压缩档案的参数:-x : 解压缩压缩档案的参数:-z : 是否需 ...
- Gentoo本地化设置--Locale系统介绍
locale是什么? 一份Locale是一组信息的集合,大多数程序利用它来确定特定的国家和语言设置.这些locale以及它们包含的数据是系统库的一部分,可以在大多数系统中的/usr/share/loc ...
- spring实现读写分离
(转自:http://www.cnblogs.com/surge/p/3582248.html) 现在大型的电子商务系统,在数据库层面大都采用读写分离技术,就是一个Master数据库,多个Slave数 ...
- Ubuntu11.10 E: Unable to locate package ubuntu-restricted-extras
最近在ubuntu11.10下安装支持多媒体播放的插件时遇到一些问题,在此小记一下. 首先是ubuntu11.10的安装,基本上是一键安装,在此不细说. 1.此版本和以前使用的ubuntu版本风格不太 ...
- Spring 表单提交,后台自动封装有集合对象的对象
from表单: <form action="${pageContext.request.contextPath}/vote/save" method="post&q ...
- void与void*详解
void关键字的使用规则: 1. 如果函数没有返回值,那么应声明为void类型: 2. 如果函数无参数,那么应声明其参数为void: 3. 如果函数的参数可以是任意类型指针,那么应声明其参数为void ...
- POJ 1696 Space Ant 极角排序(叉积的应用)
题目大意:给出n个点的编号和坐标,按逆时针方向连接着n个点,按连接的先后顺序输出每个点的编号. 题目思路:Cross(a,b)表示a,b的叉积,若小于0:a在b的逆时针方向,若大于0a在b的顺时针方向 ...
- php 分页类(2)
<?phpinclude("connection.php");$perNumber=10; //每页显示的记录数$page=$_GET['page']; //获得当前的页面值 ...