====== Devuan Setups ======
These depends on my need when using that particular machine.
* using virtualbox from oracle (just like my slackware setup)
* using texlive ([[linux:app_texlive|install using tlmgr]])
* alternatively, install texlive texlive-latex-extra texlive-science
* install freecad kicad openscad (project stuffs)
* install ntp ntpdate (system management)
===== Development =====
* getting //OpenGL// stuffs (glut): ''$ apt install //freeglut3-dev//''
* getting //sqlite// stuffs: ''//$ apt install// sqlite3 libsqlite3-dev''
* getting glade (will also get gtk library): ''//$ apt install glade//''
* getting //wxwidgets// stuffs: ''//$ apt install// lib-wxgtk3.0dev''
* getting //my1imgpro// stuffs: ''//$ apt install libavcodec-dev libavdevice-dev libavformat-dev libswscale-dev//''
* to compile //sdcc//: ''//$ apt install// bison flex libboost-dev texinfo''
//note: [[notes:cross_compiler#mingw_cross_compiler_on_devuan|Setting up mingw-w64 cross-compiler]]//
===== Web Server =====
* Install webserver$ apt install //apache2//
* default path for web is ''/var/www/html''
* configure $ cd /etc ; vi apache2/apache2.conf ; cd - >/dev/null
* add //ServerName// (remove annoying startup message!)
* my //my1apisrv// code need these for //www// dir config
Options FollowSymLinks
AllowOverride All
Require all granted
* Install php $ apt install php php-cgi libapache2-mod-php php-mysql php-sqlite3
* enable pdo support cd /etc ; vim php/7.0/apache2/php.ini ; cd - >/dev/null
* create required links in mods-enabled and conf-enabled
* my my1apisrv code need ''rewrite''
* both folders are in ''apache2'' (/etc)
* if running dokuwiki $ apt install php-xml
* my API client php code needs this $ apt install php-curl
* Install database $ apt install mariadb-server
===== Multi-Arch (a.k.a. Multi-Lib) =====
To run 32-bit binary:
* Enable multi-arch: ''$ dpkg --add-architecture i386''
* Update package list: ''$ apt update''
* Most probably need libc: ''$ apt install //libc6:i386//''
* Install required libraries: (:i386)
To build 32-bit binary:
* Install compiler(s): ''$ apt install //gcc-multilib g++-multilib//''
* Notice that these are 64-bit packages (no :i386 suffix) -> cross compilers!
* Use ''-m32'' gcc option to compile!
===== Gaming =====
To play steam games:
* enable multi-arch
* install steam $ apt install steam
===== NFS setup =====
Dumping this as it is for now:
* client
* install $ apt install nfs-common
* mount $ mount -t nfs :/path
* server
* install $ apt install nfs-kernel-server
* [optional] $ mount --bind /path/to/share /mount/point
* modify accordingly$ cd /etc ; vim exports ; cd - >/dev/null
* start $ service nfs-kernel-server start
===== Others =====
My iso2boot script need //isohybrid// from syslinux/isolinux project:
* ''$ apt install //syslinux-utils//''