linux:slack_4app
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:slack_4app [2025/01/12 11:09] – azman | linux:slack_4app [2025/01/12 13:40] (current) – azman | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| * xfig - nice app to create figures for use with latex | * xfig - nice app to create figures for use with latex | ||
| * xpaint - can do screen capture ('' | * xpaint - can do screen capture ('' | ||
| + | |||
| + | ===== Apache (web server) Setup ===== | ||
| + | |||
| + | Modify httpd config file: | ||
| + | * change document root to a folder my main user have full access | ||
| + | * also create a link to it from my user account | ||
| + | * allow php to be indexed => add to directory index in dir_module | ||
| + | * enable php (towards the end of the file) => include mod_php.conf | ||
| + | * enable mod_rewrite (API server?) => LoadModule ... mod_rewrite.so | ||
| + | * optional: set serveradmin email and servername | ||
| + | * optional: to only serve locally, set listen localhost: | ||
| + | |||
| + | More modifications for https: | ||
| + | * enable loadmodule mod_ssl.so | ||
| + | * enable loadmodule mod_socache_shmcb.so | ||
| + | |||
| + | * generate private key: | ||
| + | * < | ||
| + | * rsa private key with 2048-bit long modulus written to file | ||
| + | * generate cert: | ||
| + | * < | ||
| + | |||
| + | * include httpd-ssl.conf | ||
| + | * modify httpd-ssl.conf accordingly... | ||
| + | |||
| + | ===== mariadb/ | ||
| + | |||
| + | * run < | ||
| + | * make sure permision given to user //mysql// < | ||
| + | * start daemon '' | ||
| + | * run < | ||
| + | |||
| + | * create specific database for specific app < | ||
| + | * create specific user for specific app and grant all access < | ||
| + | * just formality, run < | ||
| + | * to additionally create specific user for specific app < | ||
| + | |||
| + | * recover root password: | ||
| + | * stop daemon '' | ||
| + | * run < | ||
| + | # mysqld_safe --skip-grant-tables & | ||
| + | # mysql -u root | ||
| + | $ mysql -uroot -p | ||
| + | mysql> use mysql; | ||
| + | mysql> update user set password=PASSWORD('< | ||
| + | mysql> flush privileges; | ||
| + | mysql> exit | ||
| + | </ | ||
| + | |||
| + | Backup a DB:< | ||
| + | |||
| + | ===== TeXLive Install/ | ||
| + | |||
| + | The default tetex is usable, but it is no longer maintained and some new packages are not available. | ||
| + | |||
| + | {{page> | ||
| + | |||
| + | ===== rsync server ===== | ||
| + | |||
| + | * create '' | ||
| + | max connections = 2 | ||
| + | log file = / | ||
| + | timeout = 300 | ||
| + | |||
| + | [share] | ||
| + | comment = Shared Stuff | ||
| + | path = /home/share | ||
| + | read only = yes | ||
| + | list = yes | ||
| + | hosts allow = 192.168.3.0/ | ||
| + | uid = nobody | ||
| + | gid = nobody | ||
| + | #auth users = pub | ||
| + | #secrets file = etc/ | ||
| + | </ | ||
| + | * modify subnet mask address for host allow accordingly | ||
| + | * in '' | ||
| + | * in '' | ||
| + | * create '' | ||
| + | pub:pub | ||
| + | </ | ||
| + | * start rsync daemon< | ||
| + | |||
| + | ===== Steam on Slack64 (in chroot32) ===== | ||
| + | |||
| + | on an x86_64 machine, | ||
| + | * install libtxc_dxtn package from slackbuilds.org (64-bit) | ||
| + | * use ' | ||
| + | * target for desktop | ||
| + | * ssh into localhost to enter chroot32 as normal user | ||
| + | * remember to run ' | ||
| + | * ... and ' | ||
| + | * install packages | ||
| + | * install alien_bob' | ||
| + | * install libtxc_dxtn package from slackbuilds.org (32-bit) | ||
| + | * run ' | ||
| + | * run 'steam -tcp' | ||
linux/slack_4app.1736651342.txt.gz · Last modified: by azman
