среда, 16 ноября 2016 г.

resizing lvm partition after cloning hdd


1. deactivating
vgchange -a n my_volume_group

2. resize with parted

3. activating
vgchange -a y my_volume_group

4. pvresize pv_partition

5. lvextend -L +100%FREE lv_partition

6. resize2fs /dev/vg_partition/lv_partition

resizing lvm partition


1. deactivating
vgchange -a n my_volume_group

2. resize with parted

3. activating
vgchange -a y my_volume_group

4. pvresize pv_partition

5. lvextend -L +100%FREE lv_partition

6. resize2fs /dev/vg_partition/lv_partition

понедельник, 11 апреля 2016 г.

fixing "oops cannot change directory vsftpd" (Centos)

Open console an enter:
setsebool -P ftp_home_dir on

or if you want always allow full access:
setsebool -P allow_ftpd_full_access 1

pcfg_openfile: unable to check htaccess file, ensure it is readable selinux

Open console and enter:
chcon -t httpd_sys_rw_content_t /home/our_site.com/ -R

среда, 9 марта 2016 г.

zimbra GAL Multi Domain

1. su - zimbra
2. zmprov mcf zimbraGalInternalSearchBase ROOT
3. zmprov mcf zimbraGalSyncInternalSearchBase ROOT

Default: DOMAIN