This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There are three things to do to allow a 'service user' like www-data to login via ssh. | |
DISCLAIMER: | |
READ EVERYTHING BEFORE USE ANY COMMAND... OTHERWISE, YOU MIGHT LOSE ACCESS OF YOUR SERVER... | |
#Step 01 | |
######################## | |
#Use the below GIST and propely follow the command then come here and use below steps. | |
Link: https://gist.github.com/mhrubel/43825450cba521ede15d7b73cf865472 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Lets Check that swap file is already created or not | |
htop | |
## Use F10 Key from your keyboard to quit the htop screen! | |
## Lets create Swap file | |
## Use only one section from below 01 and 02 sections (1GB, 2GB) | |
## 01 Section - For 1GB Swap, use below commands (Section 01) | |
sudo fallocate -l 1G /swapfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Login to your server | |
### Create a root user password | |
sudo passwd root | |
### Choose a strong password!**** | |
### Lets Edit SSHD Config file | |
sudo nano /etc/ssh/sshd_config | |
### Remove the Comment (#) sign from Port and Enable the port | |
Port 22 | |
### Add below text inside the file (sshd_config) under "Authentication" block |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!defined("WHMCS")) | |
die("This file cannot be accessed directly"); | |
function sendTelegramMessage($pm) { | |
global $vars; | |
//$chat_id = (""); //Group | |
$chat_id = (""); //Channel | |
$tokenbot = (""); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Display Client's Credit Balance in Client Area | |
* | |
* @author WHMCMS | |
* @link www.whmcms.com | |
* @since WHMCS v6.0.0+ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Complete Installation and Configuration of Apache2, Multiple PHP, MariaDB, phpMyAdmin, LetsEncrypt, | |
HTTP/2, IonCube, Postfix, Dovecot, SPF, DKIM, Roundcube Webmail and | |
Files Permission Commands on Ubuntu 18.04 and 18.10 Web Server | |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
This is a complete Ubuntu Linux based web server for Website, PHP, SSL, TLS, Database and Email hosting purpose. | |
Built with the below components for good performance. Also, I tried to make it as secure as possible. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Nginx, PHP7.2-FPM, PHPmyAdmin, MariaDB, IonCube, LetsEncrypt SSL, Pure-FTPD, Postfix, Dovecot, Email Encryption, | |
Email Signature, RainLoop and Roundcube Webmail on Ubuntu 18.04 / 18.10 Server (with all software's complete configuration) | |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
This is a complete Ubuntu Linux based web server for website hosting purpose. Built with the below components for good performance. | |
Also, I tried to make it as secure as possible. | |
DISCLAIMER: I'm making this guide just for my own purpose and needs. But, If it meets your requirements, | |
please feel free to use the command with your own responsibility. Remember, I'm not liable if any bad thing happens to your server. | |
My recommendation is to you that use the command on a testing server before using it in a production server. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{* | |
********************************************************** | |
* Developed by: MG Mynul | |
* Website: https://www.mgmynul.com | |
********************************************************** | |
*} | |
{if $inactive} | |
{include file="$template/includes/alert.tpl" type="danger" msg=$LANG.affiliatesdisabled textcenter=true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /templates/orderforms/standard_cart/configureproduct.tpl | |
$("#inputNs1prefix").val('ns1'); | |
$("#inputNs2prefix").val('ns2'); | |
$("#inputNs1prefix").parent().parent().parent().css("display", "none"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
SiteBuilderOne WHMCS Customization | |
templates>six>css>custom.css | |
*/ | |
@import "https://fonts.googleapis.com/css?family=Oxygen"; |
NewerOlder