- D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open “/var/lib/dbus/machine-id”:
dbus-uuidgen > /var/lib/dbus/machine-id
- Port Scan:
nmap -sU [URL]
- Make an ISO:
mkisofs -V FREEBSD_INSTALL -J -R -b boot/cdboot -no-emul-boot -o ../FreeBSD.iso .
- Register Hostname with DHCP Server:
/etc/dhclient.conf
:send host-name [host name];
To use multiple DNS servers, when defining your dhcp-host
, define a set
name and tag:
- Set:
dhcp-host=[mac address],[hostname],[ip address],[duration],set:[set/tag name]
- Tag:
dhcp-option=tag:[tag/set name],option:dns-server,[DNS server IP address]
Example:
- Set:
dhcp-host=4c:72:b9:94:a9:c1,server-01,192.168.168.31,infinite,set:cloud
- Tag:
dhcp-option=tag:cloud,option:dns-server,192.168.168.3
- Prevent dnsmasq from appending domain name to invalid domain requests:
server=/[domain name]/
- Example:
server=/flossware.com/
- Example:
How to configure namecheap.
Please note: The ddns password is found in the web UI https://ap.www.namecheap.com/Domains/DomainControlPanel/[domain name]/advancedns. Grep for Dynamic DNS Password
.
/etc/ddclient.conf
ssl=yes
domain=300
use=web, web=https://dynamicdns.park-your-domain.com/getip
protocol=namecheap
login=[your domainname]
password=[Dynamic DNS Password]
[host]
Example:
ssl=yes
domain=300
use=web, web=https://dynamicdns.park-your-domain.com/getip
protocol=namecheap
login=flossware.org
password=abcdefghijklmnopqrstuvwxyz1234567890
services
README.*
not showing up in dir listing:/etc/httpd/conf.d/autoindex.conf
- Remove
READ.*
fromIndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
- Remove
${POSTGRES_CONF_HOME}/postgresql.conf
listen_addresses = '*'
${POSTGRES_CONF_HOME}/pg_hba.conf
host all all 192.168.168.0/24 password
- Initialize
[init script] initdb
service postgresql initdb
- Create user/database:
su - postgres
psql
CREATE USER [username] WITH PASSWORD '[password]';
CREATE DATABASE [database];
GRANT ALL PRIVILEGES ON DATABASE [database] to [user];
${MARIA_CONF_HOME}/conf.d/*server*.cnf
bind-address = 0.0.0.0
user = mysql
- Create user/database:
mysql
CREATE USER '[user]' IDENTIFIED BY '[password]';
GRANT USAGE ON *.* TO '[user]'@'%' IDENTIFIED BY '[password]';
FLUSH PRIVILEGES;
${ACTIVEMQ_HOME}/conf/jetty.xml
<property name="host" value="0.0.0.0"/>
${ACTIVEMQ_HOME}/conf/activemq.xml
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="FlossWare" dataDirectory="${activemq.data}">
- Download Postgres JDBC Driver Jar
- Copy jar to
${ACTIVEMQ_INSTALL_HOME}/lib/optional
${ACTIVEMQ_CONF_HOME}/activemq.xml
<bean id="postgres-ds" class="org.postgresql.ds.PGPoolingDataSource">
<property name="serverName" value=""/>
<property name="databaseName" value=""/>
<property name="portNumber" value="0"/>
<property name="user" value=""/>
<property name="password" value=""/>
<property name="dataSourceName" value=""/>
<property name="initialConnections" value="1"/>
<property name="maxConnections" value="10"/>
</bean>
for aFile in [fully qualified path]/*deb
do
echo " `basename ${aFile}`"
curl -k -u [username]:[password] -H "Content-Type: multipart/form-data" --data-binary "@/.${aFile}" http://[host]:[port]/repository/[debian repo name]/
done
for aFile in [fully qualified path]/*rpm
do
echo " `basename ${aFile}`"
curl -k -u [username]:[password] --upload-file ${aFile} http://[host]:[port]/repository/[yum repo name]/`basename ${aFile}`
done