PRACTICAL 5 Install, Configure, And Troubleshoot Linux Web Server (Apache). THEORY In this practical, we will talk about Linux web server or Apache web server specifically and how to install it and configure it to serve your content to others. Linux Web server Implementations There are many Linux web server implementations available for you to use: Apache server Nginx Lighttpd Apache Tomcat Monkey HTTP Daemon (used especially for embedded systems) There are more Linux web servers, but this list is the most used web servers. The most used web servers are Apache and Nginx. Install Apache Web server You can install Apache server on Red Hat based distros using the following command: $ apt-get -y install apache2 The Apache web server service is called httpd on Red Hat based distros like CentOS, while it is called apache2 in Debian based distros. If you are using a firewall like iptables, you should add a rule for port 80. ...
PRACTICAL 4: Create a simple registration and login system using the PHP and MySQL. This program is comprised of two parts: in the first part, create a user registration form, and in the second part we'll create a login form, as well as a welcome page and a logout script. THEORY In this web page,a simple registration and login system have been made using PHP and MySQL. IMPORTANT TAGS & ATTRIBUTES: session_start(): A session is started with the session_start(). isset(): The isset() function checks whether a variable is set, which means that it has to be declared and is not NULL. header(): The header() function sends a raw HTTP header to a client. session_destroy(): To remove all global session variables and destroy the session, use session_destroy(). SCREENSHOT WEB PAGE: NAME :AYUSH SINGLA ID :18CE122 LINK : 18ce122.blogspot.com