--- jonen/notes/notes_2003-02.twingle 2003/03/09 16:43:24 1.2 +++ jonen/notes/notes_2003-02.twingle 2003/03/09 17:38:05 1.3 @@ -12,11 +12,12 @@ o read more about BSD package systems (pkg, cvsup) x for simple package installation/de-installation use pkg x install downloaded package: - :# pkg_add -.tgz + :# pkg_add {package}-{version}.tgz x install package via remote server(only if package is available as *latest*): - pkg_add -r .tgz + pkg_add -r {package}.tgz x using cvsup - x newbies could use cvsupit (not what it really does..) + x read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html + x newbies could use cvsupit: :# pkg_add -r cvsupit.tgz - cvsupit will proberly ask you for the default values it place at /etc/cvsupfile, which is used by cvsup @@ -24,6 +25,8 @@ x if /etc/cvsupfile already exists and you know what you do, this command will update your system (maybe run it via cron...): :# /usr/local/bin/cvsup -g -L 2 /etc/cvsupfile + where '-g' tells cvsup not to use a GUI, '-L 2' sets default output level to 2 + x for available cvs tags, look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html o whats about daemon start-stop scripts (like at linux: /etc/init.d/) ? x configure and compile custom kernel: x read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html @@ -62,8 +65,8 @@ Use with care though, as this opens up the firewall and changes the way it works. x firewall is enabled at /etc/rc.conf (or /etc/rc.conf.local) firewall_enabled = "YES" - firewall_type = "" - x is either a case at /etc/rc.firewall (/etc/rc.firewall6 for ipv6) + firewall_type = "{firewall_type}" + x where {firewall_type} is either a case at /etc/rc.firewall (/etc/rc.firewall6 for ipv6) or some custom file to read rules from. x Use firewall_type = "OPEN" for default policy 'OPEN' (allow all) @@ -91,7 +94,6 @@ x integrated new FormProcessing classes from phphtmllib (released one day after interface to binaryclouds Formbuilder was written ;) x refactored DataItem to use now phphtmllib form processing instead of interface to binarycload o review code and move to phphtmllib - o XOOPS (http://xoops.org) XOOPS is a dynamic OO (Object Oriented) based open source portal script written in PHP. It is the ideal tool for developing small to large dynamic community websites, intra company portals, @@ -152,8 +154,8 @@ - Create Database :# mysqladmin create - Set Privileges on databases(creates user too, if not exists...): - mysql>grant all on .* to identified by ""; - mysql>grant all on .* to @ identified by ""; + mysql>grant all on {database}.* to {user} identified by "{pass}"; + mysql>grant all on {database}.* to {user}@{domain} identified by "{pass}"; - Document saving: @@ -172,5 +174,5 @@ o build 'black box' to trace for 'spys' at a isdn/internet connection ;)
-$Id: notes_2003-02.twingle,v 1.2 2003/03/09 16:43:24 jonen Exp $ +$Id: notes_2003-02.twingle,v 1.3 2003/03/09 17:38:05 jonen Exp $ \ No newline at end of file