In this tutorial, we’ll install Nginx and set up a basic site.
What you’ll learn
- How to set up Nginx
- PHP installation
- Mysql Installation
- Basic Mysql configuration
- Firewall install and configuration
- Website demo hosting
Transferring a domain name registrar involves moving your domain name from one registrar (the company where your domain is currently registered) to another registrar (the company where you want to manage your domain). Here are the general steps involved in transferring a domain name registrar:
Check Transfer Eligibility: Ensure that your domain name is eligible for transfer. Some domain extensions (TLDs) might have specific transfer restrictions or conditions.
Prepare the Domain for Transfer:
Select a New Registrar: Choose a new registrar where you want to transfer your domain. Ensure they support the domain extension you have and provide domain transfer services.
Initiate the Transfer with the New Registrar:
Confirm the Transfer:
Wait for Transfer Approval:
Check Domain Status:
Update DNS Settings (if necessary): If your domain’s DNS (Domain Name System) is managed by your registrar, make sure your DNS settings are correctly configured.
Monitor the Domain: Check your domain regularly after the transfer to ensure it is functioning correctly and that there are no issues with website or email functionality.
Renew the Domain (if needed): It’s recommended to renew your domain at the new registrar for an additional year (or more) to maintain ownership and avoid expiration issues.
Remember that these steps might vary slightly depending on the specific registrars and domain extensions involved. Always follow the instructions provided by both the old and new registrars to ensure a smooth and successful domain transfer process.
Cloudflare is a prominent global content delivery network (CDN), cybersecurity, and internet security company that provides various services to optimize and secure websites, APIs, and other internet services. It was founded in 2009 and has since grown into one of the largest and most influential companies in the realm of content delivery and internet security.
Cloudflare’s services are designed to help improve the performance, reliability, and security of websites and internet services while also providing developers and businesses with tools to optimize their online presence. It’s widely used by a variety of businesses, from small websites to large enterprises, and is valued for its ease of use, powerful features, and extensive network infrastructure.
Cloudflare’s suite of services collectively provides a robust solution for enhancing website performance, security, and reliability, making it an attractive option for businesses and individuals seeking to optimize their online presence.
Configuring the Apache web server and building an e-commerce website involves several steps. Here’s a basic outline to help guide you through the process:
Install Apache:
apt
or yum
to install Apache. For example, on Ubuntu, you can run:sudo apt update
sudo apt install apache2
Start Apache:
sudo systemctl start apache2
sudo systemctl enable apache2
Configure Virtual Hosts:
yourdomain.conf
) in the /etc/apache2/sites-available/
directory.Enable Virtual Hosts:
sites-enabled
directory:sudo a2ensite yourdomain.conf
Configure .htaccess (Optional):
.htaccess
files for directory-specific configurations or URL rewriting if needed.Configure Security (Optional but Recommended):
Choose E-commerce Platform:
Set Up Development Environment:
Develop the Website:
Security Measures:
Optimize Performance:
Test the Website:
Launch and Go Live:
Regular Updates:
Regular Backups:
Monitoring:
Remember that building an e-commerce website involves various complexities, especially in terms of payment processing, security, and scalability. Depending on your skill level and requirements, it might be beneficial to seek professional help or use established e-commerce platforms to ensure security and proper functionality of your website.
Migrating a WordPress website to AWS Lightsail involves a few steps. Lightsail is a simplified cloud service provided by AWS, offering a user-friendly interface and pre-configured options, making the migration process relatively straightforward. Here’s a step-by-step guide:
Log in to AWS Lightsail: Go to the AWS Management Console and navigate to Lightsail.
Create an Instance: Click on “Create instance” and select the appropriate instance image. Lightsail offers a pre-configured WordPress image, making the setup easier.
Select Instance Plan: Choose the instance plan based on your requirements (e.g., amount of RAM, CPU, and storage).
Name your Instance: Give your instance a unique name for easy identification.
Launch the Instance: Click on “Create Instance” to deploy your Lightsail WordPress instance.
Access Lightsail Instance: Once the instance is running, go to the Lightsail console and access your WordPress installation through the browser-based SSH terminal provided.
Access WordPress Files: Use SSH to navigate to the WordPress directory. Typically, for the Lightsail WordPress image, it’s located in /opt/bitnami/apps/wordpress/htdocs/
.
Back up Existing WordPress Site:
Download Backup:
Upload Backup to Lightsail:
Restore the Backup:
Point Domain to Lightsail Instance:
Update WordPress Settings:
Set Up SSL:
Install and Configure SSL Certificate:
Check Website Functionality:
Test for HTTPS:
This process may vary based on your specific website setup and requirements. Lightsail simplifies many of these steps, making it user-friendly for hosting and managing WordPress websites on AWS.
The installation processes for cPanel, JetBackup, and Softaculous can be detailed and might vary based on the server’s operating system, the specific version of the software, and individual preferences. Below is an overview of the installation steps for each of these applications:
cPanel is a widely-used web hosting control panel. To install cPanel, the process typically involves:
Pre-Installation Checklist:
Access to Installation Files:
Execute the Installation Script:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Follow the Installer Instructions:
Post-Installation Configuration:
https://your-server-IP:2087
and set up and configure additional settings.JetBackup is a backup solution that works with cPanel servers. To install JetBackup:
Download Installation Script:
Run the Installation Script:
bash jetbackup_install.sh
Configuration:
Softaculous is an auto-installer tool that integrates with various control panels, including cPanel. The installation process often involves:
Login to SSH:
Download the Installation Script:
wget -N http://files.softaculous.com/install.sh
Run the Installer:
chmod 755 install.sh
./install.sh
Finish Installation:
Please note that these instructions are general and can vary. Always refer to the official documentation provided by the respective software vendors for the most current and detailed installation instructions, ensuring compatibility with your server’s operating system and setup
Plesk is a web hosting control panel that simplifies the management of web servers, providing an easy-to-use interface for website and server administration. Installing Plesk generally involves several steps. Below is an overview of the installation process:
Before Begin:
Steps for Plesk Installation:
curl
or wget
:
curl -J -O https://autoinstall.plesk.com/plesk-installer
wget https://autoinstall.plesk.com/plesk-installer
chmod +x plesk-installer
./plesk-installer
https://your_server_IP:8443
Please note that the installation steps might vary based on the operating system and Plesk version. Always refer to the official Plesk documentation or installation guides for the specific version you are installing for more detailed and up-to-date instructions.
Configuring a Virtual Private Server (VPS) for hosting a website involves several steps. Here’s a general outline of the process:
Select a VPS provider that meets your requirements in terms of resources, location, pricing, and customer support. Popular providers include AWS Lightsail, DigitalOcean, Linode, Vultr, and others.
Create and Access the VPS:
Update the System:
Install a Web Server:
Configure the Web Server:
Install a Database Management System:
Secure the Database:
Point the Domain to the VPS IP:
Set Up Virtual Hosts (Optional but Recommended):
Firewall Configuration:
SSL Certificate Installation (Optional but Recommended):
Upload Website Files:
Adjust File Permissions:
Monitoring Tools:
Regular Updates and Backups:
This is a general guide and may require adjustments based on your specific requirements and the VPS provider you choose. Remember to secure your server, regularly update your software, and back up your data to ensure a stable and secure hosting environment for your website
Migrating a WordPress website to AWS Lightsail involves a few steps. Lightsail simplifies the process of deploying and managing web applications, including WordPress. Below is a general guide for migrating a WordPress site to AWS Lightsail:
Log in to AWS Lightsail: Log in to the AWS Management Console and navigate to Lightsail.
Create an Instance: Click on “Create instance” and choose the Linux/Unix platform. Select an instance plan based on your requirements.
Name your Instance: Give your instance a unique name for easy identification.
Launch Instance: Click on “Create Instance” to deploy your Lightsail instance.
Connect to your Lightsail instance: Once your Lightsail instance is running, you can connect to it via SSH using the browser-based SSH terminal provided in the Lightsail console.
Install WordPress: Use commands (e.g., wget
) to download and install WordPress. Follow the installation process detailed on the WordPress website.
Configure your WordPress Installation: Adjust settings, set up databases, and configure your WordPress instance as needed.
Back up your Current WordPress Site: In your existing WordPress site, use a plugin like “All-in-One WP Migration” or “Duplicator” to create a full backup of your WordPress site.
Download Backup: Download the backup file generated by the plugin to your local system.
Upload to Lightsail Instance: Using SSH or SFTP, upload the backup file to your Lightsail instance.
Restore the Backup on Lightsail: If using a plugin, follow the plugin’s instructions to restore the backup on your Lightsail WordPress instance.
Point Domain to Lightsail Instance: In your DNS provider’s settings, configure the domain to point to the IP address of your Lightsail instance.
Update WordPress Settings: Log in to your WordPress dashboard on Lightsail, and update the WordPress Address (URL) and Site Address (URL) under Settings > General to match your domain.
Set up SSL: Lightsail allows you to easily set up a free SSL certificate using Let’s Encrypt. This secures your site with HTTPS.
Install and Configure the SSL Certificate: Follow the instructions in the Lightsail console to enable and configure the SSL certificate for your domain.
After completing these steps, your WordPress site should be successfully migrated to AWS Lightsail. Ensure that everything is working as expected by browsing your domain and testing the functionality of the website.
Integrating WordPress with WHMCS (Web Host Manager Complete Solution) or other billing systems can be beneficial, especially for hosting companies or businesses that require client management and invoicing solutions. Here’s an overview of how you might use WordPress in conjunction with a billing system like WHMCS:
WordPress provides a user-friendly content management system and is widely used for building various types of websites, from blogs to e-commerce platforms. You can use it to create an attractive front-end for your business, offering information, services, and products to your customers.
WHMCS is a comprehensive client management and billing system designed specifically for hosting companies. It offers functionalities such as invoicing, client management, support ticket systems, domain registration, and more.
WordPress Installation:
WHMCS Integration:
Integration Techniques:
Single Sign-On (SSO):
Custom Development:
User Experience and Design:
The integration of WordPress with WHMCS can streamline your business operations and offer clients a cohesive experience. Consider the specific needs of your business and seek expert advice if required to ensure a smooth integration.
Building a WooCommerce store is an ongoing process. As you gain customer feedback and insights, you’ll likely make changes to enhance the shopping experience. Regular maintenance, content updates, and a commitment to customer service are key to a successful online store.
Building a WordPress website involves several steps. Here’s a general outline to guide you through the process I followed:
Building a WordPress website can be a dynamic process, and you’ll likely make adjustments along the way. Take your time, and don’t hesitate to explore WordPress tutorials and resources for further guidance and improvement.
Prepare Your Application:
Ensure your Express.js application is complete, functional, and tested. Make sure that it’s ready for deployment.
Select Hosting Service:
Choose a hosting service or platform where you want to deploy your application. Common choices include:
Platform as a Service (PaaS): Platforms like Heroku, AWS Elastic Beanstalk, or Microsoft Azure offer easy deployment for Node.js applications.
Infrastructure as a Service (IaaS): Services like AWS EC2, DigitalOcean, or Google Cloud Platform give you more control over the server setup.
Containerization with Docker: You can package your application in a container using Docker and deploy it to any platform that supports Docker containers.
Set Up the Server:
If you’re using a service that provides a server, follow their instructions to set up the server and ensure Node.js is installed.
Configure Environment Variables:
Manage environment-specific configuration by setting environment variables for database connections, API keys, or other sensitive information.
Install Dependencies:
Ensure all required dependencies are listed in the package.json
file. Run npm install
to install these dependencies on the server.
Set Up Reverse Proxy:
If you are using a reverse proxy like Nginx or Apache, configure it to pass requests to your Express.js application.
Start the Application:
Use a process manager like PM2 to start and manage your Node.js application to ensure it keeps running.
For instance, you can use PM2 to start your app:
Domain Configuration:
If you have a custom domain, configure it to point to your server’s IP address.
Set Up SSL Certificate (Optional, but Recommended):
Secure your application with an SSL certificate. Use Let’s Encrypt or other certificate providers to set up HTTPS for improved security.
Testing and Monitoring:
Test your deployed application to ensure it’s functioning as expected. Implement monitoring and logging to keep track of your application’s performance.
Automate Deployments (Optional):
Consider automating the deployment process using Continuous Integration/Continuous Deployment (CI/CD) tools like Jenkins, GitLab CI/CD, or GitHub Actions.
The specifics of deployment may vary depending on the hosting service or platform you choose, so always refer to their documentation for detailed steps.
If you haven’t already registered for a Cloudflare account, you’ll need to start by creating one. Visit the Cloudflare website and locate the “Sign Up” option to initiate the account creation process. During this process, you’ll be required to provide essential information about your website, including your domain name and the IP address of your web server.
After successfully setting up your Cloudflare account, the next step is to integrate your domain with the Cloudflare platform. To accomplish this, select “Add site” and input your domain name. Cloudflare will then conduct an automated scan of your DNS records and seamlessly transfer them into your newly established Cloudflare account.
Here’s a step-by-step guide on creating a page rule:
By following these steps, you can effortlessly set up a redirection rule using Cloudflare’s page rules feature.
a marketing strategy is not just a document; it’s a fundamental tool for guiding your business’s marketing efforts, achieving your goals, and staying competitive in today’s dynamic business environment. Whether you’re a small startup or a large corporation, having a well-defined marketing strategy is essential for success.
1. Define Your Target Audience:
2. Create a Simple Website:
3. Set Up Social Media Profiles:
4. Develop Content:
5. Content Sharing:
6. Engage with Your Audience:
7. Email Marketing:
8. Collaborate with Influencers:
9. Online Advertising (Optional):
10. Monitor and Learn:
11. Consistency is Key:
12. Local Outreach:
13. Customer Reviews:
14. Learn and Improve:
This beginner-level strategy focuses on building an online presence and engaging with your target audience through content and social media. As you gain experience and resources, you can expand and refine your digital marketing efforts to achieve more specific goals and reach a larger audience.
These is the simple common steps. but you know marketing is not so easy. tell my you business idea. i give you a unique process to grow your business. say hi on the WhatsApp. Click Here to say Hi!
DevOps is a set of practices that combines software development and IT operations to improve collaboration and communication between teams, and to streamline the software development lifecycle. It involves automating the process of building, testing, deploying, and monitoring software applications, using tools such as version control, continuous integration/continuous delivery (CI/CD), infrastructure as code (IaC), and monitoring and logging tools. The goal of DevOps is to deliver high-quality software faster and more reliably, while also improving the efficiency and scalability of the development process.
There are several skills that are important for a career in DevOps:
Automation: DevOps engineers should have knowledge of scripting languages like Python, Perl, Ruby, or Shell to automate repetitive tasks and streamline processes.
Continuous integration and continuous delivery (CI/CD): DevOps professionals need to understand how to implement and manage CI/CD pipelines to ensure that software is deployed efficiently and consistently.
Cloud computing: Knowledge of cloud infrastructure platforms such as Amazon Web Services (AWS), Microsoft Azure, or Google Cloud Platform is crucial for implementing scalable and reliable solutions.
Infrastructure as code: DevOps engineers need to be proficient in tools like Terraform or CloudFormation to automate infrastructure deployment and management.
Monitoring and logging: DevOps professionals should have a deep understanding of monitoring tools such as Nagios, Prometheus, or Grafana, as well as logging and analytics tools such as ELK stack (Elasticsearch, Logstash, Kibana).
Collaboration and communication: DevOps requires close collaboration between developers and operations teams, as well as strong communication skills to facilitate this collaboration.
Security: DevOps professionals should have knowledge of security best practices, including risk management, vulnerability assessment, and penetration testing, to ensure the security and reliability of software and systems.
Bangladesh ranges from BDT 500,000 to BDT 1,500,000 per year, depending on the level of experience, skills, and company size. Keep in mind that this is just an estimate and can vary depending on several factors.
Amazon EC2 is a cloud computing service that offers scalable, secure, and flexible computing capacity in the cloud. It is designed to simplify web-scale cloud computing for developers.
Using EC2, developers can easily obtain and configure computing resources through a simple web service interface, providing complete control over computing resources in Amazon’s proven computing environment. EC2 allows developers to obtain and boot new server instances rapidly in just a few minutes, enabling them to quickly scale up or down their computing capacity based on their needs.
EC2 offers an innovative pricing model that allows developers to only pay for the capacity they use, which can significantly reduce the cost of computing resources. Additionally, EC2 provides developers with tools to build applications resistant to failure and can be isolated from common failure scenarios.
Amazon EC2 is a powerful cloud computing service that simplifies the process of obtaining and configuring computing resources, reduces the cost of computing, and provides tools for building resilient applications.
Cloud servers, like Amazon EC2, provide users with a flexible and scalable computing environment that can be customized to meet specific needs. Here are some common tasks that can be accomplished using a cloud server:
Ec2 can be customized to meet a wide range of needs. Whether you need to run web applications, process big data, or run machine learning models, a cloud server can provide the computing power you need to do the job.
The future of Virtual Private Server (ec2) hosting looks promising, with the growing demand for cloud computing and the increasing number of businesses shifting their IT infrastructure to the cloud. Here are some possible trends for the future of ec2 servers:
So the future of ec2 hosting looks promising, with continued growth in cloud computing and the increasing demand for scalable, cost-effective IT infrastructure. As ec2 hosting continues to evolve, businesses can expect to see even more advanced features and services, greater flexibility and scalability, and improved security and performance.
The private server market is projected to reach $8.3 billion by 2026. That’s a CAGR of 16.2%. The enormity of cyberspace can be overwhelming to comprehend as technology advances rapidly, making it easy to forget just how far we’ve come in such a short time. To better understand the web hosting industry, here are some statistics:
Given these staggering numbers, it’s no surprise that the global web hosting industry is worth over $75 billion, according to Fortune Business Insights. Despite being a relatively new segment, VPS hosting has experienced significant growth in the industry. Let’s take a closer look at some numbers to understand what’s driving this progress.
I will just show you some of the screenshots and website links. There you will find out the current opportunity and demands of the ec2.
PLEASE DONT CREATE ANY ACCOUNT IN UPWORK AND FIVERR WITHOUT SKILL. JUST VISIT.
Huge opportunity in cloud computing in today’s world. We just need to focus on a specific product or service. We can never provide many services alone without making agency.
Thanks for Reading the Article. Be Dedicated, Be Specific, and Be Happy.
By Arif Billah
System Administrator
Data was collected from various sources on the Internet and Modified by CHATGPT.
SSH key change is very easy. you just need to change the authorized_keys from the live server.
at first, you would have to create a key on your local computer using GitBush. Remember it is not your live server. it would be creating our own computer that you use. after creating the key then we will transfer the key to the live server. Let’s start…
ssh-keygen -t rsa -b 4096
//comment: click 2 time for skip file location and passpharase.
Now we change the ssh key. let’s follow the process that I showed a screenshot.
cd .ssh
nano authorized_keys
Now enjoy the new ssh key authentication
SSH is an encrypted protocol used to administer and communicate with servers. When working with a linux server, chances are you will spend most of your time in a terminal session connected to your server through SSH. In this guide, we’ll focus on setting up SSH keys for a Linux installation. SSH keys provide a secure way of logging into your server and are recommended for all users.
Secure Shell (SSH for short) is a network communication protocol that makes it possible for two computers to communicate with one another. SSH also makes data transfers possible between two computers.
adduser arif
update-alternatives --config editor
//chose default editor as a NANO
visudo
at first, you would have to create a key on your local computer using GitBush. Remember it is not your live server. it would be creating our own computer that you use. after creating the key then we will transfer the key to the live server. Let’s start…
ssh-keygen -t rsa -b 4096
ssh-copy-id -i /c/Users/emran/.ssh/id_rsa.pub [email protected]
//comment: click 2 time for skip file location and passpharase.
//ssh-copy-id -i <ssh file location> <Live_server_username@ip>
//comment: write your own file location path and your server user and ip like mine. Follow the screenshot
Now we have to configure the sshd_config file. there are all the ssh configuration options are given.
nano /etc/sshd/sshd_config
after run this command a text editor will be visible. now we would have to uncomment and config some of the options from there. follow the screenshot
sudo systemctl restart ssh
the change we made is not active. after run “sudo systemctl restart ssh” command our all the configurations will be active.
Open the new CMD from windows and write a following way that i have given in the screenshot below
ssh -i .ssh/id_rsa [email protected]
// ssh -i <key file location> <liveserver_username@ip>
How to install Git on Ubuntu 22.04
We have summed up for you all steps that will help in the successful installation of git on Ubuntu 22.04.
Step 1: Update the system
Before installing Git make sure your system is up to date. To verify this use the following commands.
$ sudo apt update
$ sudo apt upgrade -y
Now let’s upgrade the system.
Step 2: Install git
Now check if Git is already installed on the system or not.
$ git –version
As indicated in the output the git version is not installed on the system, therefore, now we will install by running the below-given command.
$ sudo apt install git
If you are using windows then install git bush software. Also you can continue using windows computer terminal
Step 3: Verify Installation
Now to verify the successful installation of git use this command once again.
$ git –version
Git has been successfully installed on Ubuntu 22.04.
Below we will brief you on how to set up a user account and make an empty repository using Git.
How to set up an account and repository
In order to make a user account on Git you have to provide a username and an email and this can be done using the following commands.
Step 1: Provide a username
Use the command given below to provide a username
$ git config –global user.name “INSERT YOUR NAME”
Step 2: Provide an email address
The email address is provided using this command.
$ git config –global user.email “INSERT YOUR EMAIL”
Step 3: Create a repository
Now the account has been set up, we will now generate a repository.
$ mkdir sample-directory -p
The directory has been created with success.
Step 4: Navigate to the directory
Now using the following command navigate to the newly-created directory.
$ cd sample-directory
Step 5: Initialize Git
After navigating to the directory, use the initialization command to create a hidden git directory that will store history, configuration, etc
$ git init
Step 6: List the content to verify
git clone https://github.com/arifbillah360/Glozzom.git
Let’s also test how to clone any github repository on our computer.
In this tutorial, we’ll install Nginx and set up a basic site.
To install Nginx, use following command:
sudo apt update
sudo apt install nginx
To run PHP 8.2 on Ubuntu 22.04, we need to add Ondrej sury PPA into our system. This is the maintainer of the PHP repository at the moment. This PPA is not currently checked so installing from it will not be guaranteed 100% results.
To add this PPA use the following command on our terminal.
sudo add-apt-repository ppa:ondrej/php
After installation is complete we need to update the repositories again for the changes to take effect.
sudo apt update
Install PHP 8.2 on Ubuntu 22.04
We should now be able to install PHP 8.2 on Ubuntu 22.04 Linux machine. The commands to run are as shared below:
sudo apt install php8.2 -y
Check for the currently active version of PHP with the following command:
php –version
To install it, update the package index on your server if you’ve not done so recently:
Then install the mysql-server package:
sudo apt install mysql-server
Ensure that the server is running using the systemctl start command:
sudo systemctl start mysql.service
Then run mysql secure command:
These commands will install and start MySQL, but will not prompt you to set a password or make any other configuration changes. Because this leaves your installation of MySQL insecure, we will address this next.
First, open up the MySQL prompt:
mysql -u root -p
Then go back to using the default authentication method using this command:
ALTER USER ‘root’@’localhost’ IDENTIFIED WITH auth_socket;
This will mean that you can once again connect to MySQL as your root user using the sudo mysql command.
Run the security script with sudo:
sudo mysql_secure_installation
This will take you through a series of prompts where you can make some changes to your MySQL installation’s security options. The first prompt will ask whether you’d like to set up the Validate Password Plugin, which can be used to test the password strength of new MySQL users before deeming them valid.
mysql> CREATE DATABASE wpdb;
mysql> CREATE USER ‘wpuser’@’localhost’ IDENTIFIED BY ‘BNlerp4@38%4o^G7’;
mysql> GRANT ALL ON wpdb.* TO ‘wpuser’@’localhost’;
mysql> FLUSH PRIVILEGES;
mysql> EXIT;
Another basic command of mysql database;
SHOW DATABASES;
systemctl status mysql.service
mysql -v
Climate scientists say we must now achieve ecological and economic transformation at a speed and scale with “no historic precedent.” But here’s the good news: By planting trees and restoring healthy soil, by growing food in ways that restore the health of both landscapes and communities. In simple terms, environmental sustainability is the practice of interacting with the planet responsibly. We do it to avoid depleting natural resources and compromising the future generation’s ability to meet their daily needs. we are literally changing the world. So we are building an event that we call “GreenFest”.
Green University’s campaign helped start a movement. Its slogan: “Green thinking and living.” among the students through knowledge and action. We believe through this event, the Green university of Bangladesh will start to become a leading force in promoting sustainability which is coherent with our name and will have a strong impact in terms of Branding and student engagement, we have created an award-winning program GreenFest to restore the ecology and economy of struggling communities on the front lines of climate change. We have pioneered holistic practices that harmonize the needs of both humanity and nature.
We students of Green University are going to celebrate GreenFest. The color green can positively affect thinking, relationships, and physical health. Green is also thought to relieve stress and help heal. This color has strong associations with nature and brings to mind lush grass, trees, and forests. Our daily lives are full of busyness. With this busy schedule, we also need some time for refreshments. Therefore, for the first time, GREEN FEST is going to be held to promote the prosperity of green nature, with the motto “We stand with the green.” The festival is going to be held at the permanent campus of Green University, which is surrounded by a bunch of greenery.
Keeping view on this context we are going to arrange a day-long program regarding environment awareness campaign with different events.
The event will engage our students in tackling environmental problems at a level where they can see tangible results, spurring them on to realize that they really can make a difference.
Eco club can encourage members to think creatively as they apply their knowledge to real life and everyday thinking. Involving members in participation through real responsibilities improves self-esteem, which impacts learning also. The attitude developed will stay with pupils throughout their lives.
Through these activities, people will have greater respect for and take more care of other environments they encounter. It will empower club members to explore environmental concepts and actions beyond the confinement of a campus-based activity. While everyone, everywhere, asserts the importance of ‘learning to live sustainably,’ the environment remains a peripheral issue in the formal living system. These activities, inspire youths to create positive environmental change in their communities. It would be an unforgettable experience that bears with us throughout our life span.
The bottom line, we must step carefully and avoid letting our optimism run away with us. By acknowledging that a greener world will hardly be devoid of geopolitical challenges and preparing accordingly, we may find a path to defusing our threats today, while largely avoiding the inadvertent drawbacks of desperately needed innovation. All countries are aware of the need to take measurable steps necessary for survival on the planet. However, there is still more to know about these issues. Greenfish is just an awareness creation initiative Therefore, We can continue the activities of various seminars and events to keep the awareness of people.
SSH server in most systems is by default configured to allow public-key authentication. The method will enable you to use your public and private key pair to passwordless log in to an SSH server instead of the typical username and password method.
The AWS Systems Manager console includes access to all the Session Manager capabilities for both administrators and end users. You can perform any task that is related to your sessions by using the Systems Manager console. we will connect on the terminal using ssh. and now we need to know about IAM. IAM help us to communicate server and session manager.
IAM :Through the use of IAM policies, you can control which members of your organization can initiate sessions to managed nodes and which nodes they can access. You can also provide temporary access to your managed nodes.
Let’s see how to do it? 1st of all go to the ec2 control panel and click on the action button. then you will get the security option> modify IAM role. click on the Modify IAM role.
create a new IAM role. select aws service and ec2. now click on the next
and find a policy “AmazonSSMManagerInstanceCore”. select this role and click next.
Give a name of the role and description. and click on the create role button
Now we search session manager from aws console. you need to wait 10 minutes before start the session. after 1o minutes, you would have to selcet the server and start a session. the you will get command line access in session manager. but not root user. you have to write a command for a user. the command is:
sudo su -
Now you will get root user access and you can perform any task as a root user.
you have to edit sshd_config file. the file path “etc>ssh>sshd_config” . so need to open it on a notepad. we use a nano note pad. if not have nano editor on your linux just runt this command. “sudo apt-get install nano”
let’s do our main task. 1st of all open the sshd_congig file. using the command bellow
sudo nano /etc/ssh/sshd_config
Lookup the variable: PermitRootLogin and PasswordAuthentication option change ‘no’ to ‘yes’
PermitRootlogin yes
PasswordAuthentication yes
Save and close the file. Run this command:
service sshd reload
Now you will be able to SSH into your server without public keys.
Make sure your other authentication method such as password is enabled before disabling public key authentication method as you might completely lose remote access to your server. so ensure you know the linux password.
SSH server in most systems is by default configured to allow public-key authentication. The method will enable you to use your public and private key pair to passwordless log in to an SSH server instead of the typical username and password method.
you have to edit sshd_config file. the file path “etc>ssh>sshd_config” . so need to open it on a notepad. we use a nano note pad. if not have nano editor on your linux just runt this command. “sudo apt-get install nano”
let’s do our main task. 1st of all open the sshd_congig file. using the command bellow
sudo nano /etc/ssh/sshd_config
Lookup the variable: PermitRootLogin and PasswordAuthentication option change ‘no’ to ‘yes’
PermitRootlogin yes
PasswordAuthentication yes
Save and close the file. Run this command:
service sshd reload
Now you will be able to SSH into your server without public keys.
Make sure your other authentication method such as password is enabled before disabling public key authentication method as you might completely lose remote access to your server. so ensure you know the linux password.
The Linux operating system has become one of the most widely used operating systems, popular among researchers, application developers, and hobbyists alike. These days, the Linux operating system can be found in an amazing range of computer environments, from mobile phones to satellites. This chapter examines just what the Linux operating system is and why there are so many different Linux distributions available to choose from. With this information, you can select the right Linux distribution for your environment
Linux administrators are responsible for maximizing the performance of the operating system. Security is fundamental to their role, especially when approving the installation of new software and enhancement features. Some of their day-to-day responsibilities include:
There are a lot of work in linux system administrator. But now I discuse personllay what job done by me. Actually, I have been working as a linux server administrator for 2 years. there I did linux server configuration. Most of the work was linux server configuration for website. Let’s see the work i done as a freelancer:
There are basic 20 things that you need to learn for Linux server administration. Also if you are a student of computer science or a web developer, you should learn these 20 things. that will help you 1 step in your professional life. I recommended learning basic Linux to everyone. Also, use Linux in our daily life instead of a window.
Read one of my favorites “Book Linux one in all”. Only reading is not sufficient for a job or any freelancing work. you have to earn huge practical knowledge. because the Linux system administration is very sensitive work. if you missed something you may hunter from the hacker. then you will lose all the data and website files. so you must have to very practical about this. I started my career as a web developer. web development knowledge helps me in 1 step. I know about security and basic security. then I just gather knowledge how to configure the Linux and secure the website and server. However, Download the book as well as watch videos from youtube. The best way is to buy the latest premium course. I followed some youtube channels for Basic Linux. But now the videos are backdated. I prefer you to find out a latest playlist.
Download Premium book: Linux® All-in-One For Dummies
My prefared youtube chanel for basic linux. After learn basic linux you will autometically know what is the next step.
Bangla playlist: Open Youtube Basic linux. Click Here
English Playlist: Open Youtube Basic linux. Click Here
You can follow my channel. I don’t think you learn anything from my channel. Here I uploaded various on-demand work tutorials. that is not helpful for beginners. My chanel is Arif TheBrother. Click Here
If you learn Linux to earn money, that’s good. but remember you have to be passionate about your work. Linux system is a very advanced course. there you just need some basic knowledge about computers and the internet. i.e: you have to know how the internet work, what is a website, the website backend-font end, operating system, computer memory, processor, and storage in detail. Also, you have to know basic cybersecurity. to me, Linux server/OS is very easy than the web development or digital marketing. but It is very sensitive work. you would have to ensure 100% security in Linux.
Welcome to linux server administration profession. This job is very uncommon and have a lot of work in marketplaces. Happy freelancing
Add the following lines in the wp-config. PHP file right above “That’s all, stop editing! Happy publishing”:
define( ‘WP_MEMORY_LIMIT’, ‘515M’ );
define( ‘WP_MAX_MEMORY_LIMIT’, ‘512M’ );
And save wp-config.php file
Note: before changing wp-config.php. you must download the file.
Bash Related Commands
Clear the terminal
clear / ctrl + l
Close the terminal
exit / ctrl + d
Reset the terminal
reset
Stop any program
ctrl + c
Sleep any program
ctrl + z
Check the history
ctrl + r / history
Check last 30 commands
history | tail -30
Autocomplete Filename or Folder name
Tab
Autocomplete command
Tab twice
Autocomplete command with options
Tab three times
System Related Commands
Dabian Based Systems
Update the system
sudo apt update
sudo apt-get update
Upgrade the system
sudo apt upgrade
sudo apt-get upgrade
Install a package
sudo apt install package_name
sudo apt-get install package_name
Remove a package
sudo apt remove package_name
sudo apt-get remove package_name
Remove a package and its dependencies
sudo apt autoremove package_name
sudo apt autoremove package_name
Search for a package
apt search package_name
List all installed packages
apt list –installed
List all available packages
apt list
List all available packages with version
apt list –all-versions
Arch Based Systems
Update the system
sudo pacman -Syyu
Install a package
sudo pacman -S package_name
Remove a package
sudo pacman -R package_name
Search for a package
pacman -Ss package_name
List all installed packages
pacman -Q
List all available packages
pacman -Ss
More to come
Check the internet is working
ping google.com
Check System and Kernel version
uname -a
Check System version
cat /etc/os-release
Check Kernel
uname -r
Check hostname
hostname
Check IP address
ip addr
Check IP address (short)
ip a
Check IP address (long)
ip address
See user logged in
who
See username
whoami
Short information of logged in user
users
See all users
cat /etc/passwd
See all groups
cat /etc/group
See all groups of a user
groups username
See all users of a group
getent group groupname
Reboot the system
sudo reboot
Shutdown the system
sudo shutdown -h now / sudo poweroff / sudo halt / sudo init 0 / sudo systemctl poweroff
Check the current date and time
date
Check the current user
whoami
Check the current user’s home directory
echo $HOME
Check the current user’s shell
echo $SHELL
Check the current user’s path / executable paths of system
echo $PATH
Check the current user’s environment variables
env
Check the current user’s environment variables with values
env | grep -i “variable_name”
Check the current user’s environment variables with values in a file
env > env.txt
Check the current user’s environment variables with values in a file with root access
sudo env > env.txt
See the top 10 processes
top
See the top 10 processes with root access and sorted by memory usage
sudo top -o %MEM
See the top 10 processes with root access and sorted by cpu usage
sudo top -o %CPU
See the top 10 processes with root access and sorted by cpu usage and memory usage
sudo top -o %CPU,%MEM
See the top 10 processes with root access and sorted by cpu usage and memory usage and show only the process id and the process name
sudo top -o %CPU,%MEM -p -c
See the current running processes
ps
See the current running processes in a tree format
pstree
Kill a specific process
killall ProcessName
See the system uptime
uptime
See the system uptime in a specific format
uptime -p
See the system monitor
htop
See the system monitor with root access and sorted by memory usage
sudo htop -o %MEM
See the system monitor with root access and sorted by cpu usage
sudo htop -o %CPU
See the system monitor with root access and sorted by cpu usage and memory usage
sudo htop -o %CPU,%MEM
See the system monitor with root access and sorted by cpu usage and memory usage and show only the process id and the process name
sudo htop -o %CPU,%MEM -p -c
See the system monitor with root access and sorted by cpu usage and memory usage and show only the process id and the process name and show the process tree
sudo htop -o %CPU,%MEM -p -c -t
Hardware Related Commands
See the system’s hardware information
sudo lshw
See the system’s hardware information in a specific format
sudo lshw -short
See the system’s hardware information in a specific format and show only the network devices
sudo lshw -short -C network
See the system’s hardware information in a specific format and show only the network devices and show the network devices in a tree format
sudo lshw -short -C network -class network -tree
Check the system’s memory usage
free -h
Check CPU information
lscpu
Check Memory information
sudo dmidecode -t memory
Check Disk information
sudo dmidecode -t memory
Check USB information
lsusb
Check PCI information
lspci
Check Partitions
lsblk
Check Partitions with root access
sudo lsblk
Check Partitions with root access and show only the partitions
sudo lsblk -p
Check Partitions with root access and show only the partitions and show the partitions in a tree format
sudo lsblk -p -t
Mount a partition
sudo mount /dev/sda1 /mnt
Unmount a partition
sudo umount /dev/sda1
Mount a partition with root access and show only the partitions and show the partitions in a tree format
sudo lsblk -p -t
Read Write Mount a partition
sudo mount -o rw /dev/sda1 /mnt
File / Directory Related Commands
Create a new directory
mkdir directory-name
Create a new file
touch file-name
Create multiple directories at a time
mkdir dir1 dir2 dir3 dir4 dir5
Create multiple files at a time
touch index.html style.css script.js
Delete a directory with all it’s child
rm -rf directory-name
Delete a file
rm filename
List down all the files and directories
ls
List down all the files and directories with all the details
ls -l
List down all the files and directories with all the details and hidden files
ls -la
List down all the files and directories with all the details and hidden files and sort by size
ls -lS
List down all the files and directories with all the details and hidden files and sort by time
ls -lt
List down all the files and directories with all the details and hidden files and sort by time and reverse
ls -ltr
List down all the files and directories with all the details and hidden files and sort by time and reverse and show only 10 files
ls -ltr | head -10
Open a file
cat filename
Open a file with line numbers
cat -n filename
Open a file with line numbers and show only 10 lines
cat -n filename | head -10
Open a file using vim
vim filename
Open a file using vim and show only 10 lines
vim +10 filename
Open a file using nano
nano filename
Open a file using nano and show only 10 lines
nano +10 filename
Open a file using gedit
gedit filename
Count the number of lines in a file
wc -l filename
Print the current working directory
pwd
Change the current working directory
cd directory-name
Change the current working directory to the home directory
cd ~
Change the current working directory to the parent directory
cd ..
Change the current working directory to the root directory
cd /
Copy a file
cp filename newfilename
Copy a file to a directory
cp filename directory-name
Copy a directory
cp -r directory-name newdirectory-name
Copy a directory to a directory
cp -r directory-name directory-name
Move a file
mv filename newfilename
Move a file to a directory
mv filename directory-name
Move a directory
mv -r directory-name newdirectory-name
Move a directory to a directory
mv -r directory-name directory-name
Rename a file
mv filename newfilename
Rename a directory
mv directory-name newdirectory-name
Create a symbolic link
ln -s filename linkname
Create a hard link
ln filename linkname
Create a hard link to a directory
ln -r directory-name linkname
Create a symbolic link to a directory
ln -sr directory-name linkname
Create a file with content
echo “Hello World” > filename
Append content to a file
echo “Hello World” >> filename
Create a file with content and open it using vim
echo “Hello World” > filename && vim filename
Create a file with content and open it using nano
echo “Hello World” > filename && nano filename
Create a file with content and open it using gedit
echo “Hello World” > filename && gedit filename
Create a file with content and open it using cat
echo “Hello World” > filename && cat filename
Create a .tar file
tar -cvf filename.tar directory-name
Create a .tar.gz file
tar -cvzf filename.tar.gz directory-name
Create a .zip file
zip -r filename.zip directory-name
Extract a .tar file
tar -xvf filename.tar
Extract a .tar.gz file
tar -xvzf filename.tar.gz
Extract a .zip file
unzip filename.zip
Find a file
find . -name filename
In this article, We have explored the steps to Download and upload files from one remote server to another remote server. This involves using commands like SCP or utilities like windSCP
Code details: $SCP -i <ssh-key-location> <local/Windows computer location> user@ip: <web server location>
scp -i "C:\Users\emran\Downloads/MyWeb.pem" "C:\Users\emran\Downloads/test.txt" [email protected]:/home/admin/
If you do not have not SSH code, try the command below.
scp -i "C:\Users\emran\Downloads/test.txt" [email protected]:/home/admin/
Code details: $SCP -i <ssh-key-location>user@ip: <web server location> <Local/Windows location>
scp -i "C:\Users\emran\Downloads/MyWeb.pem" [email protected]:/home/admin/arif.txt "C:\Users\emran\Downloads/arifbillah.txt"
If you do not have not SSH code, try the command below.
scp -i [email protected]:/home/admin/arif.txt "C:\Users\emran\Downloads/arifbillah.txt"
There are 7 steps to set up CloudFront.
Create cache Policy:
Enter name and description. click on the check box of the header and add host, origin and referer under the header. Query setings and cookies will be all
Again go to the Policies option and click on the origin request tab. After entering the origin request tab, you will get create request policy button. click on the button.
Add include specified cookies field
cookiescomment_author_*
comment_author_email_*
comment_author_url_*
wordpress_logged_in_*
wordpress_test_cookie
wp-settings-*
PHPSESSID
wordpress_*
wordpress_sec_*
Go to the Route 53 and add a domain
Again go back certificate manager and click mentioned button
wait for something like 50 minutes to issue the certificate. it is now pending.
go the cloud font. and click on the create distribution button
back again on the coludfont. enter cloud font and click on Behaviours. Now follow my steps
Go to the route 53 console and enter the domain dns zone. After the select A record follow my screenhooted option
Congratulations! you successfully setup CloudFront on your website.
You can check using cmd.
$curl -v intense.digital
after run this command your will get details. Also you can check it using who.is.
Best of luck
if you faced any issue. contact me.
MYSQL
sudo apt install mysql-server -y
sudo mysql_secure_installation
sudo apt install mariadb-server
sudo mysql_secure_installation
if show errors, when you install database. if sucessfully install then flow next section “database create”
solved it by running “$sudo mysql”
which logged me in as root without a password, then I ran
$ALTER USER ‘root’@’localhost’ IDENTIFIED WITH mysql_native_password by ‘mynewpassword’;
$ALTER USER ‘root’@’localhost’ IDENTIFIED WITH mysql_native_password by ‘4Hxla]h!@/8gjEWY’;
Database create
sudo mysql -u root -p
CREATE DATABASE wpdb DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
CREATE USER ‘wpuser’@’localhost’ IDENTIFIED BY ‘BNlerp4@38%4o^G7’;
mysql> CREATE DATABASE wpdb;
mysql> CREATE USER ‘wpuser’@’localhost’ IDENTIFIED BY ‘BNlerp4@38%4o^G7’;
mysql> GRANT ALL ON wpdb.* TO ‘wpuser’@’localhost’;
mysql> FLUSH PRIVILEGES;
mysql> EXIT;
Flow the command for a single website. For multi websites follow the next section command
cd /var/www/html
sudo wget http://wordpress.org/latest.tar.gz
sudo tar xzf latest.tar.gz
sudo mv wordpress/* .
sudo chown -R www-data: .
cp wp-config-sample.php wp-config.php
nano wp-config.php
sudo systemctl reload apache2
Follow the command for 2+ websites===Ignore this command, if you want to configure a single website.========================
No:1# WordPress
cd /var/www
sudo mkdir site1
cd site1
sudo wget http://wordpress.org/latest.tar.gz
sudo tar xzf latest.tar.gz
sudo mv wordpress/* .
sudo chown -R www-data: .
3.3 Apache configuration
cd /etc/apache2/sites-available/
sudo cp 000-default.conf site1.conf
nano site1.conf
ServerName netvnsite1.tk
ServerAlias www.netvn.site1.tk
DocumentRoot /var/www/site1
a2ensite site1.conf
a2dissite 000-default.conf
systemctl reload apache2
4.2 WordPress
cd /var/www
sudo mkdir site2
cd site2
sudo wget http://wordpress.org/latest.tar.gz
sudo tar xzf latest.tar.gz
sudo mv wordpress/* .
sudo chown -R www-data: .
4.3 Apache configuration
cd /etc/apache2/sites-available/
sudo cp 000-default.conf site2.conf
sudo nano site2.conf
ServerName netvnsite2.tk
ServerAlias www.netvnsite2.tk
DocumentRoot /var/www/site2
sudo a2ensite site2.conf
sudo systemctl reload apache2
Congratulations! we prepare a complete web configuration
$sudo ufw status
$sudo ufw enable
$sudo ufw disable
How to allow any port. just write ufw allow and the port and same way you can disallow any port look at the example given below.
$ufw allow 22
$ufw diallow 22
$ss -anpst
ufw delete allow 3389
1st of all we need to format the partition
the command of formatting the partition is
$mkfs.ext4 /dev/xvdf
then we have to mount the partition to another directory for example we mount the partition on /opt directori. so now we have to cmnd
$mount /dev/xvdf /opt
So now our new volume is mounted on the /opt directory. But not visible. we can check it using the command
$df -h
Now we have to do visible this partition to the /opt directory
===================Another way====================
df -h
lsblk
growpart /dev/xvda1
lsblk -f
trdoxr2fs /dev/xvda1
Now check the size.
An Amazon S3 bucket is a public cloud storage resource available in (AWS). s3 a object storage offering. Amazon S3 buckets, which are similar to file folders, store media, which consists of data and its descriptive metadata.
Let’s started
Go to the AWS control panel and then the s3 bucket.
create an s3 bucket same as my screenshot.
Enter the bucket and click on the permission tab. then you have to off block all public access.
then we would have to add a bucket policy.
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::arifwork/*" //replace your bucket name
}
]
}
then go to the IAM. we have to create a user. so click on the ‘User” and enter a user name.
then click on the attached existing policies directly then you will get create policy button. click on the create policy button
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:CreateBucket",
"s3:DeleteObject",
"s3:Put*",
"s3:Get*",
"s3:List*"
],
"Resource": [
"arn:aws:s3:::bucketname",
"arn:aws:s3:::bucketname/*" //replace your bucket name
]
}
]
}
In the end, you have to add the plugin. the name of the plugin is “wp offload media lite” after active the plugin and enter the plugin settings. you will get a code like
define( 'AS3CF_SETTINGS', serialize( array(
'provider' => 'aws',
'access-key-id' => '********************',
'secret-access-key' => '**************************************',
) ) );
you paste the code on your wp-config.php file. then paste the access key and secret id on the code.
Installing CyberPanel
Step 1: Connect to your server via SSH
The installation of CyberPanel is quite simple. First, log into your server via SSH as the root user (sudo will not work). You can get the login details from your web host.
Step 2: Update packages
For Ubuntu: sudo apt update && sudo apt upgrade -y
For CentOS/Alma/Rocky:
sudo yum check-update
sudo yum update
Step 2: Run the installation script
Run the following command. It will initiate the automated installation script, which will prompt you for a few decisions about which version of LiteSpeed and which add-ons you would like to install.
sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)
If, for some reason, you are not able to log in as root, you can use this command
sudo su - -c "sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)"
Step 3: Select the version of LiteSpeed that you would like to use
Select which version of LiteSpeed to install. If you select LiteSpeed Enterprise, please ensure that you have obtained a license key first. It is free for 1 domain, but you still need to obtain the key. Visit the pricing table 346 to decide your desired plan.
CyberPanel Installer v2.1.2
RAM check : 184/981MB (18.76%)
Disk check : 7/30GB (27%) (Minimal 10GB free space)
If you do not have any license, you can also use trial license (if server has not used trial license before), type TRIAL
Please input your serial number for LiteSpeed WebServer Enterprise:
Step 4: Select options and add-ons
You will be presented with a series of prompts for different options and add-ons that are available.
you just type Y every time.
Full Service (default Y):
Allow for your Database to be installed on a remote server
CyberPanel Version (default Latest Version):
You can choose to install a previous version of CyberPanel, or press Enter to install the latest
Password (default “1234567”):
It is recommended that you use “s” to set your own strong password
Memcached 22 (default Y):
Distributed memory object caching system
Redis 8 (default Y):
In-memory data structure store, used as a database, cache, and message broke
Watchdog 17 (default Yes):
Kernel watchdog is used to monitor if a system is running. It is supposed to automatically reboot hanged systems due to unrecoverable software errors
Step 5: Installation
The installation process will proceed automatically. It will take 5-10 minutes, depending on the speed of your server.
Step 6: Finalize Installation
At the end of the installation process, you will be presented with the following screen which contains important information about your configuation. Select and copy it to a safe location for future reference.
CyberPanel Successfully Installed
Current Disk usage : 7/30GB (26%)
Current RAM usage : 313/981MB (31.91%)
Installation time : 0 hrs 11 min 0 sec
Visit: https://<your server's IP address>:8090
Panel username: admin
Panel password: <the password you set during installation>
Visit: <your server's IP address>:7080
WebAdmin console username: admin
WebAdmin console password: TSXMwny4zVeDg37K
Visit: https://<your server's IP address>:8090/rainloop/?admin
Rainloop Admin username: admin
Rainloop Admin password: gQKFWm9O3nr7Xn
Run cyberpanel help to get FAQ info
Run cyberpanel upgrade to upgrade it to latest version.
Run cyberpanel utility to access some handy tools .
Website : https://www.cyberpanel.net
Forums : https://forums.cyberpanel.net
Wikipage: https://docs.cyberpanel.net
Docs : https://cyberpanel.net/docs/
Enjoy your accelerated Internet by
CyberPanel & OpenLiteSpeed
If your provider has a network-level firewall
Please make sure you have opened following port for both in/out:
TCP: 8090 for CyberPanel
TCP: 80, TCP: 443 and UDP: 443 for webserver
TCP: 21 and TCP: 40110-40210 for FTP
TCP: 25, TCP: 587, TCP: 465, TCP: 110, TCP: 143 and TCP: 993 for mail service
TCP: 53 and UDP: 53 for DNS service
Your provider seems blocked port 25 , E-mail sending may not work properly.
Step 7: Restart Server
Would you like to restart your server now? [y/N]:
Enter “y” to restart. Or enter “reboot” later after you have performed other desired operations.
Step 8: Access CyberPanel
After the successful installation you can access CyberPanel using the details below (make sure to change):
URL: https://:8090
Username: admin
Password:
Congratulations! you successfully install cyber panel on your server