deutsch

Know how for developers

Find here detailed guides for doing things inside the Tschitschereengreen infrastructure. This is for beginners and the enhance the knowledge of our staff

Most things are based on Ubuntu, PostgreSQL, MySQL, PHP, git, etc.

Doing a Server Update

  1. 1) Send Email to anyone having access to the Server with note about the update including start time and estimated duration
  2. 2) Update code base from version control system (GIT, SVN)
  3. 3) Check ChangeLog for SQL Changes, deploy SQL Changes
  4. 4) Reload Server
  5. 5) do quick check for major functions and modified functionality
  6. 6) Send Email to anyone having access to the Server with note about the completed update including change list

Command line search and replace

sed -e "s/SEARCHTERM/REPLACETERM/g" > TARGEFILE

or for a specific list of files defined by the grep command

grep -lre 'pattern' . | xargs -d'\n' sed -i 's/from/to/g'