Replace IP ON TIP vsftpd.conf file
For New install : sudo apt-get install vsftpd
FTP Port config on EC2 instance
TCP 20-21
TCP 1024-1048
PUTTY
update command
#apt-get update
#sudo su
add this in
#nano /etc/vsftpd.conf
anonymous_enable=NO
write_enable=YES
local_enable=YES
pasv_enable=YES
pasv_min_port=1024
pasv_max_port=1048
port_enable=YES
pasv_address=54.151.195.180
pasv_addr_resolve=YES
chroot_chroot_local_user=YES
service vsftpd restart
or
sudo /etc/init.d/vsftpd restart
sudo adduser ftpuser
root folder access
sudo usermod -d /opt/bitnami/apps/ dhamu
write_enable=YES
sudo chmod a+rwx /opt/bitnami/apps/magento/htdocs/var/import_history
Connecting to the MySQL Command-Line Tool
$ mysql --user=username
ToGRANT ALLprivileges to auser, allowing that user full control over a specificdatabase, use the following syntax:
mysql> GRANT ALL PRIVILEGES ON magento2.* TO 'root'@'localhost';Creating Another Super User
While not particularly secure, in some cases you may wish to create another ‘super user’, that has ALL privileges across ALL databases on the server. That can be performed similar to above, but by replacing thedatabase_namewith the wildcard asterisk:mysql> GRANT ALL PRIVILEGES ON *.* TO 'tolkien'@'%';Nowtolkienhas the same privileges as the defaultrootaccount, beware!Saving Your Changes
As a final step following any updates to the user privileges, be sure to save the changes by issuing theFLUSH PRIVILEGEScommand from themysqlprompt:mysql> FLUSH PRIVILEGES; Query OK, 0 rows affected (0.01 sec)Magento image upload not working even after giving all folders 777 permissions
pub/media/catalog/pub/media/catalog/categorypub/media/catalog/productpub/media/imagespub/media/wysiwyg/
