Skip to main content

Posts

Anonymous FTP in Linux.

  FTP server with different features:– 1. first it should be integrated with the AD server i.e exchange server. 2.anonymous user can access the server. 3.anonymous user can only able to upload the file and unable to view other files or folders except /incoming dir. 4.AD account user can able to see all the content of the file i.e /incomming and /outgoing. below is the /etc/vsftpd/vsftpd.conf settings =============================================== [root@Anonymoustest ~]# cat /etc/vsftpd/vsftpd.conf anonymous_enable=YES anon_upload_enable=YES local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES xferlog_std_format=YES chroot_local_user=NO chroot_list_enable=YES chroot_list_file=/etc/vsftpd/chroot_list listen=YES local_root=/outgoing pam_service_name=vsftpd userlist_enable=YES tcp_wrappers=YES user_config_dir=/etc/vsftpd/users chown_upload_mode=0664 anon_umask=002 before setting these things please make sure the server sho...

Identifying the LUN details on AIX with Script.

  find out the lun details on AIX server use the below commands and scripts. [root@ai1028:/home/root]# lsdev | grep hdisk hdisk0 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk1 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk2 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk3 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk4 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk5 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk6 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk7 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk8 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk9 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk10 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) hdisk11 Available 04-T1-01 XP MPIO Disk P9500 (Fibre) i=12 means, 12 hdisks are there on the server [root@ai1028:/home/root]# i=0;while((i<=12));do lscfg -vpl hdisk$i |grep -i hdisk;((i=$i+1));done hdisk0 U8408.E8D.107031T-V8-C604-T1-W50060E80166F8D32-LB000000000000 XP MPIO Disk P9500 (...

Cobalt Environment and work flow

  Consule —————- 1) Traditional methods do not resolve the app's name . in this method, load balancer can resolve, but it is in round-robin fission. if we did any modification it won't update the dynamical but console having an extra feature where there is a Registry that manages all the app info and availability details. 2)Discovery and service configuration tools 3)Container Pilot should use consul for service management Nomad ========== 1)for control deployment and scheduler .hcl format. Service management tool Nomad should be used for managing the containers on one or more servers/clusters. Vault ========= Tool for securely accessing and storing secrets The new component of AN could make use of the latest technology offer by Cobalt to manage the secret AN is only planned for development hence it should not adopt this technology as it will not be accessible in production. cypherstore–is the authorization used by mon servers. What is OAuth? Oauth-token base authentication TTL...

AWS EC2 basics

  EC2 (Elastic compute cloud) part-1 ====================================== Amazon EC2 provides scalable computing capacity in the AWS cloud. —> you can use Amazon EC2to launch as many or as few virtual servers as you need, configure security and networking and manage storage —> Amazon EC2 enables you to scale up or scale down the instance —> Amazon EC2 is having two storage options I.e EBS and instance store. —>Pre configured templates are available know as Amazon machine image —>By default, when you create an ec2 account with Amazon, your account is limited to a max of 20 instances per EC2 region, with 2 default High I/O instances. TYPES of EC2 Instances: ——————————————— General-purpose:- Balanced memory and CPU Compute Optimised:- More CPU, than RAM Memory Optimised:- More RAM Storage Optimised:-Low latency Accelerated Computing:- Graphics optimized High memory:-High RAM Nitro System Previous Generation:- EC2 (Elastic compute cloud) part-2 ========================...