- Enter BIOS (F9) and change SATA mode to b120i smart array raid controller.
- Create an array from physical drives.
- Check created logical volume as bootable.
- Create the hpvsa driver flash-drive. Do this with DD in Linux or in Windows with Win32DiskImager. Make sure to download the latest version of the hpvsa driver.
- hpvsa-1.2.14-113.rhel7u2.x86_64
- Connect the flash-drive with the hpvsa driver to the server.
- Boot from CentOS-DVD or make bootable usb centos 7
- Wait for "Install OS..." screen and press Esc.
- Type "linux modprobe.blacklist=ahci inst.dd" and hit Enter.
- You will see a firmware error. Ignore it.
- Select "r" to refresh the list. The hpvsa driver flash-drive should be in the list.
- Install the driver.
- Remove hpvsa driver flash-drive before continuing.
- Allow OS installer to load.
- After selecting a langauge the array should be available for use.
Showing posts with label tasinato daniele. Show all posts
Showing posts with label tasinato daniele. Show all posts
Saturday, December 3, 2016
CENTOS 7 HP PROLIANT SMART ARRAY DRIVER
Wednesday, January 2, 2013
VSFTPD Bloccare limitare user alla home directory
Spesso quando configuriamo un daemon ftp su linux abbiamo la necessità di limitare l'accesso dei nostri utenti solamente alla rispettiva home directory.
Nel nostro caso consideriamo di usare vsftpd
In una configurazione minimale ci troveremo nella situazione di avere un file vsftpd.conf del tipo
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
Ed un file chroot_list di configurazione in /etc/vsftpd/ contenente gli utenti chrooted
ad esempio
ftptestuser
E' importante ricordare se in vsftpd.conf settiamo:
chroot_local_user=YES
chroot_list_enable=YES
significa che di default TUTTI gli user saranno chrooted AD ECCEZIONE di quelli elencati nel file chroot_list
Invece se in vsftpd settiamo:
chroot_local_user=NO
chroot_list_enable=YES
significa che di default SOLAMENTE gli user elencati nel file chroot_list saranno chrooted
500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
allow_writeable_chroot=YES
Nel nostro caso consideriamo di usare vsftpd
In una configurazione minimale ci troveremo nella situazione di avere un file vsftpd.conf del tipo
#--------------------------------------------------
# VSFTPD configuration file, powered by Brokenpipe
#--------------------------------------------------
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
xferlog_file=/var/log/xferlog
xferlog_std_format=YES
idle_session_timeout=600
data_connection_timeout=120
ascii_upload_enable=YES
ascii_download_enable=YES
ftpd_banner=Welcome to Ftp service. Powered by Brokenpipe
chroot_local_user=NO
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
Ed un file chroot_list di configurazione in /etc/vsftpd/ contenente gli utenti chrooted
ad esempio
ftptestuser
E' importante ricordare se in vsftpd.conf settiamo:
chroot_local_user=YES
chroot_list_enable=YES
significa che di default TUTTI gli user saranno chrooted AD ECCEZIONE di quelli elencati nel file chroot_list
Invece se in vsftpd settiamo:
chroot_local_user=NO
chroot_list_enable=YES
significa che di default SOLAMENTE gli user elencati nel file chroot_list saranno chrooted
500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
allow_writeable_chroot=YES
Subscribe to:
Posts (Atom)