Topics

Archives

Handy References

Archive for January, 2008

Postgres & Profiling

Friday, January 25th, 2008

***THIS IS A DRAFT***  Configuring a (test) server: Install Postgres.  If doing through yum, do postgresql, postgresql-server, and postgresql-contrib Create an account for yourself: su root su postgres (Yes, you need to be su’d as root to su as postgres w/o password) createuser [username] exit You can now create a database to import into: createdb [database_name] And [...]

NTP Configuration

Thursday, January 24th, 2008

1) Install ntpd if not already there.  Link it to your default startup directory. ln -s /etc/init.d/ntpd /etc/rc3.d/S99ntpd 2) /etc/ntp/step-tickers:  time.nist.gov  pool.ntp.org 3) In /etc/sysconfig/iptables open up the port: # NTP is only accessible via the Gig Backbone: -A RH-Firewall-1-INPUT -m state –state NEW -m udp -p udp –dport 123 -s 192.168.1.0/0 -j ACCEPT 4) [...]