User Tools

Site Tools


linux:slack_4app

This is an old revision of the document!


Slackware Application

Running applications (@software) on Slackware… most are applicable to all distributions.

'Hidden' Application

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:

  • xfig - nice app to create figures for use with latex
  • xpaint - can do screen capture (xpaint -snapshot)

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:80 ???

More modifications for https:

  • enable loadmodule mod_ssl.so
  • enable loadmodule mod_socache_shmcb.so
  • generate private key:
    • openssl genrsa -out privkey.pem 2048
    • rsa private key with 2048-bit long modulus written to file
  • generate cert:
    • openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095
  • include httpd-ssl.conf
    • modify httpd-ssl.conf accordingly…

mariadb/mysql Setup

  • run
    mysql_install_db
  • make sure permision given to user mysql
    chown -R mysql:mysql /var/lib/mysql
  • start daemon rc.mysqld
  • run
    /usr/bin/mysql_secure_installation
linux/slack_4app.1736659215.txt.gz · Last modified: by azman