R71 IT Blog

Howto setup dynamic DNS

Howto setup dynamic DNS 150 150 Roderick Derks

Setup the config files for dhcp and Named. Clients (pc's, laptops) will get an ip address from a range you specified. You can also reserve specific ip address for static devices like serves or printers. The dhcp server daemon registers them to the Named server. I used Fedore 6, dhcpd and Named running in chroot…

read more

How to change the timezone in linux

How to change the timezone in linux 150 150 Roderick Derks

Most modern Linux distributions have user-friendly programs to set the timezone, often accesible through the program menus or right-clicking the clock in a desktop environment such as KDE or GNOME. Failing that it's possible to manually change the system timezone in Linux in a few short steps.  Logged in as root, check which timezone your…

read more

HPUX: restore files from an ignite backup

HPUX: restore files from an ignite backup 150 150 Roderick Derks

# mkdir cd /tmp/restore_etc# cd /tmp/restore_etc# mt -f /dev/rmt/0mn rew (terugspoelen)# mt -f /dev/rmt/0mn fsf 1 (fast forward)# tar xvf /dev/rmt/0m etc (restore directory)NO slash preceding "etc" # cp -R -p -i . /etc/Don't overwrite exisiting by pushing the N key Another way:# tar xvf /dev/rmt/0m etc/aliases (restore single file)NO slash preceding "etc"

read more

HPUX: Adjust sudo userprofiles

HPUX: Adjust sudo userprofiles 150 150 Roderick Derks

edit sudo userfile:#visudotoevoegde regels:user1  ALL=/usr/sbin/sam, /usr/bin/vi /etc/hostsuser2  ALL=/usr/sbin/sam, /usr/bin/vi /etc/hostsuser3    ALL=/usr/sbin/sam, /usr/bin/vi /etc/hosts  Edit .profile files of user user1, user2, user3:alias sam="/opt/iexpress/sudo/bin/sudo /usr/sbin/sam" This helps the user on the commandline to start SAM.Root rights for a normal user using sudo on /etc/hosts if you execute the command "sudo vi /etc/hosts".

read more

Unix: aanpassing sendmail

Unix: aanpassing sendmail 150 150 Roderick Derks

Aanpassing gedaan om in mail domein en servernaam te krijgen:@ELITIL1.elisabeth.nl ipv @elisabeth.nl. Zie hier hoe: <b>/etc/mail/sendmail.cf</b># my official domain name#Dj$w.Foo.COM#Dj$w.elisabeth.nl # masquarade as, aka site hiding(null for no masquerading)#DMelisabeth.nlDM

read more

EZHLIMS1: aanpassing restricted SAM

EZHLIMS1: aanpassing restricted SAM 150 150 Roderick Derks

Restricted SAM geintroduceerd voor account itakroot en beheer. Voor beide accounts alleen rechten in sam voor beheer van printers en users. <b># cat /home/itakroot/.profile</b>#alias sam="/opt/iexpress/sudo/bin/sudo /usr/sbin/sam"alias sam="/usr/sbin/sam" Eerste alias regel is niet meer nodig aangezien er niet meer met sudo wordt gewerkt. <b># visudo</b># toegang tot SAM voor de volgende users#itakroot  ALL=/usr/sbin/sam, /usr/bin/vi /etc/hosts#techdata  ALL=/usr/sbin/sam,…

read more

EZHLIMS1: user aanmaken

EZHLIMS1: user aanmaken 150 150 Roderick Derks

# useradd -g 101 -d /home/ajmhelvo -s /sbin/sh -c "Angela van Helvoirt"  ajmhelvo# vi /etc/passwd aanpassen:ajmhelvo:*:309:101:Angela van Helvoirt:/home/ajmhelvo:/sbin/shnaarajmhelvo:*:309:101:Angela van Helvoirt:/usr/cible1/files:/sbin/sh # passwd ajmhelvo

read more

Joomla: add or change a module position in a template

Joomla: add or change a module position in a template 150 150 Roderick Derks

To create a "new" position choose one of the names from the list of positions shown in site>template manager>module positions In your template add:   <?php mosLoadModules ( 'position_name'); ?> You will want to  surround it with approprate html so that it appears where you want it to and with the formatting you want. 

read more

FC6: disable IPv6 network support

FC6: disable IPv6 network support 150 150 Roderick Derks

Disable IPv6 Networking Support to decrease unneeded system load if you're not going to use it anyway. Edit /etc/sysconfig/network. (a restart of the network service is required) [root@server ~]$ vi /etc/sysconfig/network Change: NETWORKING_IPV6=yes To: NETWORKING_IPV6=no Disable IPv6 Protocol Stack for Kernel Edit /etc/modprobe.conf. [root@server ~]# vi /etc/modprobe.conf Add the following 2 lines: (a restart of…

read more

Joomla: sef service map google url

Joomla: sef service map google url 150 150 Roderick Derks

Here is the link you can use in the Google webmaster tool to add a sitemap created by SEF Service Map: http://<your site>/index2.php?option=com_sefservicemap&task=googlemap

read more

VMWare: Very slow network throughput Host->Guest but not Guest->Host

VMWare: Very slow network throughput Host->Guest but not Guest->Host 150 150 Roderick Derks

Host system is linux FC6 and my guest system is also FC6 using VMWare server. But this also could be a Debian host and a WXP guest system. I am using the bridged networking option and everything works great except for one very annoying thing. Network transfers moving files from host->guest over the network is…

read more

Java script: countdown clock

Java script: countdown clock 150 150 Roderick Derks

Add this script to you HTML webpage:   <!– START 08. HOME – CONTENT – Countdown (1291)–>  <script language="javascript">         var nowDate = new Date();        var eventDate = new Date("Dec 31 2006 23:59:59 +0100");                function update()         {            nowDate = new Date();                secondstogo=(eventDate-nowDate)/1000;      …

read more

    Your Name (required)

    Your Email (required)

    Subject

    Your Message

      Your Name (required)

      Your Email (required)

      Subject

      Your Message