Running applications (@software) on Slackware… most are applicable to all distributions.
There are a couple (a few?)of applications that I thought have great features but relatively unknown (I only knew about them after looking for specific solution). Here they are:
xpaint -snapshot)Modify httpd config file:
More modifications for https:
openssl genrsa -out privkey.pem 2048
openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095
mysql_install_db
chown -R mysql:mysql /var/lib/mysql
rc.mysqld/usr/bin/mysql_secure_installation
create database app_db;
grant all privileges on app_db.* to 'user_app'@'localhost' identified by 'pass_app';
flush privileges;
create user 'user_app'@'localhost' identified by 'pass_app';
rc.mysqld# mysqld_safe --skip-grant-tables &
# mysql -u root
$ mysql -uroot -p
mysql> use mysql;
mysql> update user set password=PASSWORD('<newpass>') where User='root';
mysql> flush privileges;
mysql> exit
Backup a DB:
mysqldump -p -u user userdb > userapp-$(date +%Y%m%d%H%M%S).sql
The default tetex is usable, but it is no longer maintained and some new packages are not available.
The recommended TeX distribution is TeXLive.
/home/share/tool/texlive./install-tl -gui
/home/share/tool/texlive/YYYY (currently, YYYY=2020)TL_VERS="2020" TL_PATH="/home/share/tool/texlive/${TL_VERS}" export PATH=${TL_PATH}/bin/x86_64-linux:$PATH export MANPATH=${TL_PATH}/texmf-dist/doc/man:$MANPATH export INFOPATH=${TL_PATH}/texmf-dist/doc/info:$INFOPATH
tlmgr --gui
tlmgr show <package>
rsyncd.conf in etc max connections = 2 log file = /var/log/rsync.log timeout = 300 [share] comment = Shared Stuff path = /home/share read only = yes list = yes hosts allow = 192.168.3.0/24 uid = nobody gid = nobody #auth users = pub #secrets file = etc/rsyncd.secrets
inetd.conf (etc), insert rsync stream tcp nowait root /usr/bin/rsync rsync --daemon
services (etc), insert rsync 873/tcp
rsyncd.secrets in etc pub:pub
/usr/bin/rsync --daemon --config=etc/rsyncd.conf
on an x86_64 machine,