![]() On the next screen, change port 8088 to port 80, then click the floppy disk icon, Save:Īfter the modification, you will need to restart the server. Click the edit button in the top-right corner of the “Address Settings” table to modify its values: This will load a page with more details about the Default listener. In the list of listeners, click the “View/Edit” button for the Default listener: A list of all available listeners will load. To accomplish this, first click Listeners in the list of options on the left side of the interface. To demonstrate how to configure options through the web interface, we will change the port that the default site uses from 8088 to the conventional HTTP port 80. Step 4 – Changing the Port for the Default Page Next, we’ll explore this interface by walking through a common configuration task: updating the port used by the default page. This is where the majority of your configuration for the web server will take place. Once you correctly authenticate, you will be presented with the OpenLiteSpeed administration interface: You will be prompted to enter the administrative username and password that you selected with the admpass.sh script in the previous step: In Chrome, you must click “Advanced” and then “Proceed to…”. Click through the available options to proceed to the site. Since this is a self-signed certificate, this is expected. You will likely see a page warning you that the SSL certificate from the server cannot be validated. In your web browser, using HTTPS, navigate to your server’s domain name or IP address followed by :7080 to specify the port: server_domain_or_IP:7080 When you are satisfied with the default site, you can move on to the administrative interface. For instance, an example CGI script is available, a customized PHP instance is up and running, and custom error pages and authentication gates are configured. If you click through them you will notice that these features are already installed and properly configured. The links towards the bottom of the page are designed to demonstrate various features of the server. Your browser should load the default OpenLiteSpeed web page, which looks like this: In your web browser, navigate to your server’s domain name or IP address, followed by :8088 to specify the port: server_domain_or_IP:8088 It should now be accessible to the public. The first port, 8088, is the default port for OpenLiteSpeed’s example site. Before we can visit it in our browser, we need to open up some ports on our firewall. The script will confirm a successful update: Then, you will be prompted to create and confirm a new password for the account. If you press ENTER without choosing a new username, the default of admin will be used. You will be asked to provide a username for the administrative user. ![]() sudo /usr/local/lsws/admin/misc/admpass.sh.We can do this by running a script provided by OpenLiteSpeed: By default, the password is set to 123456, so we should change this immediately. Step 2 – Setting the Administrative Passwordīefore we test the server, we should set a new administrative password for OpenLiteSpeed. Now that the OpenLiteSpeed server is installed, we’ll secure it by updating the default admin account. sudo ln -sf /usr/local/lsws/lsphp73/bin/lsphp /usr/local/lsws/fcgi-bin/lsphp5. ![]() This directs the OpenLiteSpeed server to use the correct version: Install the OpenLiteSpeed server and its PHP processor using apt install:įinally, create a soft link to the PHP processor we just installed.
0 Comments
Leave a Reply. |