Warning: session_start(): open(/opt/alt/php74/var/lib/php/session/sess_51bfd4c3d3169ab9c9f6fe248a37127b, O_RDWR) failed: Disk quota exceeded (122) in /home/bdoldco1/itsupport.com.bd/wp-content/plugins/WPQA/functions/actions.php on line 23

Warning: session_start(): Failed to read session data: files (path: /opt/alt/php74/var/lib/php/session) in /home/bdoldco1/itsupport.com.bd/wp-content/plugins/WPQA/functions/actions.php on line 23

Warning: ftp_nlist() expects parameter 1 to be resource, null given in /home/bdoldco1/itsupport.com.bd/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438

Warning: ftp_pwd() expects parameter 1 to be resource, null given in /home/bdoldco1/itsupport.com.bd/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230

Warning: ftp_pwd() expects parameter 1 to be resource, null given in /home/bdoldco1/itsupport.com.bd/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230

Warning: ftp_nlist() expects parameter 1 to be resource, null given in /home/bdoldco1/itsupport.com.bd/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438

Warning: ftp_pwd() expects parameter 1 to be resource, null given in /home/bdoldco1/itsupport.com.bd/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230

Warning: ftp_pwd() expects parameter 1 to be resource, null given in /home/bdoldco1/itsupport.com.bd/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230

Warning: ftp_pwd() expects parameter 1 to be resource, null given in /home/bdoldco1/itsupport.com.bd/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230

Warning: ftp_pwd() expects parameter 1 to be resource, null given in /home/bdoldco1/itsupport.com.bd/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230

Warning: session_start(): open(/opt/alt/php74/var/lib/php/session/sess_5e38dcf07d580d69ec9c6207da9c1c58, O_RDWR) failed: Disk quota exceeded (122) in /home/bdoldco1/itsupport.com.bd/wp-content/plugins/easy-appointments/src/frontend.php on line 73

Warning: session_start(): Failed to read session data: files (path: /opt/alt/php74/var/lib/php/session) in /home/bdoldco1/itsupport.com.bd/wp-content/plugins/easy-appointments/src/frontend.php on line 73
admin – Answers – Page 4 – IT Support BD

Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In
Continue with Facebook
Continue with Google
or use

Browse


Have an account? Sign In Now

Sign In

Login to our ITSupportBD questions & Answers Engine to ask questions answer people’s questions & connect with other IT people.

Sign Up Here
Continue with Facebook
Continue with Google
or use


Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Have an account? Sign In Now

You must login to ask a question.

Continue with Facebook
Continue with Google
or use


Forgot Password?

Need An Account, Sign Up Here

You must login to ask a question.

Continue with Facebook
Continue with Google
or use


Forgot Password?

Need An Account, Sign Up Here

Please type your username.

Please type your E-Mail.

Please choose an appropriate title for the post.

Please choose the appropriate section so your post can be easily searched.

Please choose suitable Keywords Ex: post, video.

Browse

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

IT Support BD Logo IT Support BD Logo
Sign InSign Up

IT Support BD

IT Support BD Navigation

  • Home
  • Blog
  • Download
  • Support Hour Booking
Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Terms and Conditions
  • Privacy Policy
  • Cookie Policy

admin

IT Partner
Ask admin
1k Visits
4 Followers
14 Questions
Home/ admin/Answers
  • About
  • Questions
  • Polls
  • Answers
  • Best Answers
  • Asked Questions
  • Groups
  • Posts
  • Comments
  • Questions
  • Polls
  • Answers
  • Best Answers
  • Asked Questions
  • Groups
  • Posts
  • Comments
  1. Asked: February 13, 2023In: Web & Host

    How to find file objects.ini.php on nagvis docker container?

    admin
    Best Answer
    admin IT Partner
    Added an answer on February 14, 2023 at 3:25 pm
    This answer was edited.

    In NagVis, the configuration file that contains the object definitions is typically named "objects.ini.php" and is located in the NagVis configuration directory. The location of the NagVis configuration directory can vary depending on your installation, but it is usually located in the "share/nagvisRead more

    In NagVis, the configuration file that contains the object definitions is typically named “objects.ini.php” and is located in the NagVis configuration directory. The location of the NagVis configuration directory can vary depending on your installation, but it is usually located in the “share/nagvis/config” directory.

    To find the “objects.ini.php” file on a NagVis Docker container, you can use the following steps:

    1. Start a shell session in the NagVis Docker container using the “docker exec” command. For example, if your container is named “nagvis-container”, you can start a shell session by running the command:
      docker exec -it nagvis-container /bin/bash
    2. Once you are in the container shell, navigate to the NagVis configuration directory. This can be done using the following command:
      cd /usr/local/nagvis/share/nagvis/config
    3. Use the “ls” command to list the files in the directory. The “objects.ini.php” file should be listed among the other NagVis configuration files.
      ls

    If the “objects.ini.php” file is not found in the NagVis configuration directory, it is possible that the file has been moved or renamed, or that the NagVis installation has been customized to use a different configuration file. In this case, you may need to consult the NagVis documentation or seek assistance from the NagVis community to locate the configuration file.

     

     

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  2. Asked: February 14, 2023In: Security

    What Security considerations for NAS ?

    admin
    admin IT Partner
    Added an answer on February 14, 2023 at 3:23 pm

    Introduction to NAS Network Attached Storage (NAS) is a file-level data storage technology that provides a central location for storing and managing digital files. It connects to your local area network (LAN) and can be accessed by multiple devices over the network. NAS devices are typically equippeRead more

    Introduction to NAS

    Network Attached Storage (NAS) is a file-level data storage technology that provides a central location for storing and managing digital files. It connects to your local area network (LAN) and can be accessed by multiple devices over the network. NAS devices are typically equipped with one or more hard drives and offer a range of features such as data backup, media streaming, and remote access.

    II. Types of NAS

    There are various types of NAS available in the market, each with its own set of features and capabilities. Here are some of the key types of NAS:

    1. Consumer NAS vs Enterprise NAS
    • Consumer NAS devices are designed for home users and small businesses. They are typically cheaper and have fewer features compared to enterprise-grade NAS devices.
    • Enterprise-grade NAS devices are designed for large businesses and offer advanced features such as data deduplication, tiered storage, and virtualization.
    1. Rackmount vs Desktop NAS
    • Rackmount NAS devices are designed to be mounted on a server rack and are typically used by businesses with large storage requirements.
    • Desktop NAS devices are smaller in size and can be placed on a desk or shelf. They are suitable for home users and small businesses.
    1. HDD vs SSD NAS
    • HDD-based NAS devices are equipped with hard disk drives and offer high storage capacity at a lower cost.
    • SSD-based NAS devices are equipped with solid-state drives and offer faster data transfer speeds and better reliability than HDD-based NAS devices.
    1. Single-bay vs Multi-bay NAS
    • Single-bay NAS devices are equipped with one hard drive bay and are suitable for home users with basic storage needs.
    • Multi-bay NAS devices are equipped with two or more hard drive bays and offer higher storage capacity and redundancy.

    Security considerations for NAS

    NAS devices store valuable data and therefore, it’s important to take security considerations seriously. Here are some best practices for securing your NAS:

    1. Change the default login credentials – The default login credentials for NAS devices are usually easy to guess, so it’s important to change them to something more secure.
    2. Enable two-factor authentication – Two-factor authentication adds an extra layer of security to your NAS device by requiring a second form of authentication, such as a code sent to your phone, in addition to your password.
    3. Keep your NAS software up-to-date – Regularly updating your NAS software can help to fix any security vulnerabilities that may exist.
    4. Enable data encryption – Data encryption can protect your data in case of unauthorized access or theft.
    5. Use a strong password – Use a strong password that is unique and difficult to guess. Avoid using common words or phrases, and consider using a password manager to generate and store your passwords.
    6. Disable unnecessary services – Only enable the services that you need to use on your NAS device. Disabling unnecessary services can help to reduce the risk of a security breach.
    7. Regularly back up your data – Regularly backing up your data is a critical step in protecting against data loss in case of a security breach.

    Setting up NAS

    Setting up NAS is a relatively simple process, but it requires a few steps to ensure that it’s done correctly. Here are some steps to follow when setting up NAS:

    1. Requirements for setting up NAS – You’ll need a few things to set up NAS, including a NAS device, a hard drive (or multiple hard drives), a network cable, and a computer.
    2. Choosing the right NAS for your needs – There are many different types of NAS devices available, so it’s important to choose one that meets your specific needs. Consider factors such as the number of hard drive bays, storage capacity, and the features that you require.
    3. Configuring NAS – Once you have your NAS device, you’ll need to configure it. This involves connecting the NAS device to your network, installing the necessary software, and setting up user accounts and access permissions.
    4. Creating shared folders – Once your NAS device is configured, you can create shared folders that can be accessed by other devices on your network. This is a great way to share files and media with other users.
    5. Setting up data backup – Data backup is an important part of NAS, and most NAS devices have built-in backup features. You can set up automated backups to protect your data in case of a hardware failure or other disaster.
    6. Enabling remote access – Many NAS devices offer remote access, which allows you to access your files from anywhere with an internet connection. This is a convenient feature for people who need to access their files on-the-go.

    By following these steps, you can set up NAS and start enjoying the benefits of network-attached storage.

     

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  3. Asked: February 13, 2023In: Web & Host

    How to find file objects.ini.php on nagvis docker container?

    admin
    admin IT Partner
    Added an answer on February 13, 2023 at 11:35 am

    If you are using a NagVis Docker container, the location of the NagVis configuration files may be different from a traditional NagVis installation. To locate the host icon size code file in a NagVis Docker container, you can follow these steps: Start a shell session in the running NagVis container bRead more

    If you are using a NagVis Docker container, the location of the NagVis configuration files may be different from a traditional NagVis installation. To locate the host icon size code file in a NagVis Docker container, you can follow these steps:

    1. Start a shell session in the running NagVis container by running the following command:

      pythonCopy code
      docker exec -it <container_name_or_id> /bin/bash

      Replace “<container_name_or_id>” with the name or ID of your NagVis container.

    2. Once you are in the container shell, navigate to the NagVis configuration directory by typing the following command:

      bashCopy code
      cd /opt/nagvis/etc/

      Note: The exact path to the NagVis configuration directory may vary depending on how the container was configured.

    3. In the configuration directory, you should see a file named “nagvis.ini.php”. This file contains the NagVis configuration settings, including the location of the object configuration files.
    4. Open the “nagvis.ini.php” file in a text editor and look for the “[paths]” section. This section contains the path to the NagVis object configuration files.
    5. By default, the object configuration files are located in the “etc/objects/” directory. Navigate to this directory by typing the following command:

      bashCopy code
      cd etc/objects/

    6. In the “etc/objects/” directory, you should see a file named “objects.ini.php”. This file contains the definitions for the NagVis objects, including the host icon sizes.
    7. Open the “objects.ini.php” file in a text editor and search for the “[iconsizes]” section. This section contains a list of available host icon sizes and their corresponding labels.
    8. To add or modify host icon sizes, edit the values in this section as needed.
    9. Save the “objects.ini.php” file and restart the NagVis service to apply the changes.

    Note that modifying the NagVis configuration files requires knowledge of the NagVis system and should be done with caution to avoid introducing errors. Make a backup of the original file before making any changes and test the changes thoroughly before using them in a production environment.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  4. Asked: February 12, 2023In: Web & Host

    How to generate CSR code for SSL?

    admin
    admin IT Partner
    Added an answer on February 12, 2023 at 9:12 pm

    To generate a CSR (Certificate Signing Request) code for an SSL certificate, you can follow these general steps: Log in to the web hosting control panel or server where you want to install the SSL certificate. Find the option to generate a new SSL certificate or CSR. This will typically be in the SeRead more

    To generate a CSR (Certificate Signing Request) code for an SSL certificate, you can follow these general steps:

    1. Log in to the web hosting control panel or server where you want to install the SSL certificate.
    2. Find the option to generate a new SSL certificate or CSR. This will typically be in the Security or SSL section of the control panel.
    3. Fill in the required information for the certificate, including the domain name, organization name, country, and contact details.
    4. Choose the key size and algorithm for the CSR. A common option is 2048-bit RSA.
    5. Generate the CSR code and save it to a file. The CSR will typically include a block of text starting with “—–BEGIN CERTIFICATE REQUEST—–” and ending with “—–END CERTIFICATE REQUEST—–“.
    6. Submit the CSR code to a trusted SSL certificate authority (CA) to purchase and obtain the SSL certificate. The CA will use the information in the CSR to verify your domain and organization details and generate the certificate.

    Note that the exact steps and options for generating a CSR code may vary depending on your web hosting or server setup. It is also important to keep the private key associated with the CSR secure and protected, as it is used to encrypt and decrypt communications for the SSL certificate.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  5. Asked: February 12, 2023In: Web & Host

    How to make a quotation and answer php website.

    admin
    admin IT Partner
    Added an answer on February 12, 2023 at 9:08 pm

    To create a quotation and answer website using PHP, you could follow these general steps: Plan out the structure and design of your website, including the layout and features you want to include. Set up a web server and database to store the data for your website. You can use a platform like XAMPP oRead more

    To create a quotation and answer website using PHP, you could follow these general steps:

    1. Plan out the structure and design of your website, including the layout and features you want to include.
    2. Set up a web server and database to store the data for your website. You can use a platform like XAMPP or WAMP to set up a local server on your computer, or use a web hosting service to deploy your website online.
    3. Create a database schema to define the structure of your data, such as the tables for quotes, authors, and categories.
    4. Write PHP code to handle the data and generate the HTML and CSS for your website. You could use a framework like Laravel or CodeIgniter to streamline this process.
    5. Create a form for users to submit new quotes or answers, and write code to validate and store the data in the database.
    6. Use PHP to retrieve the quotes and answers from the database and display them on the website, along with any associated categories or authors.
    7. Add functionality for users to search, sort, and filter the quotes and answers based on various criteria.
    8. Test your website thoroughly to ensure it works properly, and deploy it to your chosen hosting environment.

    Overall, building a quotation and answer website using PHP requires a solid understanding of web development principles, as well as proficiency in PHP programming and database management.

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  6. Asked: January 23, 2023In: Server

    How to build network monitoring and problem-solving tools?

    admin
    admin IT Partner
    Added an answer on January 23, 2023 at 2:13 pm
    This answer was edited.

    One of the greatest open-source monitoring tools is Nagios, which keeps an eye on services and programs running on Linux and Windows operating systems. Nagios can keep an eye on system metrics including CPU load, memory consumption, disk utilization, logged-in users, active processes, and services lRead more

    One of the greatest open-source monitoring tools is Nagios, which keeps an eye on services and programs running on Linux and Windows operating systems.

    Nagios can keep an eye on system metrics including CPU load, memory consumption, disk utilization, logged-in users, active processes, and services like HTTP, FTP, SSH, and SMTP.

    We’ll look at how to set up Nagios on Ubuntu 22.04 in this article.

     

    Prerequisites:
    We shall compile Nagios from source even though there is a package for it in the Ubuntu repository. Therefore, install the packages listed below to compile Nagios.

    #sudo apt update
    
    #sudo apt install -y build-essential apache2 php openssl perl make php-gd libgd-dev libapache2-mod-php libperl-dev libssl-dev daemon wget apache2-utils unzip

     

    For Nagios, create a user and group. Then, to enable external commands to be executed via the Nagios web interface, add the nagios and apache user (www-data) to the section of the nagcmd group.

    #sudo useradd nagios
    
    #sudo groupadd nagcmd
    
    #sudo usermod -a -G nagcmd nagios
    
    #sudo usermod -a -G nagcmd www-data
    
    Nagios Core installation for Ubuntu 22.04
    First, get the most recent Nagios core version from the official website.
    
    
    #wget https://assets.nagios.com/downloads/nagioscore/releases/nagios-4.4.6.tar.gz
    
    #tar -zxvf nagios-4.4.6.tar.gz
    
    #cd nagios-4.4.6/
    
    Then, use the procedures listed below to build Nagios from source code.
    #sudo ./configure --with-nagios-group=nagios --with-command-group=nagcmd --with-httpd_conf=/etc/apache2/sites-enabled/
    
    #sudo make all
    
    #sudo make install
    
    #sudo make install-init
    
    #sudo make install-config
    
    #sudo make install-commandmode
    
    

    You can find Nagios’s configuration files under the /usr/local/nagios/etc directory, and the default configuration should work fine.

    Next, install the Nagios web interface with the below command.

    #sudo make install-webconf

     

    You must establish a user account (nagiosadmin) in order to access the Nagios web interface, which is password secured by default. So, to establish a user account for the Nagios online interface, execute the command below.

     

    #sudo htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin

    Enable the CGI module using the following command.

    #sudo a2enmod cgi
    
    Restart the Apache web server to finish.
    
    Adding plugins to Nagios with Ubuntu 22.04
    Installing Nagios plugins is required in order to monitor a system. Install the Nagios plugins by downloading them from the official website.

    #wget https://nagios-plugins.org/download/nagios-plugins-2.3.3.tar.gz
    #tar -zxvf nagios-plugins-2.3.3.tar.gz
    #cd nagios-plugins-2.3.3/

     

    Then, compile and install the Nagios plugins.

    #sudo ./configure --with-nagios-user=nagios --with-nagios-group=nagios
    
    #sudo make
    
    #sudo make install
    
    Open the Nagios monitoring program
    It's time to launch the Nagios service at this point. You should check the Nagios configuration files before launching the service.
    
    #sudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
    
    Output:
    Nagios Core 4.4.6
    right (c) 2009-present Nagios Core Development Team and Community Contributors
    Copyright (c) 1999-2009 Ethan Galstad
    Last Modified: 2020-04-28
    License: GPL
    Website: https://www.nagios.org
    Reading configuration data...
    Read main config file okay...
    Read object config files okay...
    Running pre-flight check on configuration data...
    Checking objects...
    Checked 8 services.
    Checked 1 hosts.
    Checked 1 host groups.
    Checked 0 service groups.
    Checked 1 contacts.
    Checked 1 contact groups.
    Checked 24 commands.
    Checked 5 time periods.
    Checked 0 host escalations.
    Checked 0 service escalations.
    Checking for circular paths...
    Checked 1 hosts
    Checked 0 service dependencies
    Checked 0 host dependencies
    Checked 5 timeperiods
    Checking global event handlers...
    Checking obsessive compulsive processor commands...
    Checking misc settings...
    Total Warnings: 0
    Total Errors: 0
    Things look okay - No serious problems were detected during the pre-flight check

    Then, start and enable the Nagios service with the below command

    #sudo systemctl enable --now nagios

    Now navigate to the following URL in your web browser to view the Nagios web interface.
    Enter the login (nagiosadmin) and password for the Nagios account you previously created at

    http://ip/nagios/

    You will see Nagios’ main page after successfully logging in.

    To view the services that Nagios is watching, click Services in the left pane.

    Now use the following command to install NRPE Add-on and Nagios plugins for adding Host.

    #sudo apt update
    #sudo apt install -y nagios-nrpe-server nagios-pluginss.

    Set up NRPE Add-on
    To accept the connection from the Nagios server, modify the NRPE configuration file, Change the file /etc/nagios/nrpe.cfg.

    #sudo nano /etc/nagios/nrpe.cfg

    Add the Nagios servers IP address, separated by comma like below.

    #allowed_hosts=192.168.9.4
    
    
    With the use of Nagios plugins, the command lines below allow you to keep an eye on the number of active processes, the number of logged-in users, the system load, root filesystem utilization, and swap consumption.
    
    

    #sudo nano /etc/nagios/nrpe.cfg

    Firewall
    Set up the firewall so that the NRPE server operating on a distant Linux computer may be contacted by the Nagios server. Use a remote Linux computer to execute these instructions.

    #firewall-cmd –permanent –add-port=5666/tcp
    #firewall-cmd –reload

    IP Tables

    #iptables -I INPUT -p tcp –dport 5666 -m conntrack –ctstate NEW,ESTABLISHED -j ACCEPT
    #iptables -I OUTPUT -p tcp –sport 5666 -m conntrack –ctstate ESTABLISHED -j ACCEPT
    #/etc/init.d/iptables save

    Install the NRPE plugin on the Nagios server.
    To verify the services or resources, this NRPE plugin offers the check nrpe plugin, which makes communication with the NRPE server on distant computers.

    Use the following command to install the NRPE plugin on your machine.

    #sudo apt install -y nagios-nrpe-plugin

    Configuration Editing
    To add all.cfg files located in the /usr/local/nagios/etc/servers directory, edit the Nagios configuration file.

    #sudo nano /usr/local/nagios/etc/nagios.cfg

    Add or uncomment the following line.

    cfg_dir=/usr/local/nagios/etc/servers

    Create a configuration directory.

    #sudo mkdir /usr/local/nagios/etc/servers
    
    To the Nagios server, add a Linux host
    To define the host and service definitions of a remote Linux host, create a client configuration file at /usr/local/nagios/etc/servers/client.itzgeek.local.cfg in your system.
    
    
    #sudo nano /usr/local/nagios/etc/servers/client.itsupportbd.local.cfg

    Add the following text to the file mentioned above.

    The template below can also be used, and it can be customized to meet your needs. For monitoring logged-in users, system load, disk utilization (/ – partition), swap, and overall process, use the template below.

    define host{
                               
                use                     linux-server            
                host_name               client.itsupportbd.local            
                alias                   client.itsupportbd.local            
                address                 192.168.9.10
                                        
    }

     

    Restart the Nagios server.
    #sudo systemctl restart nagios
    
    
    That is it. Please provide feedback in the section below.

     

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  7. Asked: January 12, 2023In: Server

    How to create own remote desktop server infrastructure.

    admin
    admin IT Partner
    Added an answer on January 12, 2023 at 6:11 pm
    This answer was edited.

    An open-source alternative to TeamViewer and AnyDesk is RustDesk. It offers businesses free remote desktop services on its self-hosted and cloud infrastructure. Requirements is: OS need Ubuntu 22.04 and Allow udp port 21117 on firewall and OS. 1. Connect to the server via SSH using root access by foRead more

    An open-source alternative to TeamViewer and AnyDesk is RustDesk. It offers businesses free remote desktop services on its self-hosted and cloud infrastructure.

    Requirements is: OS need Ubuntu 22.04 and Allow udp port 21117 on firewall and OS.

    1. Connect to the server via SSH using root access by following the command:

    sudo -i

    2. Update the Server OS Packages
    Make sure that wget is installed on the server. This utility is needed to run the panel installation script. If wget isn’t installed in the OS, execute the following commands to install it:

    1. Docker install Commands on Ubuntu 22.04

    Step 1: Update the system

    The first step is to refresh the repositories. To do so, run the command:

    $ sudo apt update

    Step 2: Install dependencies

    Some dependencies are needed for the installation to go along seamlessly. Therefore, run the following command to install them:

    $ sudo apt install apt-transport-https curl gnupg-agent ca-certificates software-properties-common -y
    

    Step 3: Install Docker on Ubuntu 22.04

    With the requirements installed, the next step is to install Docker. We will install the Docker Community Edition ( Docker  CE ) which is opensource and free to download and use.

    To do so, we will add the GPGK key

    $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    
    

    Since Ubuntu 22.04 is yet to be officially released, add the repository for Ubuntu 20.04 Stable.

    $ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"

    With the GPG key and the repository added, run the following command to install Docker and associated packages.

    $ sudo apt install docker-ce docker-ce-cli containerd.io -y
    

    Step 4: Confirm that Docker is installed

    To verify that Docker is installed, run the command:

    $ docker version
    

    Step 5: Manage Docker Service

    By default, Docker autostarts upon installation. To verify this, run the command:

    $ sudo systemctl status docker

    If, for any reason, Docker is not running, simply execute the following command:

    $ sudo systemctl start docker

    To enable Docker to start automatically every time on system startup, run the command:

    $ sudo systemctl enable docker

    To restart Docker  run:

    $ sudo systemctl restart docker

    the volume that Portainer Server will use to store its database

    docker volume create portainer_data

    Download and install the Portainer Server container

    Next, we will download and install the Portainer container. To do that, use the following:

    docker run -d -p 8000:8000 -p 9443:9443 --name portainer \
        --restart=always \
        -v /var/run/docker.sock:/var/run/docker.sock \
        -v portainer_data:/data \
        portainer/portainer-ce:2.11.1

    RustDesk Repository copy:

    # useradd rustdesk

    # usermod -aG sudo rustdesk

     

    Enter your password

    mkdir /rustdesk

    cd /rustdesk

    nano docker-compose.yaml

    version: '3'
    
    networks:
      rustdesk-net:
        external: false
    
    services:
      hbbs:
        container_name: hbbs
        ports:
          - 21115:21115
          - 21116:21116
          - 21116:21116/udp
          - 21118:21118
        image: rustdesk/rustdesk-server:latest
        command: hbbs -r <your-cool.server.com>:21117
        volumes:
          - ./hbbs:/root
        networks:
          - rustdesk-net
        depends_on:
          - hbbr
        restart: unless-stopped
    
      hbbr:
        container_name: hbbr
        ports:
          - 21117:21117
          - 21119:21119
        image: rustdesk/rustdesk-server:latest
        command: hbbr
        volumes:
          - ./hbbr:/root
        networks:
          - rustdesk-net
        restart: unless-stopped

     

    # press Esc button and type :wq and hit enter

     

    run the server

    # sudo docker-compose up -d

     

    3. Install RustDesk on clients and configure the server IP.

    Go to RustDesk.com and click the Download button.  If you’re running the client on a Linux machine, you can also try their new Appendage file to see if it will work. Make sure you get the latest release, and look for the .appendage file.

    Once downloaded, if you need to run the installer, run it per your Distros requirements.  Windows is a zipped file, with an executable inside, so extract the file, then run the .exe to install.

    Once you run the client it will connect to the RustDesk default servers.  You’ll see an ID number and passcode (hidden by default).  Next to the ID you’ll see a 3-dot icon. Click it, and select “ID/Relay Server”.

    Allow the rustdesk port  by using the ufw command:

    sudo ufw allow 21115
    sudo ufw allow 21116
    sudo ufw allow 21117
    sudo ufw allow 21118
    sudo ufw allow 21119

    Take care everyone and happy coding.

     

     

    See less
      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  8. Asked: November 18, 2022In: Computer

    What is (DaaS) Desktop as a Service?

    admin
    Best Answer
    admin IT Partner
    Added an answer on November 18, 2022 at 1:41 am
    This answer was edited.

    DaaS: Desktop as a Service Desktop as a Service In a cloud computing service called (DaaS), a service provider gives end users virtual desktops via the Internet that are licensed on a per-user basis. For small organizations who find building their own virtual desktop infrastructure to be too expensiRead more

    DaaS: Desktop as a Service

    What is the DaaS ?

    Desktop as a Service In a cloud computing service called (DaaS), a service provider gives end users virtual desktops via the Internet that are licensed on a per-user basis.
    For small organizations who find building their own virtual desktop infrastructure to be too expensive or resource-intensive, the supplier handles backend maintenance. This management often entails upkeep, data storage, backup, and upgrades. Additionally, desktop security and application management may be handled by cloud service providers, or users may manage these service components on their own.

    With Desktop as a Service (DaaS), the cloud services provider hosts the infrastructure, network resources, and storage in the cloud while streaming a virtual desktop to the user’s device. The user may then access the data and apps on the desktop through a web browser or other software. Through a subscription approach, businesses can buy as many virtual desktops as they require.

    Graphics-intensive apps have previously been challenging to utilize with DaaS since desktop applications stream over the Internet from a centralized server. This has changed with new technologies, and even programs like computer-aided design (CAD) that need a lot of processing power to display quickly may now be easily operated on DaaS. IT administrators can quickly move a virtual machine that is currently running from one physical server to another when the workload on one server becomes too heavy, preserving the uninterrupted operation of GPU-accelerated or graphics-accelerated software. Any industry that relies on 3D modeling, advanced graphics, simulations, or video production could benefit from GPU-accelerated desktop as a service (GPU-DaaS). This technology has applications in engineering and design, broadcasting, and architecture.

    Difference between VDI and DaaS
    Using a centralized server, companies can remotely host desktop operating systems on endpoint devices using a virtual desktop infrastructure (VDI). The endpoint only provides customers with an Internet access point to the data center server, which houses all of the information. In addition to a costly investment in data center network, storage, and computing infrastructure, VDI demands an IT team with experience in setting up and managing virtual infrastructures. Depending on the number of end users serviced and the cost of a subscription, the DaaS model can be significantly more cheap than putting up a new virtual desktop infrastructure in-house. This is because cloud service providers cover the infrastructure setup and management costs.

     

    Desktop as a Service (DaaS) has several advantages over conventional models, including streamlined management, more flexibility, and lower total cost of ownership. Businesses who want to provide flexible personal device alternatives and remote work possibilities can quickly and easily construct a digital workspace with DaaS. Users may access their virtual desktop from any location and on a wide range of devices, and their desktop will always appear just as it did on their previous visit from a different location. An internet connection is all they require. It is not necessary for users to manage back-ups independently or to worry about data existing on a computer at the office but not at home because the data is stored in a centralized, remote place where it may be continuously backed up.

     

    See less
      • 1
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
  9. Sorry it is a private answer.

  10. Asked: August 23, 2022In: Server

    How can I Create own storage server and intagreate it to my cPanel

    admin
    Best Answer
    admin IT Partner
    Added an answer on August 24, 2022 at 5:14 pm

    Thanks for asking your question. There are a couple of good free services that you use for this development or testing purposes only. Ngrok Localhostrun Localtunnel Boringproxy BrowserStack Or you can see my video: How to Accessing localhost From Anywhere In this video link, I wanna show you How ToRead more

    Thanks for asking your question.

    There are a couple of good free services that you use for this development or testing purposes only.

    1. Ngrok
    2. Localhostrun
    3. Localtunnel
    4. Boringproxy
    5. BrowserStack

    Or you can see my video:

    How to Accessing localhost From Anywhere

    In this video link, I wanna show you How To Access A Local Website (localhost) from the Internet without Port forwarding. You can access your local server from Anywhere without Public IP and Port Forwarding.

    Remember that when you’re able to remotely access your local server, any 3rd party might succeed too. But here you have to keep in mind data security.

    use your IP address or a service like noip.com if you need something more practical. Then eventually configure your router properly so the incoming connection will be forwarded to the machine with the server running.

    My recommendation is: It is best to use public IP and port forwarding.

    Also if you want to know anything else please Ask any questions and thanks again.

    See less
      • 1
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
1 2 3 4 5 6 … 9

Sidebar

Ask A Question

Stats

  • Questions 162
  • Answers 164
  • Best Answers 79
  • Users 17k
  • Popular
  • Answers
  • Jaylon S

    When I turn my Pc in a Server with Ehcp ...

    • 5 Answers
  • Abak

    ক্রিপ্টোকারেন্সি কি?

    • 4 Answers
  • admin

    নেটওয়ার্ক সংযুক্ত স্টোরেজ (NAS) কি?

    • 3 Answers
  • admin
    admin added an answer If you're running OpenWRT on a router with limited internal… April 13, 2025 at 10:05 am
  • Support
    Support added an answer 10 Best Methods on How to Use IDM for Torrent… November 14, 2024 at 1:27 pm
  • admin
    admin added an answer When choosing a printer for book printing in Dubai, consider… October 30, 2024 at 3:31 pm

Top Members

admin

admin

  • 14 Questions
  • 1k Points
IT Partner
Arif

Arif

  • 35 Questions
  • 790 Points
IT Moderator
Support

Support

  • 29 Questions
  • 477 Points
IT Senior Coordinator

Trending Tags

bd movie 365 computer custom pvc patches custom rom hosting mobile nas network online movies online pvc patches uk os pvc patches question server sim storage website windows 11 wordpress xrp price prediction

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • Shop

Footer

IT Support BD

We hope you enjoy our blog as much as We enjoy offering them to you. If you have any questions or comments, please don't hesitate to contact us.

About Us

  • Meet The Team
  • Blog
  • About Us
  • Contact Us

Legal Stuff

  • Terms and Conditions
  • Privacy Policy
  • Cookie Policy

Help

  • Knowledge Base
  • Support

Follow

© 2018-2025 IT Support BD. All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.