Deprecated: Optional parameter $shortcode declared before required parameter $args is implicitly treated as a required parameter in /home/ashishka/public_html/wp-content/plugins/wp-cirrus/wp-cirrus.php on line 331

Warning: Cannot modify header information - headers already sent by (output started at /home/ashishka/public_html/wp-content/plugins/wp-cirrus/wp-cirrus.php:331) in /home/ashishka/public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Meta/Robots.php on line 89

Warning: Cannot modify header information - headers already sent by (output started at /home/ashishka/public_html/wp-content/plugins/wp-cirrus/wp-cirrus.php:331) in /home/ashishka/public_html/wp-includes/feed-rss2.php on line 8
Ubuntu | Web Hosting Stuff https://www.ashishkale.in Get solutions under one roof Fri, 21 Nov 2025 11:32:40 +0000 en-US hourly 1 MongoDB Installation on AWS Ubuntu EC2: Complete Beginner’s Guide https://www.ashishkale.in/mongodb-installation-on-aws-ubuntu-ec2-complete-beginners-guide/ https://www.ashishkale.in/mongodb-installation-on-aws-ubuntu-ec2-complete-beginners-guide/#respond Fri, 21 Nov 2025 11:32:40 +0000 https://www.ashishkale.in/?p=1709 MongoDB is one of the most popular NoSQL databases used for modern, scalable applications. This guide will help you install MongoDB on an AWS Ubuntu EC2 instance using the official MongoDB repository. 1. Update Your Ubuntu Server SSH into your EC2 instance: ssh -i your-key.pem ubuntu@your-ec2-public-ip Update packages: sudo apt update && sudo apt upgrade -y 2. Import MongoDB Public [...]

The post MongoDB Installation on AWS Ubuntu EC2: Complete Beginner’s Guide first appeared on Web Hosting Stuff.

]]>
MongoDB is one of the most popular NoSQL databases used for modern, scalable applications. This guide will help you install MongoDB on an AWS Ubuntu EC2 instance using the official MongoDB repository.
1. Update Your Ubuntu Server

SSH into your EC2 instance:

ssh -i your-key.pem ubuntu@your-ec2-public-ip

Update packages:

sudo apt update && sudo apt upgrade -y
2. Import MongoDB Public GPG Key
curl -fsSL https://pgp.mongodb.com/server-7.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg \
–dearmor
3. Add the MongoDB Repository for Ubuntu
echo “deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse” | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
Replace jammy with your Ubuntu version if needed:
Ubuntu 22.04 → jammy
Ubuntu 20.04 → focal
4. Install MongoDB
sudo apt update
sudo apt install -y mongodb-org
5. Start & Enable MongoDB Service
sudo systemctl start mongod
sudo systemctl enable mongod
sudo systemctl status mongod

If status shows active (running) → MongoDB is installed successfully.

6. Allow MongoDB Port on AWS Security Group

MongoDB default port:

27017

Go to AWS Console → EC2 → Security Groups → Inbound → Add:

Type Protocol Port Source
Custom TCP TCP 27017 Your IP
⚠ Do NOT open 0.0.0.0/0 for production.
Whitelist specific IPs only.
7. Test MongoDB Shell
mongosh

To show databases:

show dbs
8. Enable Remote Access (Optional)

Edit config file:

sudo nano /etc/mongod.conf

Find:

bindIp: 127.0.0.1

Change to:

bindIp: 0.0.0.0

Restart:

sudo systemctl restart mongod
⚠ Secure MongoDB with users if enabling remote access.
9. Create Admin User (Highly Recommended)

Inside the Mongo shell:

use admin
db.createUser({
user: “admin”,
pwd: “StrongPassword123”,
roles: [ { role: “root”, db: “admin” } ]
})

Login using:

mongosh -u admin -p StrongPassword123 –authenticationDatabase admin
10. Check MongoDB Logs
sudo tail -f /var/log/mongodb/mongod.log
FAQs

1. Which Ubuntu versions support MongoDB 7.0?

  • Ubuntu 22.04 (Jammy)
  • Ubuntu 20.04 (Focal)

2. Does MongoDB run automatically after a reboot?
Yes, systemctl enable mongod ensures auto-start.

3. What is the default MongoDB port?
27017

4. Why is my remote connection failing?

  • Check:
  • Security Group inbound rules
  • mongod.conf bindIp
  • Service running

The post MongoDB Installation on AWS Ubuntu EC2: Complete Beginner’s Guide first appeared on Web Hosting Stuff.

]]>
https://www.ashishkale.in/mongodb-installation-on-aws-ubuntu-ec2-complete-beginners-guide/feed/ 0
How to install SOGo on Ubuntu https://www.ashishkale.in/how-to-install-sogo-on-ubuntu/ https://www.ashishkale.in/how-to-install-sogo-on-ubuntu/#respond Tue, 10 Nov 2015 12:20:09 +0000 http://www.ashishkale.in/?p=965 SOGo is an open source collaborative software server with a focus on simplicity and scalability. It is developed in Objective-C using PostgreSQL, Ubuntu, Apache, and IMAP. It supports CalDAV, CardDAV, GroupDAV, iMIP and iTIP and reuses existing IMAP, SMTP and database servers. In addition, SOGo offers native Microsoft Outlook compatibility using the Open Change backend. We’ll see how to install this fantastic [...]

The post How to install SOGo on Ubuntu first appeared on Web Hosting Stuff.

]]>
SOGo is an open source collaborative software server with a focus on simplicity and scalability. It is developed in Objective-C using PostgreSQL, Ubuntu, Apache, and IMAP. It supports CalDAV, CardDAV, GroupDAV, iMIP and iTIP and reuses existing IMAP, SMTP and database servers. In addition, SOGo offers native Microsoft Outlook compatibility using the Open Change backend.

We’ll see how to install this fantastic suite in an Ubuntu 12.04Lts Server Edition. Please follow the instruction.  

SOGo

 

* If you’re using Ubuntu Trusty Tahr (14.04) 

Step 1 :  From terminal prompt:

/etc/apt/sources.list

Step 2 :  Add the following line to your apt source list

deb http://inverse.ca/ubuntu trusty trusty

Step 3 : When you prefer using the nightly builds, then simply use the following line:

deb http://inverse.ca/ubuntu-nightly trusty trusty

 

* If you’re using Ubuntu Precise Pangolin (12.04)

Step 1 : From terminal prompt:

/etc/apt/sources.list

Step 2 : Add the following line to your apt source list

deb http://inverse.ca/ubuntu precise precise

Step 3 : When you prefer using the nightly builds, then simply use the following line:

deb http://inverse.ca/ubuntu-nightly precise precise

 

* If you’re using Ubuntu Lucid Lynx (10.04)

Step 1 : From terminal prompt:

/etc/apt/sources.list

Step 2 : Add the following line to your apt source list

deb http://inverse.ca/ubuntu lucid main

Step 3 : When you prefer using the nightly builds, then simply use the following line:

deb http://inverse.ca/ubuntu-nightly lucid main

 

 

For SOGo v3, simply add the “-v3” suffix to the http source path.

Signed builds

Since 2011-05-17

To verify their signature, our GPG public key has to be added into apt keyring.

Run the following commands:

sudo apt-key adv –keyserver keys.gnupg.net –recv-key 0x810273C4

Then, update your lists of available software packages

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install sogo

From that point, apt-get should not complain about package signatures anymore.

 

That’s!!

The post How to install SOGo on Ubuntu first appeared on Web Hosting Stuff.

]]>
https://www.ashishkale.in/how-to-install-sogo-on-ubuntu/feed/ 0
How to Install Memcached on Ubuntu 12.04 LTS https://www.ashishkale.in/how-to-install-memcached-on-ubuntu-12-04-lts/ https://www.ashishkale.in/how-to-install-memcached-on-ubuntu-12-04-lts/#comments Wed, 23 Sep 2015 06:18:23 +0000 http://www.ashishkale.in/?p=822 Memcached is a system that works to speed up virtual private servers by caching server information. It is a high-performance distributed memory object caching that caches objects for faster website performance. The program functions somewhat like short term memory for your applications. Memcached runs on Unix, Linux, Mac OS X, Ubuntu, PHP and Windows. Installation of memcached on Ubuntu 12.04 is [...]

The post How to Install Memcached on Ubuntu 12.04 LTS first appeared on Web Hosting Stuff.

]]>
Install Memcached on Ubuntu 12.04 LTS

Memcached is a system that works to speed up virtual private servers by caching server information. It is a high-performance distributed memory object caching that caches objects for faster website performance. The program functions somewhat like short term memory for your applications. Memcached runs on Unix, Linux, Mac OS X, Ubuntu, PHP and Windows. Installation of memcached on Ubuntu 12.04 is very simple. You can see how to install Memcache on Ubuntu 12.04.

Step 1 : To make sure that all of the packages we download to the VPS are up to date. Use the following command. 

sudo apt-get update

Step 2 : You should have MySQL and PHP installed on the virtual server.

sudo apt-get install mysql-server php5-mysql php5 php5-memcache

 

To Install Memcache on Ubuntu 12.04

Step 1 : To install memcached via apt-get by using following command. 

sudo apt-get install memcached

 

Step 2 : To install php-pear, the repository that stores memcache by using following command.

sudo apt-get install php-pear

 

Step 3 : To use PECL (PHP Extension Community Library) to install memcached by using following command.

sudo pecl install memcache

 

Step 4 : Click to Enable memcache session handler support? [yes].

You have completed the installation of memcache with PECL on the VPS

Add memcached to memcache.ini by using following command.

echo “extension=memcache.so” | sudo tee /etc/php5/conf.d/memcache.ini

 

You can start to using Memcache.

 

The post How to Install Memcached on Ubuntu 12.04 LTS first appeared on Web Hosting Stuff.

]]>
https://www.ashishkale.in/how-to-install-memcached-on-ubuntu-12-04-lts/feed/ 1
How to install ZPanel on Ubuntu https://www.ashishkale.in/how-to-install-zpanel-on-ubuntu/ https://www.ashishkale.in/how-to-install-zpanel-on-ubuntu/#respond Wed, 26 Aug 2015 06:27:53 +0000 http://www.ashishkale.in/?p=640 How to install ZPanel on Ubuntu ZPanel is a free to download and use Web hosting control panel. It is written to work effortlessly with Microsoft Windows and POSIX (Linux, UNIX and MacOSX) based servers or computers. This solution can turn a home or professional server into a fully fledged, easy to use and manage web hosting server. As of writing [...]

The post How to install ZPanel on Ubuntu first appeared on Web Hosting Stuff.

]]>
How to install ZPanel on Ubuntu

Install ZPanel on Ubuntu

ZPanel is a free to download and use Web hosting control panel. It is written to work effortlessly with Microsoft Windows and POSIX (Linux, UNIX and MacOSX) based servers or computers. This solution can turn a home or professional server into a fully fledged, easy to use and manage web hosting server.

As of writing the currently release of ZPanel is 10.1.0. You can go to the ZPanel download page to find the latest version.

 

To Install ZPanel on Ubuntu

1) Log into the VPS as root.

 

2) To the update and upgrade by entering the following commands:

apt-get update -y && apt-get upgrade -y

 

3) Obtain the ZPanel installer:

wget http://www.zvps.co.uk/sites/default/files/downloads/ubuntu-12-04/package/installer-x86_64-install.sh.x.tar.gz

 

4) Extract the .tar.gz installer by using following commands: 

tar -xf installer-x86_64-install.sh.x.tar.gz

 

5) Run the installer by using following commands: 

./installer-x86_64-install.sh.x

 

6) Follow the on screen prompts to complete the install.

.
.
.
.
.

Your ZPanel Installation Complete !

screenshot_Zpanel Login

Then,

1) After installation, reboot your VPS.

 

2)  Go to the VPS’s IP address in your web browser you can access ZPanel.

 

3) The default admin login is zadmin, the password is located inside the

/root/passwords.txt file.

4) You can get the password by logging into SSH and issuing :

cat /root/passwords.txt

 

 

 

The post How to install ZPanel on Ubuntu first appeared on Web Hosting Stuff.

]]>
https://www.ashishkale.in/how-to-install-zpanel-on-ubuntu/feed/ 0
How to Configuring & Customising Ajenti on Ubuntu https://www.ashishkale.in/how-to-configuring-customising-ajenti-on-ubuntu/ https://www.ashishkale.in/how-to-configuring-customising-ajenti-on-ubuntu/#respond Tue, 25 Aug 2015 06:45:11 +0000 http://www.ashishkale.in/?p=631 Configuring Ajenti 1) To change the root user’s password to the “Configure” menu. 2) Click “Change password” on root account 3) Write a new password. 4) You can also create a new user, Select features you would like to grant the user access. 5) Click “Create” button. 6) Set the name by clicking “unnamed“ 7) Writing the new name. 8) Click the [...]

The post How to Configuring & Customising Ajenti on Ubuntu first appeared on Web Hosting Stuff.

]]>
Configuring Ajenti

1) To change the root user’s password to the “Configure” menu.

2) Click “Change password” on root account

3) Write a new password.

Ajenti_change password

4) You can also create a new user, Select features you would like to grant the user access.

5) Click “Create” button.

6) Set the name by clicking “unnamed

7) Writing the new name.

Ajenti_save

8) Click the icon on the left from the name to set the permissions.

9) Click “Save” on the top of the page.

Note : If you altered any other settings, also remember to apply the changes by restarting the control panel.

 

Customising Ajenti

You can remove widgets by grabbing from the dotted area and dragging them down.

Step 1 : Add new widgets by clicking “Add widget”

Step 2 : Drag them to the position you would like them to be

Customising Ajenti copy

 

The post How to Configuring & Customising Ajenti on Ubuntu first appeared on Web Hosting Stuff.

]]>
https://www.ashishkale.in/how-to-configuring-customising-ajenti-on-ubuntu/feed/ 0
How to Install Ajenti on Ubuntu https://www.ashishkale.in/how-to-install-ajenti-on-ubuntu/ https://www.ashishkale.in/how-to-install-ajenti-on-ubuntu/#respond Tue, 25 Aug 2015 06:20:20 +0000 http://www.ashishkale.in/?p=625 Ajenti is a simple, lightweight, free and open source tool with a web-based administration control panel. It allowing to manage ubuntu servers and this is similar to Webmin. Ajenti is provides fast and responsive web interface for managing small server set-ups and also best suitable for VPS and Dedicated servers. It has built with many pre-made plugins for configuring and [...]

The post How to Install Ajenti on Ubuntu first appeared on Web Hosting Stuff.

]]>
Install-Ajentii

Ajenti is a simple, lightweight, free and open source tool with a web-based administration control panel. It allowing to manage ubuntu servers and this is similar to Webmin. Ajenti is provides fast and responsive web interface for managing small server set-ups and also best suitable for VPS and Dedicated servers. It has built with many pre-made plugins for configuring and monitoring server software’s and services such as Apache, Cron, File System, Firewall, MySQL, Nginx, Munin, Samba, FTP, Squid and many other tools like File Manager, Code Editor for developers and Terminal access.

 

Connecting To Your VPS

1) Establish a SSH connection to your virtual server and authenticate as root by using follownig commands

ssh root@your-ip

 

2) Download the latest package files by using following commands :

apt-get update

 

Importing the repository key

The following command downloads the key and automatically adds it to your system.

wget http://repo.ajenti.org/debian/key -O- | apt-key add –

 

Adding the APT repository

1) To Add the repository to your sources.list by using the following command

echo “deb http://repo.ajenti.org/ng/debian main main ubuntu” >> /etc/apt/sources.list

 

2) Navigate to the end of the file and paste the following line

deb http://repo.ajenti.org/debian main main debian

 

3) Save this changes and Exit.

 

Installing Ajenti

 

Step 1 : Update the package sources.

 

Step 2 : Install ajenti package by using following commands

apt-get update && apt-get install ajenti -y

 

Step 3 : Start the service by using following commands

service ajenti restart

 

Step 4 : If you are using UFW firewall open port 8000 to enable access to the control panel by using following command

ufw allow 8000

.
.
.
.
Congratulation’s! You have successfully installed Ajenti.

 

   Or

 

Quick automatic installation then use following commands  

wget -O- https://raw.github.com/ajenti/ajenti/1.x/scripts/install-ubuntu.sh | sudo sh

 

Related Post “How to Configure Ajenti on Ubuntu

 

The post How to Install Ajenti on Ubuntu first appeared on Web Hosting Stuff.

]]>
https://www.ashishkale.in/how-to-install-ajenti-on-ubuntu/feed/ 0