I think that everyone on Habré probably knows how to set up a site on a VPS using a terminal and an SSH connection. But what if you only have an old tablet at hand and need to deploy the landing here and now? Is it possible to raise the site by simply clicking in the web interface in ISPmanager Lite? Does it cause gray hair?
We decided to stress test and deploy the landing page using iPad 3 and ISPmanager. Details about what came of it and many, many screenshots under the cut.
Imagine the situation: I’m sitting like this on the sea coast on a well-deserved vacation after the partial opening of the borders hello from the coronavirus year 2020, and I can’t even think that work is about to overtake me. But you need to be ready for anything.
Let's assume that I traveled light, so I took only an old iPad 3 from equipment to read the news and watch movies. Let's try in the field and without a terminal at hand to quickly roll out a one-page site.
Input data, task and first steps to solve it
— web server control panel. With its help, you can create and manage an unlimited number of users (user templates). Also create and manage web domains: it is possible to select the php mode of operation, install an SSL certificate, quickly install popular cms on a domain, set up redirects and ssl redirects. With ISPmanager, you can manage DNS and database, edit files directly from the panel, simply set access rights, manage the firewall. For a detailed overview of ISPmanager and its capabilities, we in the past year.
But they drove to solve the problem, for a start .

Choose a data center. There are 2 payment options, a monthly payment suits me to pay for the consumed resources. We collect our configuration, installation template with ISPmanager and OS.

Now go to the ISPmanager panel.
We pass authorization and agree to the terms of the license. And now we add the WWW domain, in our case, about.pudng.com. We had to buy the domain in advance and add an A-record with the value of the IP address of our VPS server in the DNS editor where the domain was delegated. It is a good sign if an active domain appears in the WWW-domains tab and a directory is created where you will need to upload the web page in the future. Next, check the presence of the www/about.pudng.com directory in the "File Manager" tab. In the directory, we will find an HTML page that was generated for us by ISPmanager.
We go to our domain about.pudng.com and see this:

Note: If your domain does not open, then first of all check the presence of an A-record on the name servers and the correctness of the entered IP address. If everything is correct, rest easy, DNS records can take up to two days to update, but in the meantime, you can access the IP address directly.
Now, accessing the domain name or IP address, we see a test page that the Apache HTTP server gives us.
Installation WordPress
Let's get started with the installation WordPress and let's look at two methods that are convenient to use in the ISPmanager panel.
We create a database for WordPress.
Give the name of the database. We select the MySQL database server and the encoding as the server, and so that there are no problems with encodings in the future, it is better to choose UTF-8. ISPmanager can generate passwords, so click on generate, remember, click "OK" and proceed to the next step. We have created a database.

Open the "WWW-domains" tab, click on the "Scripts" button, the Web-scripts directory will open.

In our case we choose WordPress and click the "Install" button. The installation begins.
Step 1. Setting up a working directory and selecting a database server.

Step 2. Confirmation of the license agreement.
Step 3. In the “Installation Settings” section, fill in the data that you entered during the database creation stage for WordPress.
The data from the "Application Settings" section is intended for further authorization in the admin panel. WordPressClick "Next".

Done. WordPress installed.
Bonus. Installation WordPressMethod 2
We also create a database as in the first method. Now for the installation. WordPress We will do everything entirely through the File Manager.
Download the latest version WordPress + or copy the download link from the button. Paste URL or download from local device. Unpack the archive to the root of the directory.
This is where I got a little dull, maybe the sea or drinks influenced, or maybe my brain relaxed on vacation. The archive contains the “wordpress” folder, respectively, after unzipping it will also be in the root of the directory. You might think that you just need to open about.pudng.com/wordpress and set everything up there. Spoiler: don't do it.
This maneuver requires manually creating wp-config.php and adding the suggested database connection configurations (screenshot below). Let's say we did this, and now our site is configured at about.pudng.com/wordpress/. But we need to be able to access the site by accessing the root URL. We copy all the contents from the wordpress directory to the root. And it's not that simple; we need to override the root directory in the configurations. WordPress. Okay, it's better to stop here and forget everything, like a bad dream, we went in the wrong direction.

There is a faster and easier way: copy the contents of the wordpress directory and paste it into the root. In order not to copy files one at a time, there is a small “select all” button that I have been looking for for about five minutes.

Next, open about.pudng.com and continue setting up the interface. WordPress.
Just as in the first method, we specify the database data and data for authorization as a site administrator.


We also upload the site through the "File Manager" and can administer through <domain>/wp-login.php.
In order for the site to be accessible via https, you need to enable Let's Encrypt. It is connected in the "Integration / Modules" tab, but this is a topic for a separate article.

The final stage: deploying the landing
Move on and we see that WordPress has already created a "Hello world!" page for us.

The domain is connected, WordPress Installed in less than 10 minutes. All that's left is to add the one-page website the developers provided. We'll use the File Manager for this.

And voila, that's what we wanted to see! The development landing page is now available at

PS: The new ISPmanager interface is already available and it looks prettier without losing a good user experience.

Conclusion
The iPad 3 in this story was not such a useless device, and I had complete confidence that even a mobile phone would cope with this task in the shortest possible time. As a result, I did my little stress test. ISPmanager helped me out and turned out to be a rather convenient tool, despite the fact that the support said that there is no mobile version and it is better to work from a computer.
We are we are launching the promotion again: a license for ISPmanager Lite as a gift for three months when creating a new server. The promotion will last from September 7 to November 30, all this time you can use the panel for free. In three months, the panel will cost 200 rubles - 150 rubles cheaper than buying directly from ISPsystems.
Having solved a task that is trivial for an admin in a non-trivial way, I enjoyed it and hope that my experience will be useful to you. PS From now on, colleagues, do not be afraid to take tablets and old equipment with you on vacation.
Source: habr.com
