{"id":15921,"date":"2019-08-14T19:23:49","date_gmt":"2019-08-14T23:23:49","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/misc-ubuntu-aws-plesk-swap\/"},"modified":"2019-08-14T19:23:49","modified_gmt":"2019-08-14T23:23:49","slug":"misc-ubuntu-aws-plesk-swap","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=15921","title":{"rendered":"Misc, Ubuntu, AWS, Plesk, Swap"},"content":{"rendered":"<h1><a href=\"https:\/\/askubuntu.com\/questions\/94102\/what-is-the-difference-between-apt-get-update-and-upgrade\">What is the difference between apt-get update and upgrade?<\/a><\/h1>\n<p><a href=\"https:\/\/askubuntu.com\/questions\/94102\/what-is-the-difference-between-apt-get-update-and-upgrade\">https:\/\/askubuntu.com\/questions\/94102\/what-is-the-difference-between-apt-get-update-and-upgrade<\/a><\/p>\n<p>&#8212;<\/p>\n<h1>How to install PHP (7, 7.2 or 7.3) on Ubuntu<\/h1>\n<p><a href=\"https:\/\/thishosting.rocks\/install-php-on-ubuntu\/\">https:\/\/thishosting.rocks\/install-php-on-ubuntu\/<\/a><\/p>\n<p>&#8212;-<\/p>\n<h1>How To Add Swap on Ubuntu 14.04<\/h1>\n<p><a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-add-swap-on-ubuntu-14-04\">https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-add-swap-on-ubuntu-14-04<\/a><\/p>\n<p>&#8212;-<\/p>\n<h1>Fix \u2018E: Could not get lock \/var\/lib\/dpkg\/lock\u2019 Error in Ubuntu [Quick Tip]<\/h1>\n<p><a href=\"https:\/\/itsfoss.com\/could-not-get-lock-error\/\">https:\/\/itsfoss.com\/could-not-get-lock-error\/<\/a><\/p>\n<p>&#8212;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is the difference between apt-get update and upgrade? https:\/\/askubuntu.com\/questions\/94102\/what-is-the-difference-between-apt-get-update-and-upgrade &#8212; How to install PHP (7, 7.2 or 7.3) on Ubuntu https:\/\/thishosting.rocks\/install-php-on-ubuntu\/ &#8212;- How To Add Swap on Ubuntu 14.04 https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-add-swap-on-ubuntu-14-04 &#8212;- Fix \u2018E: Could not get lock \/var\/lib\/dpkg\/lock\u2019 Error in Ubuntu [Quick Tip] https:\/\/itsfoss.com\/could-not-get-lock-error\/ &#8212;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[182],"tags":[],"class_list":["post-15921","post","type-post","status-publish","format-standard","hentry","category---blog","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":78403,"url":"http:\/\/bangla.sitestree.com\/?p=78403","url_meta":{"origin":15921,"position":0},"title":"How to install a DHCP Server in Ubuntu:","author":"Sayed","date":"August 27, 2025","format":false,"excerpt":"How to install a DHCP Server in Ubuntu: Use these commands and steps in sequence: # Make sure you have an IP address. # If not, please assign an IP address (you can use netplan) # see the next section how to assign an IP address. sudo apt update &&\u2026","rel":"","context":"In &quot;Computer Networks&quot;","block_context":{"text":"Computer Networks","link":"http:\/\/bangla.sitestree.com\/?cat=1978"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-15.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":71502,"url":"http:\/\/bangla.sitestree.com\/?p=71502","url_meta":{"origin":15921,"position":1},"title":"Upgrade ubuntu 16 to ubuntu 18: AWS lightsail : challenges and solutions","author":"Sayed","date":"October 17, 2021","format":false,"excerpt":"Must read: AWS Lightsail upgrade Ubuntu 16.04 LTS to 18.04 LTS https:\/\/www.cyberciti.biz\/faq\/aws-lightsail-upgrade-ubuntu-16-04-lts-to-18-04-lts\/ Promising: SSH not working post upgrade to Ubuntu 18.04 from 16.04 [AWS Lightsail] https:\/\/community.bitnami.com\/t\/ssh-not-working-post-upgrade-to-ubuntu-18-04-from-16-04-aws-lightsail\/76827 Instance firewalls in Amazon Lightsail https:\/\/lightsail.aws.amazon.com\/ls\/docs\/en_us\/articles\/understanding-firewall-and-port-mappings-in-amazon-lightsail Well: Upgrade from 2.2.3 to 2.4.1 direct? needs Ubuntu 18 to get php latest. you can just get\u2026","rel":"","context":"In &quot;\u09ac\u09cd\u09b2\u0997 \u0964 Blog&quot;","block_context":{"text":"\u09ac\u09cd\u09b2\u0997 \u0964 Blog","link":"http:\/\/bangla.sitestree.com\/?cat=182"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":78410,"url":"http:\/\/bangla.sitestree.com\/?p=78410","url_meta":{"origin":15921,"position":2},"title":"How to configure a DHCP Client in Ubuntu","author":"Sayed","date":"August 27, 2025","format":false,"excerpt":"How to configure a DHCP Client in Ubuntu #Step 1: Install it sudo apt update sudo apt install isc-dhcp-client #Step 2: Check that your Ubuntu is configured as a DHCP client # Step 3: Run it on your interface sudo dhclient -v enp0s3","rel":"","context":"In &quot;Computer Networks&quot;","block_context":{"text":"Computer Networks","link":"http:\/\/bangla.sitestree.com\/?cat=1978"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/08\/image-20.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":21831,"url":"http:\/\/bangla.sitestree.com\/?p=21831","url_meta":{"origin":15921,"position":3},"title":"Some Ubuntu Linux Commands used in AWS platform #Unix\/Linux #RHCSA","author":"Author-Check- Article-or-Video","date":"March 7, 2021","format":false,"excerpt":"Some Ubuntu Linux Commands used in AWS platform Some might be run by the parent commands This is kinda cleaned up from .bash_history (removed repeating and sensitive commands), still not perfectly cleaned up - so you will see lots of ls, cd, dir or similar \u00a0 sudo apt-get update sudo\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":15811,"url":"http:\/\/bangla.sitestree.com\/?p=15811","url_meta":{"origin":15921,"position":4},"title":"Linux : Magento : AWS: SWAP : Update Magento and Misc","author":"Sayed","date":"August 13, 2019","format":false,"excerpt":"Swap Script: https:\/\/github.com\/Cretezy\/Swap\/blob\/master\/swap.sh How To Add Swap on Ubuntu 14.04 https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-add-swap-on-ubuntu-14-04 AWS, Magento Update, Memory Error https:\/\/devdocs.magento.com\/guides\/v2.3\/comp-mgr\/trouble\/cman\/out-of-memory.html","rel":"","context":"In &quot;Magento 2&quot;","block_context":{"text":"Magento 2","link":"http:\/\/bangla.sitestree.com\/?cat=1907"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":26156,"url":"http:\/\/bangla.sitestree.com\/?p=26156","url_meta":{"origin":15921,"position":5},"title":"Linux : Magento : AWS: SWAP : Update Magento and Misc #Root","author":"Author-Check- Article-or-Video","date":"April 18, 2021","format":false,"excerpt":"Swap Script: https:\/\/github.com\/Cretezy\/Swap\/blob\/master\/swap.sh How To Add Swap on Ubuntu 14.04 https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-add-swap-on-ubuntu-14-04 AWS, Magento Update, Memory Error https:\/\/devdocs.magento.com\/guides\/v2.3\/comp-mgr\/trouble\/cman\/out-of-memory.html From: http:\/\/sitestree.com\/linux-magento-aws-swap-update-magento-and-misc\/ Categories:RootTags: Post Data:2019-08-13 15:02:05 Shop Online: https:\/\/www.ShopForSoul.com\/ (Big Data, Cloud, Security, Machine Learning): Courses: http:\/\/Training.SitesTree.com In Bengali: http:\/\/Bangla.SaLearningSchool.com http:\/\/SitesTree.com 8112223 Canada Inc.\/JustEtc: http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) Shop Online: https:\/\/www.ShopForSoul.com\/ Medium: https:\/\/medium.com\/@SayedAhmedCanada","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/15921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15921"}],"version-history":[{"count":0,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/15921\/revisions"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15921"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}