- pkginfo command to display information about the software packages that have been installed
- pkgadd command uncompresses and copies files from the installation media to the local system’s disk.
- pkgrm command deletes all files associated with that package unless those files are also shared with other packages.
Install Software From Source Code
Tool & Utility for Compile Source code
- Compiler & Library (GNUgcc & libgcc)
- Make (GNUmake)
- Autoconfigure (GNUautoconfigure)
- Compress/Uncompress (gzip/gunzip/tar)
Apache Web Server Install
Overview for install apache
$ ./configure --prefix=PREFIX
$ make
$ make install
NOTE: PREFIX by default use
"/usr/local/apache"
Configuration File
Finally you can customize your Apache HTTP server by editing the configuration files
$ vi PREFIX/conf/httpd.conf
$ vi PREFIX/conf/access.conf
$ vi PREFIX/conf/srm.conf
And Statrt web server by
$PREFIX/bin/apachectl start
Most Important Configure
- ServerName avalon.bu.ac.th
- ServerAdmin root@avalon.bu.ac.th
- DocumentRoot "/usr/local/apache/htdocs"
*Note ServerRoot and DocumentRoot is difference meaning
No comments:
Post a Comment