Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 84
» Latest member: Clyde Rupert Y. Duskinfloyd
» Forum threads: 109
» Forum posts: 111

Full Statistics

Online Users
There are currently 27 online users.
» 0 Member(s) | 27 Guest(s)

Latest Threads
Web panel stop working
Forum: Web Panel
Last Post: johnwalker
05-31-2017, 03:29 PM
» Replies: 0
» Views: 161
Web Panel
Forum: Web Panel
Last Post: johnwalker
05-31-2017, 03:27 PM
» Replies: 0
» Views: 69
Rsync (Remote Sync)
Forum: Tips and Trick
Last Post: cybernetwebdesign
04-29-2017, 05:29 PM
» Replies: 0
» Views: 302
“date(): It is not safe t...
Forum: Server Problems
Last Post: Joko Prasetyo Hadi
04-02-2017, 09:46 AM
» Replies: 0
» Views: 408
Xenforo force to https vi...
Forum: .htaccess
Last Post: cybernetwebdesign
03-06-2017, 03:07 PM
» Replies: 0
» Views: 552
How To Remove Brivium Cop...
Forum: Tips and Trick
Last Post: cybernetwebdesign
02-17-2017, 03:11 AM
» Replies: 0
» Views: 473
How to change/remove the ...
Forum: Tips and Trick
Last Post: cybernetwebdesign
02-17-2017, 03:07 AM
» Replies: 0
» Views: 382
(Error 521: Web server is...
Forum: Server Problems
Last Post: cybernetwebdesign
02-07-2017, 06:12 PM
» Replies: 0
» Views: 467
How to Uninstall a BIND i...
Forum: Server Problems
Last Post: cybernetwebdesign
01-25-2017, 02:40 PM
» Replies: 0
» Views: 450
How To Disable MySQL Stri...
Forum: Server Problems
Last Post: cybernetwebdesign
01-24-2017, 05:14 PM
» Replies: 0
» Views: 469

 
  Web panel stop working
Posted by: johnwalker - 05-31-2017, 03:29 PM - Forum: Web Panel - No Replies

Hi,
for not where stop working web panel when i enter 
can't find the logs i looking in /var/log/ and /usr/local/vesta/log
Where i should looking? its nginx
I didn't find the right solution from the Internet.
References: https://forum.vestacp.com/viewtopic.php?t=13968

  Animated Video Example

Print this item

  Web Panel
Posted by: johnwalker - 05-31-2017, 03:27 PM - Forum: Web Panel - No Replies

In old Opera there was a built in feature called "Web Panel" in the sidebar, where you could surf to websites. As it was very useful, I just waited for something like that to come to the new Opera now when we have a side bar. But as nothing came, I for a couple of days ago decided to build my own extension.
I didn't find the right solution from the Internet.
References: http://forums.opera.com/discussion/1866045/web-panel/p1

  Explainer Videos Example

Print this item

Thumbs Up Rsync (Remote Sync)
Posted by: cybernetwebdesign - 04-29-2017, 05:29 PM - Forum: Tips and Trick - No Replies

VPS1 = VPS Asal
VPS2 = VPS Tujuan


Persiapan:
Jalankan di VPS1:

  • 1. ssh-keygen
  • 2. pencet enter kosongkan semua entry
  • 3. ssh-copy-id -i /root/.ssh/id_rsa.pub xx.xx.xx.xx (xx.xx.xx.xx = ip VPS2)
  • 4. screen (jika not found instal dulu: yum install screen -y atau apt-get install screen). Gunanya utk menjalankan command di background supaya jika diskonek dari server proses scp tidak berhenti
  • 5. pindah ke direktori di mana semua files akan ditransfer misal cd /home
  • 6. scp -r * xx.xx.xx.xx:/root (/root di sini artinya files akan ditransfer ke VPS2 dan masuk di direktori /root. Supaya mudah manage, lebih baik membuat sebuah direktori dulu di VPS2 untuk menampung file pindahan misal dg nama direktori backup sehingga commandnya adalah: scp -r * xx.xx.xx.xx:/backup)
  • 7. Selama proses transfer berlangsung, bisa keluar dari screen bahkan close terminal: ctrl + A + D
  • 8. Untuk masuk kembali ke screen dan melihat progres transfer jalankan: screen -rD

Bila nomer 1 kesulitan measukkan key
 
Code:
ssh-keygen -R "xx.xxx.xxx.xxx"

TANPA PROGRES
 
Code:
rsync -av /home/xxx/public_html/ root@xx.xxx.xx.xx:/home/mx/public_html/

DENGAN PROGRES
 
Code:
rsync -avzhe ssh --progress /home/xxx/public_html/ root@xx.xxx.xxx.xxx:/home/mx/public_html/

​​Note:
Jika VPS2 tidak menggunakan port default 22 maka: 
  • command nomor 3 menjadi ssh-copy-id -i /root/.ssh/id_rsa.pub '-p 333 xx.xx.xx.xx' (333 = contoh port ssh)
  • command nomor 6 menjadi scp -r -P 333 * xx.xx.xx.xx:/root

Butuh bantuan?
Silahkan hubungi kami disini

Print this item

Thumbs Up “date(): It is not safe to rely on the system's timezone settings…”
Posted by: Joko Prasetyo Hadi - 04-02-2017, 09:46 AM - Forum: Server Problems - No Replies

You probably need to put the timezone in a configuration line in your php.ini file.
 

Code:
/usr/local/php/php.ini
 
You should have a block like this in your php.ini file:
 
Code:
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Asia/Jakarta

If not, add it (replacing the timezone by yours). After configuring, make sure to restart httpd
 
Code:
service httpd restart

Print this item

Brick Xenforo force to https via .htaccess
Posted by: cybernetwebdesign - 03-06-2017, 03:07 PM - Forum: .htaccess - No Replies

Code:
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Print this item

Thumbs Up How To Remove Brivium Copyright
Posted by: cybernetwebdesign - 02-17-2017, 03:11 AM - Forum: Tips and Trick - No Replies

Add following code to EXTRA.css
 

Quote:#BRCopyright { display: none; }

Where is EXTRA.css?
 
Quote:Admincp >> Appearance >> Templates and then scroll down a little till you find EXTRA.CSS and then click which will bring you inside the extra.css template.

Print this item

Thumbs Up How to change/remove the xenforo copyright footer
Posted by: cybernetwebdesign - 02-17-2017, 03:07 AM - Forum: Tips and Trick - No Replies

Many of tricks to remove XenForo branding on forum site like editing phrase of xenforo_copyright but now it doesn't work anymore. So here i'm going to share you a new trick to 'remove xenforo branding finally.

Step 1: Sign in cpanel
Step 2: click on "public_html"
Step 3 : go to "Library" > "xenforo"
Step 4 : Open the "Application.php" with editor mood.
step 5 : Find 'Public static function getCopyrightHtml()' 
step 6: edit or Remove the value as u desire.
step 7: save. done!
Look the images.

 

[Image: 5Hx8rUVgzQA4GdE_UCxJFxEEwZSOCbOJgHNHsiqH...46-h557-no]

Print this item

Thumbs Up (Error 521: Web server is down) How do I whitelist CloudFlare's IPs in .htaccess?
Posted by: cybernetwebdesign - 02-07-2017, 06:12 PM - Forum: Server Problems - No Replies

You would put these commands in .htaccess to whitelist CloudFlare's IP addresses

(IPv4)
 

Code:
Allow from 199.27.128.0/21
Allow from 173.245.48.0/20
Allow from 103.21.244.0/22
Allow from 103.22.200.0/22
Allow from 103.31.4.0/22
Allow from 141.101.64.0/18
Allow from 108.162.192.0/18
Allow from 190.93.240.0/20
Allow from 188.114.96.0/20
Allow from 197.234.240.0/22
Allow from 198.41.128.0/17
Allow from 162.158.0.0/15
Allow from 104.16.0.0/12
Allow from 172.64.0.0/13

(IPv6)
 
Code:
Allow from 2400:cb00::/32
Allow from 2405:8100::/32
Allow from 2405:b500::/32
Allow from 2606:4700::/32
Allow from 2803:f800::/32
Allow from 2c0f:f248::/32
Allow from 2a06:98c0::/29

Please note: These ips should also be whitlelisted in /etc/csf/csf.allow and /etc/csf/csf.ignore

Print this item

Thumbs Up How to Uninstall a BIND in YUM
Posted by: cybernetwebdesign - 01-25-2017, 02:40 PM - Forum: Server Problems - No Replies

The Bind -- or Berkeley Internet Name Domain -- free Linux and Unix name server program provides information about domain names hosted on the system. If you don't host domains and your system doesn't need to provide IP address records about systems, you can safely uninstall Bind to free system resources. Uninstall bind with a single command on Linux computers with Yellowdog Updater Modified -- or YUM -- software.
 

Code:
yum remove bind

Print this item

Thumbs Up How To Disable MySQL Strict Mode
Posted by: cybernetwebdesign - 01-24-2017, 05:14 PM - Forum: Server Problems - No Replies

[Image: MySQL-Database.jpg]
In this tutorial we will show you how to disable MySQL strict mode on your CentOS 7 server. For those of you who didn’t know, Strict mode controls how MySQL handles invalid or missing values in data-change statements such as INSERT or UPDATE. A value can be invalid for several reasons.This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step turn off or to disable the MySQL strict mode on a CentOS 7 server.

Open the file with your favorite command line editor. In this example, we use ‘nano’:
 
Code:
nano /etc/my.cnf

Find the following lines:
 
Code:
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

If you find a line similar to the above that is setting the 
 
Code:
sql_mode
 
variable then you will need to replace it with the following line to disable MySQL strict mode:
 
Code:
sql_mode=""

Finally, Restart MySQL with this command:
 
Code:
systemctl restart mysql

To verify that the process was completed properly you can run the following:
 
Code:
mysql -e "SELECT @@sql_mode;"

The output may look similar to the following:
 
Code:
+--------------------------------------------+
| @@sql_mode
+--------------------------------------------+
| NO_AUTO_CREATE_USER
+--------------------------------------------+

Congratulation’s! You have successfully disable the MySQL strict mode. Thanks for using this tutorial for turn off or to disable the MySQL strict mode on CentOS 7 system. For additional help or useful information, we recommend you to check the official MySQL web site.

Print this item