Showing posts with label Upgrade. Show all posts
Showing posts with label Upgrade. Show all posts

November 06, 2025

Migrate from Nginx to Caddy for SSL auto-renewal in Amazon AWS EC2

 Dear friends,

Today, we will see a simple migration with less configuration of SSL auto-renewal.

I was using Nginx for SSL auto-renewal using certbot. Every 90 days, the renewal code should run, I made one more service it.

I have come across Caddy, which does an auto-renewal of SSL automatically with certbot. Reducing efforts and making the system smooth.

Follow the steps below

Stop and disable the Nginx

sudo systemctl stop nginx

sudo systemctl disable nginx

Install the Caddy

In EC2, if you are running Amazon Linux, then execute the following to install Caddy.

    sudo yum -y install yum-plugin-copr

    sudo yum -y copr enable @caddy/caddy epel-8-$(arch)

    sudo yum -y install caddy

Edit and configure the Caddyfile

Usually, it will be in the path /etc/caddy/Caddyfile

sudo vi /etc/caddy/Caddyfile

I have only one server that is running locally. So, my configuration is easy

domain_name {

    reverse_proxy localhost:port

}

You can configure more with your existing Nginx sites-enabled reference.

Happy SSLing.

If you like the blog or want to comment, kindly reach out to psrdotcom@gmail.com


February 02, 2022

Ubuntu - update NPM and NodeJS

Hi folks,

Some people often confuses with NPM update vs Node.js update.

Let me clarify that, NPM (Node Package Manager) is a CLI (Command Line Interface) to manage the JS (JavaScript) packages from https://www.npmjs.com/ or any other external package managers like GitHub.

Node.js is a FrontEnd JavaScript Framework like Vue.js, AngularJS which helps to build the scalable network applications. Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

NVM (Node Version Manager) and n are command line utilities to manage and switch between Node.js versions.

When you are installed for the first time, you will be installing Node.js from https://nodejs.org/en/download/ which also installs NPM CLI utility.


But when upgrading the NPM or Node.js, it's a different story.


Update NPM

npm install -g npm

Update Node.js with Node version manager (n)

Install the n

sudo npm install -g n

Update the Node.js to stable version

sudo n stable

As of now, the stable version is 16.3.2 which includes NPM 8.1.2

Update the Node.js to current version

sudo n current

As of now, the current version is 17.4.0 with NPM 8.3.1


Check the versions

NPM

npm --version

Node.js

node --version


Hope this helps you to understand the NPM and Node.js difference along with update of individual components.

Send your comments and feedback to psrdotcom@gmail.com

 

November 17, 2021

Extend Ubuntu VM hard disk space/size

 Hi all,


Today I will explain about the process to extend and existing disk space in Ubuntu VM.

Environment

  1. VMWare
  2. Ubuntu

Context

Increase hard disk space more than initially configured for the Ubuntu VM.

Reason

VM hard disk might running out of space.

Procedure

  • Make sure we have shutdown the Ubuntu VM
  • Increase the hard disk size
    • Make sure it's in the allowed range
  • Start the VM
  • Open the Disks application in Ubuntu
  • In below example we are extending it by additional 3GB
  • Select the Extended Partition block
  • Click Settings (Gear) icon
  • Choose Resize option
  • Use the increment (+) icon or scroll bar to increase the partition size
  • Click on Resize button
  • Enter credentials when prompted
  • By now, the extended partition will be increased
  • Time to select the file system, where exactly our data is getting stored
  • We will repeat the process of resizing like earlier
  • Using scrollbar increase the disk size
  • Click on the Resize button
  • The harddisk size is been reflected.
Hurray !! You have increased your hard disk size to store more data on the Ubuntu VM.

The same process can be used for normal Ubuntu OS also.

Please send your comments and feedback to psrdotcom@gmail.com

January 03, 2016

Nexus 7 Files accessing (storage drive) issue fix after upgrading to Marshmallow

Hi friends,

Today when I connected my Nexus 7 tab, I was unable to see the drive and folder structure. But in the file explorer it is able to detect the Nexus 7 by showing the icon. When you double click to view the files, there is nothing.
  1. After googling, the following solutions worked for me.
  2. Go to device management
  3. Right click Android ADB Interface and do uninstall
  4. After uninstalling the drivers, change the USB type in Nexus to PTP and immediately change to MTP
  5. Unplug and plug the Nexus to your PC
  6. Now the system will re-install the driver
Hope, this post will be useful when OS upgraded and unable to access file system of device

Android 6.0.1 Upgrade fix

After installing the driver, device might be recognized but we need to change the "Use USB for options" from any one of the following options

Notification Panel

  1. Select the "USB for file transfer - Touch for more options"
  2. You will be prompted to choose any one of the following
    • Charging
    • File transfers
    • Photo transfers
    • MIDI
  3. Select File transfers to see the "Internal Storage"

Developer Options

  1. Go to "Settings->Developer Options"
  2. Go to "Select USB Configuration" setting
  3. Choose "MTP (Media Transfer Protocol)" for transferring the files
Now you should be able to see the file storage in explorer

Please send your feedback and comments to psrdotcom@gmail.com

January 13, 2014

Windows 8.1 Pro Upgrade Keyboard Layout, Keys Mismatch Problem Resolution

Hi all,

I have upgraded my sister’s laptop from Windows 8 to Windows 8.1

I know that, it takes lot of time to download and install. After the whole night download and installation is completed.

But she has come up with an issue saying that, keyboard keys are not displaying correct values.

Problem

Keyboard Layout Adjustment

Resolution

  • I have understood that it’s a layout problem.
  • Default layout is English (UK). I have changed that to English (India).
  • And downloaded the English (US) language pack also.
  • For testing your keyboard layout in the live view, you can open “On-Screen Keyboard”
  • When you change the layout, the “On-Screen Keyboard” layout gets changed automatically.
  • By this way, we can see our keyboard live layout.

I hope someone who think that, it’s a problem can resolve the issue using the above procedure.

 

For more queries and comments, please send mail to psrdotcom@gmail.com

Blogger Labels: Upgrade,Keyboard,Layout,Mismatch,Problem,Resolution,laptop,installation,Adjustment,Default,English,India,language,procedure,comments,download

June 10, 2013

Upgrade Samsung Galaxy S Advance to Jelly Bean Latest Version

Hi all,

Do you want to update/upgrade your Android Samsung Smartphone? I have upgraded it with latest firmware.

Please find the procedure below to do it manually.

 

Warning: Do at your own risk. We are not responsible for any bricking of your device. If you are scared to do it then please visit the nearest authorized service center. The experts from the service center will be able to upgrade your device if an upgrade available in your country.

 

Pre-Requisites:

Visit www.samsung-updates.com

Select your device from the drop down list

It will automatically lists the device current firmware version in each supporting country

You can download the firmware of any country of your choice (Mostly the latest release)

After downloading, extract it to a folder

Download ODIN latest version and extract it

Make sure that you had taken backup of your contacts, SMS, Settings and data as well

Make sure that USB Debugging enabled on your device

 

Firmware Upgrade:

Switch off your device

Run Odin{xxxx}.exe as an administrator

Press and hold Volume Down key + Home Key + Power Button until you get a “Downloading..” {Downloading Mode} screen with green robot

Connect your device with USB cable

If device connected properly you will see one of ID:COM boxes as yellow/green

And you can see “Added” message in the message section box

Now, Click on PDA button in the “Files/Download” section

Select the downloaded firmware xxx.tar.md5 file

Click on “Strat” button from the “Control Panel” section

It will take some time to finish the process

On mobile screen you will see “Downloading” progress

On ODIN window, you can see the similar kind of progress

Wait till you get the “PASS” message with green background in the box above progress bar in ODIN window

Your device gets restarted now

Select the language options and continue with other settings

Now you can disconnect the device from the PC/Laptop

Enjoy the upgraded OS features

 

Blogger Labels: Upgrade,Samsung,Galaxy,Advance,Bean,Latest,Version,Android,procedure,Requisites,Visit,Select,folder,Download,ODIN,Make,backup,contacts,data,Firmware,Switch,administrator,Volume,Down,Home,Power,Button,Mode,robot,Connect,cable,message,Click,Files,Strat,Control,Panel,Wait,PASS,background,language,Laptop,Enjoy,features,options

May 21, 2013

Flickr Upgrades photo limit to 1 GB from 200 active photos and better looking UI

Dear friends,

Its very good news for all photo uploading fellows. I had been using flickr since 2006 but limiting the photos 200 only stopping me to think about flickr again. Now flickr has been upgraded and better user interface update as well.

I have got all my uploaded photos in my account back. Happy :)

Please find the updated flickr account details

Free Account:
1 GB of photos (Each photo size should be < 200MB)
1080p Video can be uploaded
3 min video playback is possbile
Ads will be displayed

Pro Account:
Unlimited photo uploads
Unlimited video uploads
No Ads will be displayed

Hope, flickr will be back again as before.

Please send your feedback and comments to psrdotcom@gmail.com

April 27, 2012

Upgraded to Ubuntu 12.04 LTS from Ubuntu 11.10

Hi all,

Today I have upgraded my PC from Ubuntu 11.10 to Ubuntu 12.04 LTS.

Procedure:

I have downloaded the .iso file from Ubuntu.com
Burn the .iso file into a CD.
Booted from the CD and upgraded.

After upgrading some of the non-compatible softwares has been removed.

I manually found the un-installed softwares and installed it.

My Review:

Look and feel: Not much difference between 11.10 and 12.04
Features: Inbuilt privacy application to specify that, "Don't record activity"
Videos: Search Youtube videos and play directly

Lot more features to search ..

November 24, 2011

Ubuntu 11.10 Oneric Wireless Drivers after upgrading Linux Kernel

Dear Macbook Pro Ubuntu users,

Today I have upgraded to the latest linux kernel 3.0.0.13.

My wireless connectivity is gone after rebooting.

Then I followed the same procedure to install/activate the wireless drivers


http://homepage.uibk.ac.at/~c705283/archives/2011/09/04/linux_support_for_broadcom_4331_wireless_chip_macbook_pro_81/index.html


After every kernel upgrade, please do the above procedure.

Now, my wireless connection is working on Macbook Pro.

Enjoy wireless with your Macbook Pro on Ubuntu.

November 02, 2011

Ubuntu 11.04 to 11.10 upgrade on MacBook Pro Early 2011 (13 inch) 8,1 Model booted from USB Pen Drive and Updated Wireless Drivers

Hi MacUbuntu Users,

I have upgraded Ubuntu 11.04 to 11.10 in Early MacBook Pro 13" (8,1) Model and the upgrade steps as follows.

1. We should have EFI boot enabled on the MacBook as per my previous post
2. Copied the Ubuntu 11.10_amd64+mac.iso to boot folder in the USB (as per the instructions from the EFI Boot)
3. Renamed the Ubuntu 11.10_amd64+mac.iso to boot.iso
4. Restarted the system and Hold the Option button
5. Select EFI (USB) to boot from the 11.10
6. After OS loading, click on Install 11.10 shortcut icon from the Desktop
7. Select Upgrade 11.04 to 11.10 option
8. Select timezone
9. Import 11.04 contacts, firefox bookmarks etc
10. It will take some time to copy and reinstall the packages
11. I got a error like, some packages are properly installed, please install manually.
12. After successfully upgrading the OS, reboot the mac.
13. When EFI display comes, please select EFI partition manager to update the grub
14. Once it has updated the grub, restart the mac and remove the USB pendrive
15. Now, you can boot to your Ubuntu 11.10 on MacBook Pro
16. Now, we need to install the wireless drivers. Please follow my previous post.
17. Then enjoy the latest Ubuntu on MacBook Pro

If you have any queries, please mail to psrdotcom@gmail.com

October 15, 2011

Successfully Upgraded to Ubuntu 11.10 after solving the problem

Hi Ubuntu Lovers,

I have upgraded from Ubuntu 11.04 to Ubuntu 11.10.

While upgrading I have faced an issue like "Network Configuration" at the time of booting.

Solution:
1. While booting, press Ctrl+Alt+F1. Then it will show you Single User mode.
2. Login with user existing credentials (Use Administrator privileged account)
3. $ sudo apt-get update
4. $ sudo dpkg --configure -a
5. It solved my problem and now I am successfully able to login to Ubuntu 11.10

I have see and explore Ubuntu 11.10 now ..

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com