As our product is a power pack with such huge numbers of highlights, here our installment goes with a simple process and gets finished in just 8 steps. Fill in all the information carefully. Here, you can check out the demo content of installation with detailed screenshots :
Installing the project is very easy and you'll be able to install it without any coding knowledge. The installation process included three major steps:
Step1 :Before start upload nexthour.zip and extract nexthour.zip file.
To extract files in cPanel, you can use the File Manager tool. Here's how you can extract files from an archive using cPanel's File Manager:
Login to cPanel: Access your cPanel account by visiting the URL provided by your web hosting provider and entering your credentials.
Navigate to File Manager: Look for the File Manager icon in the cPanel dashboard and click on it. It is usually located in the "Files" section.
Select the Directory: In the File Manager, navigate to the directory where you want to extract the files. You can click on folders to open them and navigate through the directory structure.
Upload the Archive: If the archive file is not already present in the directory, click on the "Upload" button in the File Manager's toolbar. Use the file upload feature to select and upload the archive file from your local computer to the server.
Extract the Files: Once the archive file is uploaded, locate it in the directory and select it by clicking on it. You should see options in the File Manager's toolbar, including an "Extract" option. Click on the "Extract" button to initiate the extraction process.
Choose Extraction Options: A dialog box will appear asking for extraction options. You can choose the extraction destination, whether to preserve the directory structure within the archive, and other options. Make your selections and click on the "Extract Files" button to start the extraction process.
To extract files in Plesk, you can follow these steps:
Log in to your Plesk Control Panel using your administrator credentials.
Navigate to the "File Manager" section. This section allows you to manage files and directories within your Plesk account.
In the File Manager, locate the directory where you want to extract the files. You can navigate through the directory structure by clicking on the folders.
Once you are in the desired directory, select the ZIP file you want to extract. You can do this by clicking on the checkbox next to the file.
With the ZIP file selected, click on the "Extract Files" button in the toolbar at the top of the File Manager.
In the extraction dialog box, you can choose the destination directory for the extracted files. By default, it will extract the files to the current directory. If you want to extract to a different directory, select it from the dropdown list.
Optionally, you can check the "Preserve directory structure" option if you want to maintain the original directory structure of the ZIP file during extraction.
Click on the "OK" button to start the extraction process. Plesk will extract the files from the ZIP archive to the specified destination directory.
Once the extraction is complete, you should see the extracted files in the chosen destination directory.
To extract files on Windows, you can use the built-in file extraction tool called "Windows Explorer" or use third-party software like WinRAR, 7-Zip, or WinZip. Here's how you can extract files using both methods:
Using Windows Explorer:
Locate the compressed file (e.g., ZIP, RAR) that you want to extract.
Right-click on the compressed file.
From the context menu, select "Extract All" or "Extract Here" depending on your preference.
"Extract All" will prompt you to choose a destination folder for the extracted files.
"Extract Here" will extract the files directly to the current folder.
Follow the on-screen prompts to complete the extraction process.
Using Third-Party Software (e.g., WinRAR):
Install the third-party software (e.g., WinRAR) if you haven't already.
Right-click on the compressed file.
From the context menu, select the appropriate option based on the software installed (e.g., "Extract Here with WinRAR").
The third-party software will open and display the contents of the compressed file.
Choose a destination folder to extract the files, either by specifying a folder path or by selecting an existing folder.
Click the "Extract" or "OK" button to start the extraction process.
To extract a .zip file on Ubuntu VPS, you can use the unzip command-line tool. Here's how you can do it:
Connect to your Ubuntu VPS using SSH or any preferred method.
Navigate to the directory where the .zip file is located. For example, if the .zip file is in the /home/user/nexthour directory.
Copy
cd /home/user/nexthour or /var/www/html
Once you are in the directory containing the .zip file, you can use the unzip command to extract its contents. The basic syntax of the command is as follows:
Copy
unzip nexthour.zip
Once you execute the unzip command, the contents of the .zip file will be extracted to the specified directory. You can now access and work with the extracted files as needed. If any files in server please take backup first.
Must check before unzip file unzip utility installed in vps. Install the unzip Utility: Run the following command to install the unzip utility:
Copy
sudo apt update
sudo apt install unzip
Verify the Installation: After the installation is complete, you can verify if unzip is installed properly by running the following command:
Copy
unzip -v
You should see the version information for unzip if it is installed successfully.
1. Login to hPanel
Visit Hostinger's website and log in to your account.
Access the hPanel (Hostinger Panel) dashboard.
2. Open File Manager
In the hPanel dashboard, navigate to the Files section.
Click on the File Manager option.
3. Select the Directory
In the File Manager, browse through the directories to locate where you want to extract the files.
Click on the appropriate folder to open it.
4. Upload the Archive
If the archive file is not already in the desired directory:
Click on the Upload Files button (usually located at the top or within the directory view).
Select the archive file from your local computer and upload it to the server.
5. Extract the Files
After uploading, locate the archive file (e.g., .zip) in the directory.
Right-click on the file, or use the available action buttons (such as the "three dots" menu).
Choose the Extract option from the dropdown menu.
Step2 :Create MySQL database, add a user to it with full permissions.
To create a MySQL database in cPanel using the database wizard:
Log in to your cPanel account.
In the "Databases" section, click on "MySQL Databases"
In the "New Database" field, enter the name you want to give to your new database and click on "Create Database"
In the "Add a New User" fields, enter a username and password for your new database and click on "Create User". Don't use # in Database Password string.
In the "Add User to a Database" section, select the new user and the new database you just created, then click on "Add"
In the "Manage User Privileges" section, choose the privileges you want to assign to the user for the specific database, then click on "Make Changes". Give user Full Privilege.
Your new MySQL database is now created and ready to use. You can use this new database to store your data and use it for your website or application.
To create a MySQL database in Plesk using the database wizard:
Log in to your Plesk control panel.
Click on the "Databases" tab at the top of the page.
Click on the "Add Database" button.
Select the database type that you want to create (MySQL in this case).
Enter a name for your database and select the preferred database server.
Choose a username and password for the database user, and enter them in the appropriate fields. Don't use # in Database Password string.
Click on the "Create Database" button.
Once the database is created, you can use the "Webadmin" button to access the phpMyAdmin interface, where you can manage your database tables and data.
To create a MySQL database in phpMyAdmin :
Open phpMyAdmin in your web browser and log in using your MySQL username and password.
In the main phpMyAdmin window, you should see a list of existing databases (if any). To create a new database, click on the "New" button in the top left corner.
On the "Create Database" page, enter a name for your new database in the "Database name" field. You can also select a character set and collation for the database, but the default options should be fine for most cases.
Once you've entered the desired information, click on the "Create" button to create your new database.
You should now see your new database listed in the main phpMyAdmin window. You can click on the name of the database to view its details and manage its tables and data.
In the hPanel dashboard, find the Databases section.
Click on MySQL Databases.
3. Create a New Database
Locate the Create a New Database section.
Fill in the following fields:
Database Name: Enter a name for your database.
Username: Create a username for the database.
Password: Set a strong password for the database user.
Click on the Create button to complete the process.
4. Assign Full Permissions
Once the database is created, scroll down to the Current Databases section.
Find the database you just created.
Check if the user is already assigned to the database. If not:
Assign the user to the database by selecting the database and username.
Ensure All Privileges are selected (this is usually the default).
5. Save Credentials
Note down the database name, username, and password, as you’ll need these when connecting to the database from your application.
1. Log in to CyberPanel
Access your CyberPanel dashboard by visiting your server’s IP address or domain followed by port 8090 (e.g., http://yourserverIP:8090).
Enter your username (usually admin) and password to log in.
2. Navigate to Database Management
In the CyberPanel dashboard, look for the Databases section in the sidebar.
Click on Create Database.
3. Create a New Database
Fill in the required fields:
Database Name: Enter the name of your new database.
Database Username: Create a username for this database.
Password: Set a strong password for the user.
Select Website: Choose the website (domain) that will use this database. If none, you can leave this as is.
Click the Create Database button to create the database and user.
4. Verify the Database
Once created, navigate to Manage Databases (under the Databases section) to view your newly created database, along with its associated username and other details.
5. Assign Full Permissions
By default, the user you created during database creation will already have full permissions to the database.
No additional steps are needed unless you want to manually modify permissions (in which case you can use phpMyAdmin or terminal commands).
6. Save Credentials
Make a note of the database name, username, and password. These credentials are essential for connecting your application to the database.
It's important to note that, you should set a strong and unique password for the user and keep it secure, also you should back up your data regularly to prevent data loss. Don't use # in the Database Password string.
Step 3: Add database details :
Database Host = localhost
Database Port = 3306
Database Name = your_database_name
Database User = your_database_user_name
Database Password = your_database_password
Once you've added your database details to project, Project will automatically use these credentials to connect to your database when you run database-related commands or interact with your database in your code.
Add manually database detils via .env file
To add database details manually via the .env file in a Laravel application, follow these steps:
Locate the .env File: The .env file is located in the root directory of your Laravel project. Use a text editor to open the file.
Find the Database Configuration Section: Look for the section in the .env file that contains the database configuration variables. It typically starts with DB_.
Set Database Connection Details: Update the values of the following variables to match your database configuration:
Note : If showing an error 500in reset password, New User Registration and Payment Gateways then must check your mail setting. Reset password, New User Registration , and Payment Gateways error show due to you forget to add mail details or wrong mail details. also check error via debug true: https://mediacitydocs.gitbook.io/next-hour/faq/what-is-app-debug-mode#what-is-app-debug
The Web Site Just Showing a Blank White PageBlank white screen due to you give space in app name and mail from the name. Go to .env file and remove space and special characters in the app name and mail from the name.