Skip to main content

Posts

Showing posts from November, 2018

How To Create an Amazon Cloud S3 Bucket? And URLs to access a bucket.

Introduction To upload data to Amazon S3, you must create a bucket in one of the AWS Regions to store data. After you can upload an unlimited number of data objects in the bucket. To create an S3 bucket Sign in to the AWS Management Console and open the Amazon S3 console at  https://console.aws.amazon.com/s3/ Choose  Create bucket . Name and region  page, enter the name of the bucket, and then select the AWS Region to place the bucket. Please complete the following fields of this page. In  Bucket Name , type the DNS-compliant name for the new bucket. Please follow the naming guidelines below. .     Bucket names must be unique across all existing bucket names in Amazon S3. . The name must start with a lowercase letter or number. .     The name must not contain uppercase characters. . The name must be between 3 and 63 characters long. Once you've created a bucket, make a wise choice because you can not change its name. URL pointing to an object placed in the bucket to bucket names ar

Amazon Cloud Linux Server EC2 Instance Launch steps

Introduction: Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the Amazon Web Services (AWS) cloud. Using Amazon EC2 eliminates your need to invest in hardware up front, so you can develop and deploy applications faster. In this blog, You can learn how we can Launch EC2  instance in AWS Start with l og   into the  AWS Management Console .  Open the Amazon EC2 console by choosing EC2 under Compute . 1)  Launch an Amazon EC2 instance. In the Amazon EC2 Dashboard, choose "Launch Instance" to create and configure your virtual machine. 2)  Configure your instance. Here , you have the option to configure your instance   features. Check some guidelines on setting up your first   instance. Choose an Amazon Machine Image (AMI): An AMI is a template that contains the software   configuration (operating system, application server, and applications) required to launch your instance. You can select an AM

What is a CDN ? How Does a content delivery network Work?

I ntroduction. Latest Web sites and applications often need to provide   amount of static content to end users. This content includes images, style sheets, JavaScript, and video. The increase in the number of static assets and the increase grows the bandwidth usage increases page load time decreased, depending on the size of the user's search experience, and reduce the usable capacity of the server. Dramatically improving performance, reducing the page load time   reduce the bandwidth and infrastructure costs, you can implement a content delivery network,  And  CDN cache these assets at a set of servers that are geographically distributed. What is a CDN? Content delivery network is a group of servers distributed geographically optimized to provide static content to end users. While this static content can be almost any type of data, CDNs are most commonly used to deliver web pages and related files, streaming video and audio, and large software packages. A

VestaCP (open source hosting control panel) Installation In Ubuntu Server

Introduction: VestaCP is an open source hosting control panel. VestaCP provides the ability to manage a domain, DNS, mail, database, Cron jobs, such as backup. In this article, We are going install VestaCP with Apache web server, Mysql for database, iptables for Firewall security, vsftpd for FTP server, named for DNS.    Server Minimum Requirements:    RAM 512Mb HDD 20Gb  CPU 1Ghz Before Installation Requirements: Run update and upgrade command first. command: sudo apt-get update   sudo apt-get upgrade VestaCP Installation setps: To download the vesta installation script, enter the following command in a terminal: command: curl -O http://vestacp.com/pub/vst-install.sh Now we have to Generate Install Command. Open https://vestacp.com/install/ After selecting your install settings click the Generate Install Command button. This generated command, You can generate command according to your requirements. bash vst-install.sh --nginx no --apache yes --phpfpm no --named yes --remi no --vsftp

Understanding ls command in Linux

To list all files in a folder, open a terminal and type: command: ls You can also specify the path as part of the ls command as follows: ls /path/to/file By default, files and folders are listed in a column on the screen only displays the file name. Hidden files (files that start with a full stop) is not automatically displayed by the ls command. Instead, you must use the following command: ls -a ls --all To omit it from the list of files, you can use uppercase A instead of lowercase a as follows: ls -A ls --almost-all Specific commands like mv and cp command, the command is used to move and copy files and has a switch that can be used with commands to create a backup of the original file. These backup files usually end with a tilde (~). To omit backup files (files ending with a tilde) run the following command: ls -B ls --ignore-backups If you want a more detailed output you can use the following switch: l

How to install FTP server (vsftpd) in REDHAT/CENTOS

Introduction : Ftp is a service that allows you to remotely log in to the server. This service is often used in the Windows environment, as well as Linux. Ftp directory can be accessed via the graphical client, command line or a web browser. Install vsftpd package by below command: yum install vsftpd -y chkconfig vsftpd on Create one directory Eg: /ftp_data by below command, where ftp user will save it’s all files: mkdir /ftp_data Create one user Eg: ftp_user by below command:   useradd -d /ftp_data -s /sbin/nologin ftp_user passwd ftp_user setfacl -m u:ftp_user:rwx /ftp_data Now open vsftpd.conf:   nano  /etc/vsftpd/vsftpd.conf Make below changes in vsftpd.conf file: anonymous_enable=no 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=YES listen=YES pam_service_name=vsftpd userlist_enable=YES tcp_wrappers=YES Restart service of FTP by below command: /etc/init.d/vsftpd restart No