07 May 2012 @ 2:49 PM 

Check what the current timezone is:

date

For example, the result is:

Mon May 7 17:42:57 EEST 2012

To change the timezone first look at what timezones are available by running the following command on the command line interface:

ls /usr/share/zoneinfo/

As a result you’ll see:


[root@host1 ~]# ls /usr/share/zoneinfo
Africa Australia Cuba Etc GMT0 Iceland Japan MST Poland right Universal Zulu
America Brazil EET Europe GMT-0 Indian Kwajalein MST7MDT Portugal ROC US
Antarctica Canada Egypt Factory GMT+0 Iran Libya Navajo posix ROK UTC
Arctic CET Eire GB Greenwich iso3166.tab MET NZ posixrules Singapore WET
Asia Chile EST GB-Eire Hongkong Israel Mexico NZ-CHAT PRC Turkey W-SU
Atlantic CST6CDT EST5EDT GMT HST Jamaica Mideast Pacific PST8PDT UCT zone.tab

Simply import new timezone:

cat /usr/share/zoneinfo/Europe/Kiev > /etc/localtime

or

rm /etc/localtime
ln –s /usr/share/zoneinfo/Europe/Kiev /etc/localtime

More »

Posted By: lvlind
Last Edit: 06 Oct 2016 @ 04:13 PM

EmailPermalinkComments Off on How to set date or change timezone on CentoS
Tags
Tags: ,
Categories: Uncategorized
 28 Apr 2012 @ 2:08 PM 

Just few steps for installation.

1. Create a 10Gb empty file with at /home/xen_image (change either size and location to fit your needs):

dd if=/dev/zero of=/home/xen_image bs=1M count=10240

2. We are installing Ubuntu 12.10 i386, actually you can install any other version of Ubuntu, you just need to download appropriate initrd.gz vmlinuz xm-debian.cfg, just browse folders from the link below:

http://nl.archive.ubuntu.com/ubuntu/dists/quantal/main/installer-i386/current/images/netboot-xen/netboot/xen/

For example Ubuntu 12.04 has codename precise, so installtion files for x64 version are in http://nl.archive.ubuntu.com/ubuntu/dists/precise/main/installer-amd64/current/images/netboot-xen/netboot/xen/
ok, now we need to download 3 files:

wget http://nl.archive.ubuntu.com/ubuntu/dists/quantal/main/installer-i386/current/images/netboot-xen/netboot/xen/initrd.gz
wget http://nl.archive.ubuntu.com/ubuntu/dists/quantal/main/installer-i386/current/images/netboot-xen/netboot/xen/vmlinuz
wget http://nl.archive.ubuntu.com/ubuntu/dists/quantal/main/installer-i386/current/images/netboot-xen/netboot/xen/xm-debian.cfg

Note: you should be in /

3. Edit xm-debian.cfg file and modify memory name vcpus vif disk
Note: recommended value for vif : vif = [”, ‘bridge=xenbr1’]

More »

Posted By: lvlind
Last Edit: 06 Oct 2016 @ 04:13 PM

EmailPermalinkComments Off on How to install Ubuntu 12.10 on XEN server
Tags
Tags: ,
Categories: Uncategorized
 11 Aug 2011 @ 8:14 AM 

To install ProFTP, its so easy on Centos:

y| yum install proftpd

Start ProFTP:

/etc/init.d/proftpd start

To add ProFTP to autorun:

chkconfig proftpd on

Add FTP account:

useradd USERNAME -g nobody -d /home/PATH -s /sbin/nologin
setting password
passwd USERNAME

Delete FTP account:
userdel USERNAME

Good luck =)

Posted By: lvlind
Last Edit: 06 Oct 2016 @ 04:14 PM

EmailPermalinkComments (0)
Tags
Tags: ,
Categories: Uncategorized

 Last 50 Posts
Change Theme...
  • Users » 1
  • Posts/Pages » 35
  • Comments » 0
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

About



    No Child Pages.

Need Help?



    No Child Pages.

Check your IP



    No Child Pages.