Home How To's

How To's

download Univention Corporate Server UCS

Last update by Olaf Schutze

download Univention Corporate Server UCS

Fill in required fields on https://www.univention.com/downloads/download-ucs/ and download the latest image

Register a .vn Doamin Name

Last update by Olaf Schutze

Register a .vn Doamin Name

To register a .VN Domain name with us, we still need manually gouvernment approval. Therefore, a fully automatic processing is not possible (yet). Vietnamese authorities require one or more of the following:

  • Name of corporation, business, organisation (copy registration/incorporation)
  • Name of owner/administrator (Id card)

Required Documentation/purpose should be submitted electroniacally to: info@it-bizz.net. The approval process will be done within government working days/hours only.
A request submitted on a Sunday, bank holiday, we will process on the next working day of the responsible organisation(s).

Install or Uninstall FrontPage Extensions

Last update by Olaf Schutze

Install or Uninstall FrontPage Extensions

This tutorial will show you how to install and uninstall FrontPage extensions.Please note that FrontPage Extensions should only be installed if you are using Microsoft' s FrontPage to build you web site!! This tutorial will assume that you are logged into your cPanel. If you are having trouble doing that, please see the tutorial named "How to Login to cPanel".

On the main page of your cPanel, scroll down to the section named Advanced.Click on the FrontPage Extensions icon.This will take you to a screen that will list your domain or domains, (if there are parked or add - ons in your hosting account), and the status of FrontPage Extensions on that domain.It will say Installed or not Installed.Next to the domain in the list is a button that says Install Extensions.Click that button.

That is all there is to it.You will be taken to a verification page, showing that the FrontPage Extensions are now installed, and ready for you to publish your web site to your hosting account.Click the Go Back button.The domain that has Front Page Extensions installed is now listed with the correct status of installed.Remember, extensions have to be installed separately for any Subdomain or add - on domain.

To uninstall the Extensions, click on the FrontPage Extensions icon.This takes you to the main screen, where you will find a list of domains, with FrontPage status listed.Find the one you wish to remove, and go across the list to Uninstall Extensions.Click on the button.This will take you to a verification screen.You can now Click the HOME button in the upper left corner, and return to the cPanel main page.This is the end of this tutorial.

You can now exit cPanel by closing your browser, or by using the Logout button in the upper right corner.Remember, if you are using a public computer, ALWAYS Logout of cPanel before closing due to security reasons.

Add more domains to your cPanel

Last update by Olaf Schutze

Add more domains to your cPanel

The first registered domain is part of your cPanl and can't be added, changed or removed by you. If this ever changes, please contact our support team. Additional domains/sub domains can be removed/changed and added,assumed your hosting account supports additional domain(s).
If you need help please feel free to contact our support team.

get the absolute path/root in a website

Last update by Olaf Schutze

get the absolute path/root in a website

/home/your_username is you absolute

Your webroot is /home/your_username/public_html

change my php.ini

Last update by Olaf Schutze

change my php.ini

Should you require any changes in you php.ini, please create a file new php.ini and place it in the root of your website. This will overwrite the standard settings.

use webpages designed with dreamweaver or frontpage

Last update by Olaf Schutze

use webpages designed with dreamweaver or frontpage

Yes. Dreamweaver & Frontpage are well supported, and can be used to build and publish websites on our servers. A guide for publishing your website with Frontpage is available in our support area.

Transfer a domain name

Last update by Olaf Schutze

Transfer a domain name

Transfering a domain is commonly the change of the domain registrar, e.g. you want to centralize all domain(s) management on a single point, have purchased an existing domain or sold one of your domains.
Many, not all domains having a tranfer code/pin code.... This code you have the rquest at your domain registrar (the place, your domain is registered) and/or provide to us, if you want to transfer (management) your domain to us, or want us, to change any information on it, in your behalf.

Renew a domain name

Last update by Olaf Schutze

Renew a domain name

Domain names are commonly registered at periodes of ONE, TWO,THREE, FIVE or TEN years. Not all domains can be registered for each period.
Costs for renwal will be due therefore repeated.
If you want to register other/longer periodes, please enter details in comments. We will do our utmost, to get it done.
Once a name is expired, you are commonaly granted a grace periode, to renew. This one ends commonly, about 3 month, after the domain name is expired.

backup all KVMs

Last update by Olaf Schutze

backup all KVMs

An easy one, to backup all KVMs in .qcow2 format, regardless of their current running state. We are backing here: All KVMs, which have changed during the past 24 hours. We skip not used or idle images

What we do here? We just unset/delete the VMs for time of backup and restore them immediately after, to avoid corruption. We keep 5 backups of each as maximum

#!/bin/bash
d="$(date +"%d-%m-%Y")"
workdir=/path/to/backup/destination
mkdir $workdir/$d
mydir=$workdir/$d
or DOM in `virsh list --all | tail -n +3 | awk '' | sort -u`
do
virsh dumpxml --security-info $DOM > $mydir/$DOM.xml
virsh undefine $DOM
virsh blockcopy $DOM hda $mydir/$DOM.qcow2 --wait --finish --verbose
virsh define $mydir/$DOM.xml
done
find /var/lib/libvirt/images -mtime +1 -exec cp "" $mydir \;
cd $workdir;
# keeping 5 sets ls -dt */ | tail -n +6 | xargs rm -rf
ls -dt */ | tail -n +4 | xargs rm -rf

Set Up A Cron Job

Last update by Olaf Schutze

Set Up A Cron Job

This tutorial is going to show you how to setup a cron job in cPanel the easy way.You can set a command or script to run at a specific time every day, week, etc.This tutorial will assume that you are logged into your cPanel.If you are having trouble doing that, please see the tutorial named "How to Login to cPanel".Scroll down to the Advanced Section on the main page of your cPanel, and click on the icon named Cron Jobs.This will take you to the main Cron Job page, where it lists two different experience levels to choose from: Standard and Advanced(Unix Style).This tutorial is going to teach the Standard approach.

Click on the Standard Button.This will take you to a screen showing a Standard Cron Manager.Every time a cron job runs, the results are sent to an email address.The top line asks for the email address where you would like the cron job results sent.Enter that address into the box.Below is a box marked Entry 1. The first line is Command to Run: with a box after.In the box you need to enter the command of the script you want to run, including the path(all the way from root) For example, a command might look like it.This command includes the entire path, all the way from the root directory.

Next, we need to specify the timing of the cron.We need to determine when and how often we want the script to run.There are boxes with different listings above them - Minute(s), Hour(s), Day(s), Month(s), Weekday(s). Using the information within each box, set the time, day, month, and day of the week you want your cron to run.When it is all set click the Save Crontab button.This will take you to a confirmation screen that will verify that your cron job has been set.Click on the Go Back link.

To return to the Standard Cron Manager at any time, click on the Standard button on the main Cron Job page.You can edit your cron, or delete it entirely by simply clicking on the delete button in the Entry box.You can also set up additional cron jobs.Return to your main cPanel page by clicking the HOME link in the upper left corner.

This is the end of the tutorial.You now know how to setup Cron Jobs the easy way, and then edit them, delete them, or add additional ones.You can add as many as you wish, but REMEMBER, Cron Jobs have the potential to take up a lot of server resources.You can now exit cPanel by closing your browser, or by using the Logout button in the upper right corner.Remember, if you are using a public computer, ALWAYS Logout of cPanel before closing due to security reasons.

block adservers (linux, fight advertising)

Last update by Olaf Schutze

block adservers (linux, fight advertising)

We find currently a totally out-of-control world of advertising and spam. Advertising and spam generating a whopping ~75% of all internet traffic. It's time, to take control back.

A good working sample:

#Before you begin, you should copy once your good working /etc/hosts to /etc/hosts00 manually!

#START SCRIPT

#downloading a maintained list of ad servers added to a a hosts file
$ wget -O /tmp/hosts https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts;
#blacklisted servers will be white listed, as we need it
$ grep -v "analytics.google.com" /tmp/hosts > temp && mv temp /tmp/hosts;
$ grep -v "googletagmanager" /tmp/hosts > temp && mv temp /tmp/hosts;
$ grep -v "googletagservices.com" /tmp/hosts > temp && mv temp /tmp/hosts;
#filtering for all lines starting with 0.0.0.0, that is all, what we want
$ sed -n '/^0.0.0.0/p' /tmp/hosts > temp && mv temp /tmp/hosts;
#sorting the banned entries, in case, we need some more to white list
$ sort /tmp/hosts > temp && mv temp /tmp/hosts;
#overwriting the current /etc/hosts with /etc/hosts00 and adding the filterd and sorted content
$ cat /etc/hosts00 /tmp/hosts > /etc/hosts;
# cleaning up
$ rm -f /tmp/hosts temp

Finally create a cronjob as root and set it to run maybe once a week

fix users Roaming Profiles if they don't loading correctly after ftp/move

Last update by Olaf Schutze

fix users Roaming Profiles if they don't loading correctly after ftp/move

delay a javascript for time x

Last update by Olaf Schutze

delay a javascript for time x

setTimeout(function(), 3000);

execute a javascript after all others are done

Last update by Olaf Schutze

execute a javascript after all others are done

$(window).bind("load", function() );

register a .VN - Vietnamese Domain name / extension

Last update by Olaf Schutze

register a .VN - Vietnamese Domain name / extension

Domain names can be registered with us (we have~ 200 world wide extansions available) whilst registering with us or at any external source. We do accept free domains as well as paid domains. The appropiate DNS settings are automatically applied for domains, registered through us. If you (let) manage your domain externally, please refer to you welcome email dor the correct DNS settings.

Domain names commonly (with very few exceptions) automatically processed. Changes or refunds are NOT POSSIBLE. We can not correct/change any writings.

Vietnamese domain extensions .VN have to follow a different procedure.

International Domain Names / Extensions, you can register via our Products Service | Shop

Univention UCS - Basic installation

Last update by Olaf Schutze

How to install Univention UCS, Basic installation

  • Download the Univention Corporate Server UCS (free usage in for private an corporate environments)
  • Prepare your VM or server. Don't have a server to try? Try the online demo of Univention Corporate Server UCS
  • Burn the downloaded image to CD or burn it to a USB drive
  • Start the installation
  • Apply desired settings, as not all default settings might need your needs
  • Done
  • Register your server, a licence will be mailed to you within moments, install ther licence
  • Review your installation and add/remove applications via the App Center
  • Done and finished

The total  time for this process varies and depends on your hardware and the chosen software selection

IT Bizz.Net Tags:

#univention #univention ucs #univention corporate server ucs #univention vietnam #univention partner vietnam #vietnam open source #foss #devops #data science #security #network security #network security vietnam #open source