Account A
Account B
Requreriment Account A mail Copy to Account B
Select All the Mail Right Click And Copy or Move to another Mail
Step 1
1 - apt-get install vsftpd
2 - vim /etc/vsftpd.conf
3 - changes
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES ( First One )
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
pasv_enable=YES
port_enable=YES
pasv_min_port=1024
pasv_max_port=1048
pasv_address=0.0.0.0
Note - 0.0.0.0 will be your be your public IP
Step 2
Add Port in your Security Group
tcp 20-21
tcp 1024-1048
Step 3 echo 'allow_writeable_chroot=YES' >> /etc/vsftpd.conf
Done
[ec2-user ~]$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvdf 202:80 0 100G 0 disk
xvda1 202:1 0 8G 0 disk /
Step 2
mkdir /data
Step 3
mount /dev/xvda1 /data
$ brew install siege
|
~ $ siege.config
New configuration template added to /home/andrew/.siegerc
Run siege -C to view the current settings in that file
~ $ siege -c10 -d10 -r1 -v http://www.harish.com/
** SIEGE 2.72
** Preparing 10 concurrent users for battle.
The server is now under siege...
HTTP/1.1 200 0.12 secs: 4123 bytes ==> /
HTTP/1.1 200 0.11 secs: 4123 bytes ==> /
HTTP/1.1 200 0.11 secs: 4123 bytes ==> /
HTTP/1.1 200 0.12 secs: 4123 bytes ==> /
HTTP/1.1 200 0.11 secs: 4123 bytes ==> /
HTTP/1.1 200 0.13 secs: 4123 bytes ==> /
HTTP/1.1 200 0.11 secs: 4123 bytes ==> /
HTTP/1.1 200 0.11 secs: 4123 bytes ==> /
HTTP/1.1 200 0.12 secs: 4123 bytes ==> /
HTTP/1.1 200 0.11 secs: 4123 bytes ==> /
done.
Transactions: 10 hits
Availability: 100.00 %
Elapsed time: 8.12 secs
Data transferred: 0.04 MB
Response time: 0.11 secs
Transaction rate: 1.23 trans/sec
Throughput: 0.00 MB/sec
Concurrency: 0.14
Successful transactions: 10
Failed transactions: 0
Longest transaction: 0.13
Shortest transaction: 0.11
|