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/
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 ...
随机推荐
- mysql 登录中用户管理
管理员账号 root 新增普通用户 修改root密码
- js技巧之this,call,apply
具体到实际应用中,this的指向又可以分为以下四种: 作为对象的方法调用 作为普通函数调用 构造器调用 apply和call调用 接下来我们去剖析前3点,至于第4点的apply和call调用,会在ca ...
- JAVASCRIPT 框架>>
jQuery jQueryjQuery 是目前最受欢迎的 JavaScript 框架 jQuery 是为处理 HTML 事件而特别设计的<script type="text/javas ...
- LeetCode OJ 4. Median of Two Sorted Arrays
There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two ...
- [ An Ac a Day ^_^ ] CodeForces 426C Sereja and Swaps 优先队列
题意: 给你一个有n个数的序列 取一个区间 这个区间内的数可以与区间外的值交换k次 问这样的区间最大值是多少 思路: 看数据是200 时间复杂度O(n*n) 应该可以暴力 顺便学习一下优先队列 枚举区 ...
- [ An Ac a Day ^_^ ] CodeForces 659D Bicycle Race 计算几何 叉积
问有多少个点在多边形内 求一遍叉积 小于零计数就好了~ #include<stdio.h> #include<iostream> #include<algorithm&g ...
- 经典dp 编辑距离
给定两个字符串S和T,对于T我们可以进行三种操作 (1)在任意位置增加字符 (2)删除字符 (3)替换字符 问最少多少次能把T变成S? 设f(i,j)是S的前i位和T的前j位对齐的最小花费 接下来分析 ...
- 第2章 熟悉Eclipse开发工具---- System.out.println("sum="+(a+b));
- Foundations of Computer Science
1, Iteration, Induction and Recursion 2, the running time of program 3, combinatorics and probabilit ...
- iostextField文本框基本使用
(1)可以根据需要设置文本框的样式(包括形状.边框颜色.背景等). (2)可以根据需要设置文字显示样式(包括输入密码时的密文显示.文字横向居中.纵向居中上下.输入的文字是否首席木大写.文字超过后是否缩 ...