Open an3l opened 4 years ago
NetBSD9
on vmware:NAT
(sharing the host's IP) network configuration from Vmware and seems out that somehow VMnet8, used for NAT is not using DHCP. This have impact in configuring the network.
That's why bridged network (use the same physical network from host) is usedhttp
as a download in setting up connect, link: http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/9.0/All
not working
Got error:
Command failed:
/usr/pkg/bin/pkgin -y update
But using ftp
new link used:
ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/9.0/All
bash git nano
Pretty straightforward. Install what we need:
pkgin install build-essential manpages-dev cmake ninja-build libncurses5-dev gnutls-dev bison wget gdb-y
You should be able to start the server.
pkgin install xfce4 xfce4-desktop tdb gvfs fam xfce4-thunar firefox flashplayer mozilla-fonts vlc gimp
$ touch .xinitrc && echo "xfce4-session" >> .xinitrc
$ ln /root/.xinitrc /root/.xsession
$ cp /root/.xinitrc /home/mariadb/
$ ln /home/mariadb/.xinitrc /home/mariadb/.xsession
$cp /usr/pkg/share/examples/rc.d/famd /etc/rc.d/ $cp /usr/pkg/share/examples/rc.d/dbus /etc/rc.d/ $cp /usr/pkg/share/examples/rc.d/hal /etc/rc.d/
- Check `/etc/rc.conf` -> copy paste
- Change `rc.conf`
hostname= netbsd9 rpcbind= YES dbus=YES hal=YES famd=YES
- Change `/etc/hosts` to `hostname`
It was `127.0.0.1 localhost localhost`.
Now should be: `127.0.0.1 netbsd9`
- Reboot
$ su - anel $ bash $ startx
[1]: https://www.netbsd.org/docs/guide/en/chap-exinst.html#exinst-process
[2]: https://www.netbsd.org/docs/guide/en/chap-exinst.html#inst-bin-packages
Add DHCP: vi /etc/rc.conf
add ifconfig_em0="DHCP"
Install sudo: pkg update && pkg upgrade && pkg install sudo
, add new user to wheel
group (pw usermod anel -G wheel
)?!
build-essential
cd /usr/port/lang/gcc9; make install clean
or pkg install lang/gcc9
export
echo $SHELL
->/bin/csh
, setenv PATH ${PATH}:/name/
change shell: pkg install bash && chsh -s /usr/local/bin/bash
Installing mariadb on freeBSD 1 - seems like in /usr/ports/databases
we have from 5.5 - 10.4 mariadb server/client.pkg install cmake gnutls-dev bison gdb git -y
Setting up VM:
Not related:
sudo is not installed on debian: https://unix.stackexchange.com/questions/354928/bash-sudo-command-not-found
* working with mariadb ***
dch
not installed fordebian/autobake.sh
-> it is indevscripts
(alsomk-build-deps
)Running
./debian/autobake.sh
Explained here: https://mariadb.com/kb/en/library/building-mariadb-on-debian/ ++ add apt-key ? and repository (change to 10.1, instead of 10.3) don't know what that means:
http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.3/debian stretch main'
++ uncomment deb-src 10.1 from sudo vim /etc/apt/sources.list ++ apt-get build-dep mariadb-server-10.1 ++ git clean -dffx && git reset --hard HEAD Running ./debian/autobake.sh
Read more about apt-key and build-dep in apt !!! Have 10.1 builds:
$ sudo apt-get install ./mariadb-*build-deps_*.deb
Working again on debian from windows linux subsystem (SI) - it works, but cannot test systemd features : https://superuser.com/questions/1236338/a-workaround-which-lets-you-use-mk-build-deps-and-fakeroot-on-the-windows-li