CentOS

S3cmd on CentOS 7

S3cmd is a command line tool that we’ve used for uploading, retrieving and managing data in Amazon S3. To install S3cmd, you just need to run the install command. yum install s3cmd

<span title='2020-03-20 12:00:00 +0800 +0800'>March 20, 2020</span>
CentOS

S3cmd on CentOS 6

S3cmd is a command line tool that we’ve used for uploading, retrieving and managing data in Amazon S3. To install S3cmd, you would need to download the .repo for the tool, and then, run install. cd /etc/yum.repos.d wget http://s3tools.org/repo/RHEL_6/s3tools.repo yum install s3cmd Answer yes when asked to accept a new GPG key. Note: The latest version of s3cmd requires python 2.6. If you come across this error Problem: ImportError: No module named S3.Exceptions, chances are, you do not have the correct version. One work around is as follows:- ...

<span title='2016-03-30 12:00:00 +0800 +0800'>March 30, 2016</span>
CentOS

Running FTP on CentOS

Here’s how you can easily setup FTP on CentOS yum install vsftpd Added these to the security group if you are running AWS EC2 Add port range 20-21 Add port range 1024-1048 vi /etc/vsftpd/vsftpd.conf Set anonymous_enable=NO Set chroot_local_user=YES Add these pasv_enable=YES pasv_min_port=1024 pasv_max_port=1048 pasv_address=<Public IP of your instance> sudo service vsftpd restart To make sure that the service is started on reboot chkconfig --level 345 vsftpd on Create new FTP User useradd -d /path/to/new/home/dir -G apache userNameHere chown userNameHere:apache /path/to/new/home/dir passwd userNameHere The log file can be found in /var/log/xferlog ...

<span title='2016-03-11 20:00:00 +0800 +0800'>March 11, 2016</span>