12 |
o read more about BSD package systems (pkg, cvsup) |
o read more about BSD package systems (pkg, cvsup) |
13 |
x for simple package installation/de-installation use pkg |
x for simple package installation/de-installation use pkg |
14 |
x install downloaded package: |
x install downloaded package: |
15 |
:# pkg_add <package>-<version>.tgz |
:# pkg_add {package}-{version}.tgz |
16 |
x install package via remote server(only if package is available as *latest*): |
x install package via remote server(only if package is available as *latest*): |
17 |
pkg_add -r <package>.tgz |
pkg_add -r {package}.tgz |
18 |
x using cvsup |
x using cvsup |
19 |
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 |
20 |
|
x newbies could use cvsupit: |
21 |
:# pkg_add -r cvsupit.tgz |
:# pkg_add -r cvsupit.tgz |
22 |
- cvsupit will proberly ask you for the default values it |
- cvsupit will proberly ask you for the default values it |
23 |
place at /etc/cvsupfile, which is used by cvsup |
place at /etc/cvsupfile, which is used by cvsup |
25 |
x if /etc/cvsupfile already exists and you know what you do, |
x if /etc/cvsupfile already exists and you know what you do, |
26 |
this command will update your system (maybe run it via cron...): |
this command will update your system (maybe run it via cron...): |
27 |
:# /usr/local/bin/cvsup -g -L 2 /etc/cvsupfile |
:# /usr/local/bin/cvsup -g -L 2 /etc/cvsupfile |
28 |
|
where '-g' tells cvsup not to use a GUI, '-L 2' sets default output level to 2 |
29 |
|
x for available cvs tags, look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html |
30 |
o whats about daemon start-stop scripts (like at linux: /etc/init.d/) ? |
o whats about daemon start-stop scripts (like at linux: /etc/init.d/) ? |
31 |
x configure and compile custom kernel: |
x configure and compile custom kernel: |
32 |
x read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html |
x read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html |
44 |
x use packet fiters (firewall): |
x use packet fiters (firewall): |
45 |
x read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html |
x read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html |
46 |
x some options at the kernel have to be enabled: |
x some options at the kernel have to be enabled: |
47 |
<pre style="font-size:10px"> |
- options IPFIREWALL |
48 |
options IPFIREWALL #Compiles into the kernel the code for packet filtering. |
Compiles into the kernel the code for packet filtering. |
49 |
options IPFIREWALL_VERBOSE #Enables code to allow logging of packets through syslogd. |
- options IPFIREWALL_VERBOSE |
50 |
# Without this option, even if you specify that packets should be logged in the filter rules, |
Enables code to allow logging of packets through syslogd. |
51 |
# nothing will happen. |
Without this option, even if you specify that packets should be logged in the filter rules, |
52 |
options IPFIREWALL_VERBOSE_LIMIT=10 #Limits the number of packets logged through syslogd on a per entry basis. |
nothing will happen. |
53 |
# You may wish to use this option in hostile environments in which you want to log firewall activity, |
- options IPFIREWALL_VERBOSE_LIMIT=10 |
54 |
# but do not want to be open to a denial of service attack via syslog flooding. |
Limits the number of packets logged through syslogd on a per entry basis. |
55 |
# When a chain entry reaches the packet limit specified, logging is turned off for that particular entry. |
You may wish to use this option in hostile environments in which you want to log firewall activity, |
56 |
# To resume logging, you will need to reset the associated counter using the ipfw(8) utility: |
but do not want to be open to a denial of service attack via syslog flooding. |
57 |
# ipfw zero 4500 |
When a chain entry reaches the packet limit specified, logging is turned off for that particular entry. |
58 |
# Where 4500 is the chain entry you wish to continue logging. |
To resume logging, you will need to reset the associated counter using the ipfw(8) utility: |
59 |
options IPFIREWALL_DEFAULT_TO_ACCEPT #This changes the default rule action from ``deny'' to ``allow''. |
:# ipfw zero 4500 |
60 |
# This avoids the possibility of locking yourself out if you happen to boot a kernel with IPFIREWALL support but have not configured your firewall yet. |
Where 4500 is the chain entry you wish to continue logging. |
61 |
# It is also very useful if you often use ipfw(8) as a filter for specific problems as they arise. |
- options IPFIREWALL_DEFAULT_TO_ACCEPT |
62 |
# Use with care though, as this opens up the firewall and changes the way it works. |
This changes the default rule action from ``deny'' to ``allow''. |
63 |
</pre> |
This avoids the possibility of locking yourself out if you happen to boot a kernel with IPFIREWALL support but have not configured your firewall yet. |
64 |
|
It is also very useful if you often use ipfw(8) as a filter for specific problems as they arise. |
65 |
|
Use with care though, as this opens up the firewall and changes the way it works. |
66 |
x firewall is enabled at /etc/rc.conf (or /etc/rc.conf.local) |
x firewall is enabled at /etc/rc.conf (or /etc/rc.conf.local) |
67 |
firewall_enabled = "YES" |
firewall_enabled = "YES" |
68 |
firewall_type = "<firewall_type>" |
firewall_type = "{firewall_type}" |
69 |
x <firewall_type> is either a case at /etc/rc.firewall (/etc/rc.firewall6 for ipv6) |
x where {firewall_type} is either a case at /etc/rc.firewall (/etc/rc.firewall6 for ipv6) |
70 |
or some custom file to read rules from. |
or some custom file to read rules from. |
71 |
x Use firewall_type = "OPEN" for default policy 'OPEN' (allow all) |
x Use firewall_type = "OPEN" for default policy 'OPEN' (allow all) |
72 |
|
|
94 |
x integrated new FormProcessing classes from phphtmllib (released one day after interface to binaryclouds Formbuilder was written ;) |
x integrated new FormProcessing classes from phphtmllib (released one day after interface to binaryclouds Formbuilder was written ;) |
95 |
x refactored DataItem to use now phphtmllib form processing instead of interface to binarycload |
x refactored DataItem to use now phphtmllib form processing instead of interface to binarycload |
96 |
o review code and move to phphtmllib |
o review code and move to phphtmllib |
|
|
|
97 |
o XOOPS (http://xoops.org) |
o XOOPS (http://xoops.org) |
98 |
XOOPS is a dynamic OO (Object Oriented) based open source portal script written in PHP. |
XOOPS is a dynamic OO (Object Oriented) based open source portal script written in PHP. |
99 |
It is the ideal tool for developing small to large dynamic community websites, intra company portals, |
It is the ideal tool for developing small to large dynamic community websites, intra company portals, |
154 |
- Create Database |
- Create Database |
155 |
:# mysqladmin create <database> |
:# mysqladmin create <database> |
156 |
- Set Privileges on databases(creates user too, if not exists...): |
- Set Privileges on databases(creates user too, if not exists...): |
157 |
mysql>grant all on <database>.* to <user> identified by "<pass>"; |
mysql>grant all on {database}.* to {user} identified by "{pass}"; |
158 |
mysql>grant all on <database>.* to <user>@<domain> identified by "<pass>"; |
mysql>grant all on {database}.* to {user}@{domain} identified by "{pass}"; |
159 |
|
|
160 |
|
|
161 |
- Document saving: |
- Document saving: |