Technology

A woman technologist who just likes to keep notes

main entry

LVM – Creating multiple FS with LVM where VG and LV name suffix with be numbers.

Posted by on 23 January 2020

for l in {b..y} do echo “pvcreate /dev/sd$l” pvcreate /dev/sd$l n=$(( $n + 1 )) done n=1 for l in {b..y} do echo “vgcreate vg_data$n /dev/sd$l” vgcreate vg_data$n /dev/sd$l n=$(( $n + 1 )) done for n in {1..24} do echo “lvcreate -l 100%PVS -n lvm_data$n vg_data$n” lvcreate -l 100%PVS -n lv_data$n vg_data$n done for […]

Continue reading »

Change the default directory for local and anonymous users on vsftp on CentOS 6 & 7

Posted by on 3 January 2020

To change the default login directory for anonymous user(s): [root@phantom ~]# vim /etc/vsftpd/vsftpd.conf anon_root=/Path to directory To change the default login directory for local user(s): [root@phantom ~]# vim /etc/vsftpd/vsftpd.conf local_root=/Path to directory NOTE: Don’t forget to set the SELinux context in case of enabled. [root@phantom ~]# setsebool -P allow_ftpd_anon_write on [root@phantom ~]# setsebool -P ftp_home_dir on You might need to […]

Continue reading »

Unix

Posted by on 3 January 2020

Everything that is related to Unix, mainly Solaris and Linux. Linux will cover mostly RHEL and the open source version of RHEL such as CentOS and Fedora

Continue reading »

side menu