Upgrade magento 2 to latest version

Upgrade magento 2 to latest version

Upgrade magento 2 to latest version Note : Before running upgrade should have to take database and file backup. To upgrade magento 2 from UI you have to follow below mentioned document. http://devdocs.magento.com/guides/v2.0/comp-mgr/upgrader/upgrade-start.html To upgrade magento 2 with composer or command line or SSH use below mentioned command. First of all you you need to update composer. composer update After that check magento version if version is still same use below mentioned command. You have to update magento installer first so apply below mentioned command. composer require magento/magento-composer-installer composer require magento/product-community-edition '2.0.*' --no-update Now you have to run composer update command so it will upgrade php dependency and latest magento packages. composer update Now after done with upgrading all magento and php packages you have to run run below command to make sure that all database base updates are done. php bin/magento setup:upgrade Enjoy your magento 2 should upgraded in latest magento...
Install ClamAV and Scan Viruses with ClamAV

Install ClamAV and Scan Viruses with ClamAV

Installing ClamAV in UBUNTU sudo apt-get install clamav After installation you have to update ClamAV sudo freshclam For scan viruses you have to use below mentioned command. clamscan OPTIONS File/Folder Below mentioned command will check all files in root and displaying the name of each file: clamscan -r / Below mentioned command will check all files in root but only display infected files and ring a bell when found: clamscan -r --bell -i / Below mentioned command will check all files in root but only display infected files when found and have this run in the background: clamscan -r -i / & Below mentioned command will check files in the all users home directories: clamscan -r /home Below mentioned command will check files in the USER home directory and move infected files to another folder: clamscan -r --move=/home/USER/VIRUS /home/USER Below mentioned command will check files in the USER home directory and remove infected files (WARNING: Files are gone.): clamscan -r --remove /home/USER To see all available help options: clamscan --help Note: To see running background process use below mentioned command....