This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🕒 05-31 00:13:53 👉 ~/Shares/openresty-1.15.8.2rc0 $ ./configure --prefix=/home/justin/Apps/openresty --with-luajit-ldflags='-lc++abi -lpthread' < | |
platform: bsd (openbsd) | |
cp -rp bundle/ build | |
cd build | |
cd LuaJIT-2.1-20190507 | |
INFO: found -msse4.2 in cc. | |
gmake TARGET_STRIP=@: CCDEBUG=-g XCFLAGS='-DLUAJIT_ENABLE_LUA52COMPAT -msse4.2' LDFLAGS='-lc++abi -lpthread' CC=cc PREFIX=/home/justin/Apps/openresty/luajit | |
==== Building LuaJIT 2.1.0-beta3 ==== | |
gmake -C src | |
gmake[1]: Entering directory '/home/justin/Shares/openresty-1.15.8.2rc0/build/LuaJIT-2.1-20190507/src' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- PKGBUILD 2018-08-31 02:30:42.954132382 +0800 | |
+++ PKGBUILD.after 2018-08-31 02:36:12.363488755 +0800 | |
@@ -5,7 +5,7 @@ | |
pkgver=2.12 | |
pkgrel=4 | |
pkgdesc="A generic and open source processor emulator which achieves a good emulation speed by using dynamic translation, statically linked." | |
-arch=('i686' 'x86_64') | |
+arch=('i686' 'x86_64' 'aarch64') | |
license=('GPL2' 'LGPL2.1') | |
url="http://wiki.qemu.org/Index.html" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VirtualBox supports both UGA (Universal Graphic Adapter) and GOP (Graphics Output Protocol) but FreeBSD loader uses GOP. Default GOP mode seems to be 2 (1024x768) and it panics kernel if the system memory is small. | |
As a stopgap, you may lower the resolution with VBoxManage, i.e., | |
VBoxManage setextradata "VM name" VBoxInternal2/EfiGopMode N | |
where "VM name" is the name of your VM and N is from 0 to 5. For example, | |
VBoxManage setextradata FreeBSD VBoxInternal2/EfiGopMode 1 | |
will lower video mode to 800x600 for your "FreeBSD" VM. Please see the manual for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo git clone --depth 1 --no-single-branch https://github.com/freebsd/freebsd-ports /usr/ports | |
# If you only need a quartly branch, check it out: | |
sudo git checkout -t origin/branches/2016Q2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/gtk-3.0/gtk.css | |
.window-frame.solid-csd { | |
border-radius: 0; | |
margin: 1px; | |
background-color: #eee; | |
box-shadow: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get from https://www.snip2code.com/Snippet/619307/OpenBSD-Virtualbox-guest-xorg-conf , thanks! | |
Section "ServerLayout" | |
Identifier "X.org Configured" | |
Screen 0 "Screen0" 0 0 | |
InputDevice "Mouse0" "CorePointer" | |
InputDevice "Keyboard0" "CoreKeyboard" | |
EndSection | |
Section "Files" | |
ModulePath "/usr/X11R6/lib/modules" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Go into single user mode | |
# shutdown now | |
2. Mount / as read-only: | |
# mount -fr / | |
3. Run fsck to repair UFS: | |
# fsck -y | |
4. Remount / as read-write: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 1438.790] | |
X.Org X Server 1.17.3 | |
Release Date: 2015-10-26 | |
[ 1438.790] X Protocol Version 11, Revision 0 | |
[ 1438.790] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian | |
[ 1438.790] Current Operating System: Linux debian-darkgeek 4.3.0-1-amd64 #1 SMP Debian 4.3.3-7 (2016-01-19) x86_64 | |
[ 1438.790] Kernel command line: BOOT_IMAGE=/vmlinuz-4.3.0-1-amd64 root=/dev/mapper/debian--darkgeek--vg-root ro quiet | |
[ 1438.790] Build Date: 27 October 2015 11:41:02PM | |
[ 1438.790] xorg-server 2:1.17.3-2 (http://www.debian.org/support) | |
[ 1438.790] Current version of pixman: 0.33.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
X.Org X Server 1.17.3 | |
Release Date: 2015-10-26 | |
X Protocol Version 11, Revision 0 | |
Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian | |
Current Operating System: Linux debian-darkgeek 4.3.0-1-amd64 #1 SMP Debian 4.3.3-7 (2016-01-19) x86_64 | |
Kernel command line: BOOT_IMAGE=/vmlinuz-4.3.0-1-amd64 root=/dev/mapper/debian--darkgeek--vg-root ro quiet | |
Build Date: 27 October 2015 11:41:02PM | |
xorg-server 2:1.17.3-2 (http://www.debian.org/support) | |
Current version of pixman: 0.33.6 | |
Before reporting problems, check http://wiki.x.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add the following two lines to `/etc/group`: | |
inet:x:3003:root | |
net_raw:x:3004:root | |
Then, add other users to those groups. |
NewerOlder