Configuring Camsource Server
Configuration Path: /home/services/camsourced/settings/
The Files:
- camsource.conf
- camsource.conf.v4l1
- camsource.conf.v4l2
File 1:
This is the file processed by the camsource server, changes to this file will effect the server on restart.
File 2:
This is an example camsource.conf using a Video4Linux 1 Device.
File 3:
This is an example camsource.conf using a Video4Linux 2 Device.
Notes:
- The configuration file is an XML file, XML syntax rules do apply.
<path>/dev/video0</path> specifies the Video Device to use
<input>0</input> specifies the particular capture port on the card
<norm>ntfs0</norm> specifies the media format the signal is transmitted as
Configuring Lighttpd Server
Configuration Path: /home/services/lighttpd/settings/
The Files:
- lighttpd.conf
File 1:
This is the configration file for the lighttpd server.
Notes:
- The configuration file format is a bash-like syntax; bash comment rules apply.
server.document-root specifies the system path where the website root exists, default is /home/websites/
server.port specifies the port the server listens on, default is 80
Configuring MPD Server
Configuration Path: /home/services/mpd/settings/
The Files:
- mpd.conf
File 1:
This is the configration file for the mpd server.
Notes:
- The configuration file format is a bash-like syntax; bash comment rules apply.
music_directory specifies where the available music exists, default is /home/music/
port specifies where the port the server listens on, default is 6600
Configuring MaraDNS Server
Configuration Path: /home/services/camsourced/settings/
The Files:
- mararc
- example_authoritative_mararc.txt
- example_example_csv1
- example_example_csv1.txt
- example_example_csv2
- example_full_mararc
- example_mararc
- example_recursive_mararc.txt
File 1:
This is the configuration file for the mararc server
Files 2-8:
These are different examples of how to configure mararc
* Files 3 & 4 appear to be identical and one will be removed in the future
Notes:
- The configuration file format is a bash-like syntax; bash comment rules apply.
Configuring MySQL Server
Configuration Path: /home/services/mysqld/settings/
The Files:
- my.cnf
File 1:
This is the configuration file for the mysql server
Initial Setup:
Start the server:
mysqld_safe --user=mysqld 2>&1 >/dev/null &
Create a root password:
mysqladmin -u root password 'some_password'
Stop the server:
mysqladmin -p shutdown
Notes:
- The configuration file format is a bash-like syntax; bash comment rules apply.
port specifies where the port the server listens on, default is 3306
Configuring NTP Server
Configuration Path: /home/services/ntp/settings/
The Files:
- ntp.conf
- ntpdate.conf
File 1:
This is the configuration file for the ntp server
File 2:
This is the configuration file for the ntp server for the bootup clock synchronization
This is forces the clock to be correct at bootup no matter how incorrect the clock is
This can only poll from a single server
Notes:
- The configuration file format is a bash-like syntax; bash comment rules apply.
- This is easy to configure, just uncomment the servers you want to pull from and comment out all others
Configuring Postgres Server
Configuration Path: /home/services/postgresd/settings/
The Files:
- postgresql.conf
- pg_hba.conf
- pg_ident.conf
File 1:
This is the configuration file for the particular postgres database
File 2:
This file manages what computers or ip blocks can access the postgres server at all
Make sure to read the documentation present in this file
File 3:
This file maps user names to postgresql database user names
This is useful if the current username connects to the database under a different name
Make sure to read the documentation present in this file
Initial Setup:
Create the database:
su - postgresd -c '/bin/initdb -D /home/services/postgresd/database -E UTF8 --locale=en_US.UTF-8'
Notes:
- The configuration file format is a bash-like syntax; bash comment rules apply.
- The configuration files are specific to each database, such that if you were to change the Create the database path from /home/services/postgresd/database to /home/services/postgresd/somewhere then you would need to edit the configuration files at /home/services/postgresd/somewhere/.
- There does exist a /home/postgresd/settings directory, but the files contained within are exmaple files. These files are not used by the postgres server.
Configuring RSync Server
Configuration Path: /home/services/rsync/settings/
The Files:
- rsyncd.conf
File 1:
This is the configuration file for the rsync server
Notes:
- The configuration file Initial Setup:
Create the database:
su - postgresd -c '/bin/initdb -D /home/services/postgresd/database'
format is a bash-like syntax; bash comment rules apply.
Configuring SSH Server
Configuration Path: /home/services/ssh/settings/
The Files:
- sshd_config
- banner
- moduli
- ssh_prng_cmds
File 1:
This is the ssh server configuration file
File 2:
This will display information to a client making a connection attempt to the server
This can expose information to an attacker that might be useful and therefore is disabled by default
Files 3 & 4:
These files are not required and may not even be used anymore; you can safely ignore these.
Initial Setup:
Generate the SSH host keys:
setup_ssh_host_keys
Notes:
- The configuration file format is a bash-like syntax; bash comment rules apply.
- The setup_ssh_host_keys command will create more files in the /home/services/ssh/settings/ directory. These files begin with ssh_host_.
Port specifies where the port the server listens on, default is 22
Banner specify a file to enable, comment out to disable
Configuring Samba Server
Configuration Path: /home/services/samba/settings/
The Files:
- smb.conf
File 1:
This is the sambe server configuration file
Notes:
- The configuration file format is a bash-like syntax; bash comment rules apply.
netbios name tells the network that this is the name of your computer (feel free to lie)
workgroup tells the network that this is the workgroup your computer is in
interfaces specify what ethernet devices to listen on
security set to share for anonymous access only, set to user for non-anonymous access only, set to server for ldap accounts
- The default share is called
[fileshare], use this share as an example on how to configure and use
- BIG FAT WARNING: The Windows network is very buggy and very sensative to things that should not matter, you will have to repeatedly play around with settings until you get what you want working.
Configuring Subversion Server
Configuration Path: /home/services/subversion/settings/
The Files:
- servers
File 1:
This is the subversion server configuration file
Notes:
- The configuration file format is a bash-like syntax; bash comment rules apply.
- NOTE: The subversion database should already be created at /home/services/subversion/data/
- If the server already exists, then you will need to remove the existing one as shown in the example picture (rm -Rf /home/services/subversion/data)
- WARNING: The subversion server uses plaintext passwords in the configuration file