Sebastian Mogilowski's Blog

Just another blog about administration, linux and other stuff

Systemadministration

Servermanagement with puppet – Part 3

In the 3. part we confgurate the puppet clients to reports at the end of every configuration run. This reports are stored on the puppetmaster. Configurate client Enable reporting on the puppet client „/etc/puppet/puppet.conf„: [puppetd] report = true Configurate puppetmaster Activate reporting on the puppetmaster“/etc/puppet/puppet.conf„: [puppetmasterd] templatedir=/var/lib/puppet/templates reports = store,log,rrdgraph Note: See reporttypes below. (reports) […]

, ,

Google Chrome (Chromium) on Ubuntu

Installing Google Chrome browser on ubuntu: Chromium is an open source browser project. Google Chrome is a browser from Google, based on the Chromium project. First add the following sources to your „/etc/apt/sources.list“ depending on your ubuntu version: For Hardy: deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main For Intrepid: deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu intrepid main deb-src […]

, , , , , , ,

Servermanagement with puppet – Part 2

Now we want to create a clear strukture for the puppet configuration files. The config in Part 1 is only a simple example to test the configuration. In this example we want to create the user „sebastian“ and „demo“ on all servers with a specific password. 1. Templates “/etc/puppet/manifests/templates.pp“: This files defines various classes of […]

, , , ,

MySQL command line import of file with UTF-8 encoding

A Post-It note for me … Importing an UTF-8 encoded MySQL Database export file with MySQL command line interface: mysql -D databasename -h hostname -p -u db_username –default_character_set utf8 < sqlfile.sql If you don’t add the „–default_character_set utf8“ flag you will get very funny characters in your database 🙂

, , , ,

Servermanagement with puppet – Part 1

The Environment: Hosts: puppetmaster: The puppetmaster pc1: The first testclient pc2: The second testclient Domain: domain.local Note: I used Ubuntu 9.04 in all servers. Puppetmaster installation aptitude install puppetmaster Activate fileserver for the local network (“/etc/puppet/fileserver.conf“): [files] path /etc/puppet/files allow *.domain.local [plugins] path /etc/puppet/files allow *.domain.local Note:You can allow a subnet, too. (“allow 192.168.0.0/24“). Edit […]

, , ,

VMWare Server 2 – RuntimeFault: Database temporarily unavailable or has network problems

If you add a new User (New Permission) to the VMWare Server 2 via the VMware Infrastructure Web Access you may get the message „The server response included one or more errors“ with the details „RuntimeFault: Database temporarily unavailable or has network problems“. To fix this you first have to stop the VMWare management service: […]

,

VMWare Infrastructure Client with VMWare Server

I had a lot of problems with the new webinterface of VMWare Server 2. The interface is very unstable and not very comfortable for the VMWare configuration. I need an alternative for the browser application. The new VMWare Server 2 is very simular to the ESXi or ESX Server from VMWare so you can use […]

, , , ,

How to install OpenOffice 3.1 on Ubuntu 9.04 Jaunty Jackalope

I have blogged the installation of OpenOffice 3.0 on Ubuntu 8.10 a few months ago. OpenOffice 3.1 or a newer version are not in the Ubuntu 9.04 repository. You will get it with Ubuntu 9.10. You can install Version 3.1 in the same way you installed 3.0 on Ubuntu 8.10. Add the following source to […]

, , , , ,

Secure Apache only for other networks

I was ask how to secure an apache 2 webserver, so that the web page is only available for the local network. I need this for an BETA environment and for my Debian Router Project. Here are some simple examples: (192.168.5.0/24 is the LAN you may have to change it) 1. Allow only local network […]

, , , ,

Install Coldfusion 8 Multiserver on Debian 5.0 Lenny with Apache 2

This article describes, how to install Adobe Coldfusion 8 with Multiserver configuration. You can use this configuration for an ISP like coldfusion setup. Each instance/virtual host will have its own Coldfusion administrator with custom settings. 1. Prerequirements: * Apache 2 is installed and running correctly. * libstdc++5 is installed. aptitude install libstdc++5 * You have […]

, , , , , ,

Previous Posts Next posts