Headadmin

  • Installing Data Protector 6.0 on Ubuntu

    Download the latest HP-UX core and disk agent patches (either Ia64 or PA-RISC, Linux installation is included on both!) from hp.com. In this examaple the the core patch filename is PHSS_39016.depot and the disk agent patch filename is PHSS_39439.depot. The patches is located in the users home folder on the client. The cell managers FQDN…

  • Configurate Windows 2008 Server Core

    Here are som useful stuff when installing and configurate Windows 2008 Server Core. Network Show network interfaces > netsh interface ipv4 show interfaces Rename network interface > netsh interface set interface name = <interface name> newname = <new interface name> Change static IP-address > netsh interface ipv4 set adress ”<interface name>” static 192.168.0.1 255.255.25.0 192.168.0.1…

  • Hidden setting in SMS for SMTP 5 (Advanced Attributes)

    In Symantec Mail Security for SMTP 5 there is a hidden setting page which allow you to change inbound and outbound SMTP greeting, SPAM notification URL, Email archive x-header name etc. To acces the hidden setting page in SMS for SMTP Control Center simply do the following: Click on Settings and then click on the…

  • www backup script

    Here is a simple script that creates a RAR file of /var/www/ 1. Create a script folder. # sudo mkdir /script 2. Create a backup folder and a destnation folder for the www rar file. # sudo mkdir /backup /backup/www 3. Create a script file. # sudo nano /script/wwwbackup.sh Add the following: #!/bin/bash /usr/bin/rar a…

  • MySQL backup script

    1. Create a script folder. # sudo mkdir /script 2. Create a backup folder and a destnation folder for the MySQL files. # sudo mkdir /backup /backup/mysql 3. Create a script file. # sudo nano /script/mysqlbackup.sh At the start of the file add: #!/bin/bash On the next row write your script. Here are a few…

  • Configurate the network interface

    1. Configurate the IP-address # sudo nano /etc/network/interfaces/ config example: iface eth0 inet static address 192.168.0.100 netmask 255.255.255.0 gateway192.168.0.1 After the configuration is done restart the network interface: # sudo /etc/init.d/networking restart 2. Configurate the DNS # sudo nano /etc/reslov.conf config example: nameserver 192.168.0.2 nameserver 192.168.0.3

  • Installing a LAMP-server (LinuxApacheMysqlPHP)

    Here are som useful things to install and config when running a LAMP-server under Ubuntu JeOS. 1. Install Ubuntu JeOS. 2. Update aptitudes packetlist. # sudo aptitude update 3. Update/Upgrade the system. # sudo aptitude full-upgrade -y 4. If the kernel was updated, restart the system. # sudo reboot 5.  Install SSH # sudo aptitude…

  • Virtual host config

    Virtual hosts in Apache are the same thing as host headers in Windows IIS, allowing the admin to have multiple websites on one webserver with one IP-address. 1. Create a folder for the new virtual host. # sudo mkdir /var/www/www.mysite.com 2. Change owner on the virtual host folder. www-data is the same as IUSR under…