Archive for 'Ubuntu Server'

1] Install a minimal Ubuntu64 11.04 Server for the primary host. Steps 1-9 are also to be repeated for the secondary host. Select "Install a minimal system" in "Modes" when you boot the Ubuntu64 11.04. Please don't tick anything in the "Software selection" dialog when it pops out during install.
2] sudo apt-get install openssh-server wget nfs-common vim
3] Download the latest GlusterFS .deb file. You can download the software . I used "wget"
4] If you've installed GlusterFS before on the machine to be setup, uninstall it from the server using the following command:
sudo dpkg -r glusterfs
5] Install GlusterFS from the .deb file using the dpkg command. For example: "sudo dpkg -i glusterfs_3.2.3-1_amd64.deb"
› Continue reading...

1] sudo adduser glassfish
2] sudo groupadd glassfishadm
3] sudo apt-get install python-software-properties
4] sudo add-apt-repository "deb natty partner"
5] sudo apt-get update
› Continue reading...

1] sudo adduser zabbix
2] Make sure /etc/services has these:
zabbix_agent 10050/tcp
zabbix_trap 10051/tcp
3] sudo mkdir /etc/zabbix
4] Copy /etc/zabbix/zabbix_agentd.conf from the Zabbix server (setup in the "Setup Zabbix 1.8 in a minimal Ubuntu 11.04 64-bit" guide found in this blog) to /etc/zabbix/zabbix_agentd.conf in this Zabbix client. Make sure the "Server=" line is correct.
5] cd ~
› Continue reading...

1] "sudo apt-get install apache2 php5 php5-curl php5-gd php5-xmlrpc php-net-socket php5-mysql mysql-server libssh2-1 fping openipmi libcurl4-openssl-dev gcc make libmysqld-dev libsnmp-dev snmpd libiksemel3 libiksemel-dev"
2] "sudo adduser zabbix"
3] Add “zabbix” user to /etc/sudoers file (you can remove it from the said file after the install. This is just for convenience in making this guide.). This can be achieved by appending: “zabbix ALL=(ALL:ALL) ALL”
4] "sudo su zabbix"
5] cd ~
› Continue reading...

This guide assumes that you've setup a LDAP server and client as described in . Some of the assumptions include:
1] Current "Base" is "dc=micbal,dc=net"
2] LDAP Administrator is "dn=admin,dc=micbal,dc=net"
3] LDAP Server is listening on ""
› Continue reading...

NOTE: I recommend you make a common normal user with sudo access for both the server and client. "normaluser" might be a good idea, but you're free to choose what you like. 🙂

LDAP server setup
1] Setup Ubuntu 11.04 Server 64-bit (Use "Minimal install" in "Modes".)
2] Note your host name and domain name, and substitute when necessary. I used "balky.micbal" for the host name, and "net" for the domain name.
3] Edit /etc/hosts appropriately. Make sure it has something like this(note that you need to substitute "" with your IP): balky.micbal balky
4] Also, comment out " balky.micbal balky" in /etc/hosts if it's there.
5] sudo apt-get install slapd ldap-utils migrationtools
› Continue reading...

Note: This server was setup in a Virtualbox VM. And this guide assumes that you have a DHCP server in your network that properly assigns addresses for internet access. The DHCP lease will be taken thru eth0 of the VM. And eth1 of the VM will only be accessible to the default internal network "intnet" of VirtualBox.
› Continue reading...

Back to top