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
5ms th_a application.cpp:1417 initialize_plugins ] Initializing plugin account_by_key | |
2 | |
125475ms th_a application.cpp:1417 initialize_plugins ] Initializing plugin account_by_key | |
3 | |
125475ms th_a plugin.cpp:71 print_greeting ] Welcom account_by_key | |
4 | |
125475ms th_a plugin.cpp:71 print_greeting ] Welcom account_by_key | |
5 | |
125475ms th_a application.cpp:1417 initialize_plugins ] Initializing plugin account_history | |
6 |
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
boby@hon-pc-01:~$ nslookup -q=mx shebafoods.com 74.91.25.59 | |
Server: 74.91.25.59 | |
Address: 74.91.25.59#53 | |
shebafoods.com mail exchanger = 20 mx2.awesomeantispam.com. | |
shebafoods.com mail exchanger = 10 mx1.awesomeantispam.com. | |
shebafoods.com mail exchanger = 21 mail.shebafoods.com. | |
boby@hon-pc-01:~$ nslookup -q=mx shebafoods.com DNS1.APPLIEDI.NET | |
Server: DNS1.APPLIEDI.NET |
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
cd /etc/apache2/conf | |
cp httpd.conf httpd.conf-`date +%Y-%m-%d-%s` | |
git checkout httpd.conf | |
service httpd restart |
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
boby@hon-pc-01:~$ nslookup desertunicorndesigns.com NS1.TRWHOST.COM | |
Server: NS1.TRWHOST.COM | |
Address: 52.4.207.175#53 | |
Name: desertunicorndesigns.com | |
Address: 52.4.207.175 | |
boby@hon-pc-01:~$ nslookup desertunicorndesigns.com NS2.TRWHOST.COM | |
;; connection timed out; no servers could be reached |
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
boby@hon-pc-01:~$ nslookup -q=txt lespattesjaunes.com NS3.COLLECTIFHUB.CA | |
Server: NS3.COLLECTIFHUB.CA | |
Address: 198.27.68.227#53 | |
lespattesjaunes.com text = "v=spf1 include:_spf.google.com +a +mx +ip4:198.27.68.227 +ip4:158.69.76.154 +ip4:173.209.37.29 ~all" | |
boby@hon-pc-01:~$ |
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
1) Create a database in Cpanel | |
2) Exact and upload files in zip to public_html folder. | |
3) Restore .SQL file using Cpanel > phpMyAdmin | |
4) Update database info in wp-config.php file that you can see in public_html folder. | |
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
# Handle requests for .php files. | |
if (strpos($page_name, '.php') !== false) { | |
if ($page_name == 'index.php') { | |
HTTP::redirect("/", "301"); | |
} else if ($page_name == 'linux_reseller.php') { | |
HTTP::redirect("/linux-reseller", "301"); | |
} else if ($page_name == 'dedicated_server.php') { | |
HTTP::redirect("/dedicated-server", "301"); |
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
root@ns393081:~# df -h | |
Filesystem Size Used Avail Use% Mounted on | |
/dev/root 20G 14G 4.8G 74% / | |
devtmpfs 7.9G 0 7.9G 0% /dev | |
tmpfs 7.9G 0 7.9G 0% /dev/shm | |
tmpfs 7.9G 15M 7.9G 1% /run | |
tmpfs 5.0M 0 5.0M 0% /run/lock | |
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup | |
/dev/md2 487M 22M 436M 5% /boot | |
/dev/md4 1.8T 970G 752G 57% /home |
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 (function_exists("geoip_open")) { | |
echo "geoip_open() found"; | |
} else { | |
echo "geoip_open() not found"; | |
} |
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
[root@server12 ~]# curl --ftp-create-dirs -v -P - -u backup 'ftp://82.16.34.92///test-dir/' | |
Enter host password for user 'backup': | |
* About to connect() to 82.16.34.92 port 21 (#0) | |
* Trying 82.16.34.92... connected | |
* Connected to 82.16.34.92 (82.16.34.92) port 21 (#0) | |
< 220 (vsFTPd 3.0.2) | |
> USER backup | |
< 331 Please specify the password. | |
> PASS N0rth3dgE! | |
< 230 Login successful. |