INSTALL DAN KONFIGURASI WEB SERVER APACHE PADA UBUNTU SERVER 22.10
Summary
TLDRIn this tutorial, Riswan demonstrates how to install and configure Apache web server on Ubuntu 22.10. The process begins with updating the system and installing Apache, followed by checking if the server is running. Riswan walks through finding the server's IP address and accessing the server remotely. He then configures the web server by creating a new directory, setting up a simple HTML page, and restarting Apache. The video concludes with a final check to ensure the server is running smoothly, providing a clear and easy guide for setting up a web server on Ubuntu.
Takeaways
- ๐ The tutorial demonstrates how to install a web server on Ubuntu 22.10 using Apache.
- ๐ The first step is logging into Ubuntu server and updating the system with the command `sudo apt update`.
- ๐ The Apache web server is installed using the command `sudo apt install apache2`.
- ๐ After installing Apache, the status of the Apache service can be checked using `sudo systemctl status apache2`.
- ๐ The tutorial confirms that the server is connected to the internet by using the `ping` command.
- ๐ The IP address of the server is retrieved using the `ifconfig` command to access the server from another computer.
- ๐ The root directory of the web server is located at `/var/www/html`, and the default index page is accessed for modifications.
- ๐ A new directory named `itNobi` is created within `/var/www/html` to host additional web files.
- ๐ A simple HTML file (`index.html`) is created within the `itNobi` directory, containing basic HTML code and content.
- ๐ After configuring the server and adding the HTML file, the Apache service is restarted, and the site is accessed successfully from another machine using the server's IP address.
Q & A
What is the main purpose of this video?
-The video demonstrates how to install and configure a web server using Apache on Ubuntu 22.10.
What command is used to update the system before installing Apache?
-The command used to update the system is `sudo apt update`.
What is the significance of checking the internet connection before proceeding with the installation?
-It ensures that the system can download the necessary packages from the internet during the installation process.
What command installs Apache on Ubuntu?
-To install Apache, the command used is `sudo apt install apache2`.
How can you check if Apache is running after installation?
-To check if Apache is running, the command `sudo systemctl status apache2` is used.
How can you find the IP address of the server?
-The IP address can be found using the command `ifconfig` or `ip a`.
What is the role of the `index.html` file in the Apache web server?
-The `index.html` file is the default landing page for the web server, which is displayed when accessing the server's IP address through a browser.
What folder is the root directory for web documents in Apache on Ubuntu?
-The root directory for web documents in Apache on Ubuntu is located in `/var/www/html`.
What was the user instructed to do after creating a new folder for the website?
-The user was instructed to change the permissions of the folder and create a new `index.html` file inside it with a basic HTML structure.
How is the Apache service restarted after making configuration changes?
-To restart the Apache service, the command `sudo systemctl restart apache2` is used.
Outlines

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowMindmap

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowKeywords

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowHighlights

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowTranscripts

This section is available to paid users only. Please upgrade to access this part.
Upgrade NowBrowse More Related Video
5.0 / 5 (0 votes)





