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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 137
» Latest member: aneezahhadadgld
» Forum threads: 146
» Forum posts: 158

Full Statistics

Online Users
There are currently 52 online users.
» 0 Member(s) | 50 Guest(s)
Google, UptimeRobot

Latest Threads
The Importance of Form Si...
Forum: Tips and Trick
Last Post: aneezahhadadgld
3 hours ago
» Replies: 0
» Views: 13
Why Mobile Friendliness I...
Forum: Tips and Trick
Last Post: emmakennedybfd
09-13-2018, 03:22 AM
» Replies: 0
» Views: 201
Why every bank has a logo...
Forum: Web Design Software
Last Post: pearlsnyder
09-10-2018, 08:28 PM
» Replies: 0
» Views: 178
Hello!!
Forum: Control Panel Reviews
Last Post: yami
08-18-2018, 12:05 PM
» Replies: 0
» Views: 316
What is the Difference be...
Forum: Tips and Trick
Last Post: Nancy Delatorre
04-23-2018, 06:01 PM
» Replies: 0
» Views: 218
What Are The Biggest Web ...
Forum: Tips and Trick
Last Post: hadiyabarakahea
04-17-2018, 05:25 PM
» Replies: 0
» Views: 135
RSS News Portal - Autopil...
Forum: Commercial Advertising or Promotion
Last Post: Nasser41
03-23-2018, 05:26 PM
» Replies: 2
» Views: 2,049
Here’s What Businesses Ne...
Forum: Tips and Trick
Last Post: abigailcaleb
03-22-2018, 10:09 PM
» Replies: 1
» Views: 495
How To Remove Brivium Cop...
Forum: Tips and Trick
Last Post: angelajoseph
03-22-2018, 09:33 PM
» Replies: 1
» Views: 1,523
Elements of Modern web de...
Forum: Tips and Trick
Last Post: abigailcaleb
03-22-2018, 03:01 PM
» Replies: 1
» Views: 417

 
  Install MariaDB 10 on CentOS 6
Posted by: cybernetwebdesign - 09-24-2017, 07:35 PM - Forum: Tips and Trick - No Replies

At the time of writing, MariaDB 10.1 is the development version of MariaDB. It is based on MariaDB 5.5, and includes back-ported features from MySQL 5.6. There are also new features that are exclusive to MariaDB.

For CentOS, RedHat, and Fedora, it is highly recommended to install from a repository using yum. This guide will walk you through the installation steps for CentOS 6.

Add the MariaDB repository

First, ensure the list of available packages is up-to-date before installing. Open your SSH terminal and input the following commands.
 

Code:
yum -y update

Add the MariaDB repository.
 
Code:
nano /etc/yum.repos.d/MariaDB.repo

For 32-bit users, paste the following text:
 
Code:
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos6-x86
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

For 64-bit users, paste the following text:
 
Code:
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

Save the MariaDB.repo file.

Install software

At this point, installing MariaDB is as simple as running just one command.
 
Code:
yum install MariaDB-server MariaDB-client -y

Once the installation completes, start MariaDB.
 
Code:
service mysql start

Next, set MariaDB to start on every boot.
 
Code:
chkconfig mysql on

Secure MariaDB

Secure your MariaDB installation. The following checklist shows the steps that will be performed. 
  • Set (Change) root password.
  • Remove anonymous users.
  • Disallow root login remotely.
  • Remove test database and access to it.
  • Reload privilege tables.
Run the secure installation command.
 
Code:
mysql_secure_installation

Example output
 
Code:
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!

In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.

Set root password? [Y/n] y
New password: ENTER YOUR PASSWORD
Re-enter new password: REPEAT YOUR PASSWORD
Password updated successfully!
Reloading privilege tables..
... Success!

By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] y
... Success!

Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] y
... Success!

By default, MariaDB comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] y
- Dropping test database...
... Success!
- Removing privileges on test database...
... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] y
... Success!

Cleaning up...

All done! If you've completed all of the above steps, your MariaDB
 installation should now be secure.

Thanks for using MariaDB!

Restart MariaDB.
 
Code:
service mysql restart

You can connect to MariaDB by using following command.
 
Code:
mysql -u root -p

Congratulations, you have successfully installed MariaDB on CentOS 6. Enjoy!

Print this item

  Blogger Contents Hack
Posted by: Hyuna Vallery Prasetya - 09-18-2017, 03:52 PM - Forum: Tips and Trick - No Replies

Code:
/atom.xml?redirect=false&start-index=1&max-results=500

Print this item

  Introduction Here
Posted by: Daisy221 - 09-15-2017, 05:50 PM - Forum: Control Panel Reviews - Replies (1)

Hello, I am Daisy Simpson, a university professor,and I like to believe that I'm a very good professional freelance writer. Passionate about to writing and charity.

Print this item

Thumbs Up Xenforo Forcing SSL and WWW using .htaccess
Posted by: cybernetwebdesign - 09-10-2017, 07:33 PM - Forum: .htaccess - No Replies

I would like to know if this code in .htaccess for forcing SSL and WWW in URL is correct, because with another codes I usually get redirect loop, e.g. RewriteCond %{HTTPS} !=on and now it works like a charm (suspiciously). Also, is possible to write it better/simplier?
 

Code:
# Force to SSL
RewriteCond %{HTTP:HTTPS} !1
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
 
Code:
# Force to WWW
RewriteCond %{HTTP_HOST} !^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

Print this item

  What is white space in web design?
Posted by: jeancornor - 08-12-2017, 09:28 PM - Forum: Tips and Trick - No Replies

White space or negative space is often the most overlooked and underutilized element, which has the caliber to create great looking web layout. White space is seen as empty space. Those who are not aware with the importance of negative space, often consider it waste of screen space. In contrast to that it is the most valuable part of your design. This is why designers associated with website design company in California love to utilize it to create elegant designs.
 
Whitespace is the backbone of minimalist design. If you are thinking it’s a white color space on the web page, then let me rectify the concept. In fact it’s a space between graphics, images, columns, text and margins. Designers leave some area untouched while designing a website to create a design with elegant spacing. Their aim is to enhance persuasiveness of layout with simplification and minimalism.  Google home page is perfect example of the use white space to emphasize over the important action of search on their page.

Print this item

  Elements of Modern web design
Posted by: jacksparrow - 08-06-2017, 01:33 AM - Forum: Tips and Trick - Replies (1)

Designing and development are not stationery activities. They keep on changing not only due to the technological advancements but also on the basis of likes and dislikes of users. This makes it necessary for all the professional designers and developers to keep themselves updated with latest design trends. However, professional designers don’t follow and implement all the trends while designing a website. Instead they know how to use them thoughtfully to benefit a brand.

 A professional web design company in Singapore can efficiently use these trends to improve the appearance of their client website. If you take a look on the elements of modern web design, you will conveniently identify and list down the trends like unique and large typography or font face, large and responsive images, background videos, semi-flat designs, hamburger menus, giant product image, card design and short product videos. All these elements are useful on their own. It’s all about designers capabilities to use them creatively to create aesthetic appeal in a design.

Print this item

  How to change password in centos using terminal
Posted by: Joko Prasetyo Hadi - 08-02-2017, 02:34 PM - Forum: Tips and Trick - No Replies

Code:
At the terminal, as root do 'passwd' and it will ask you for your new password.

Print this item

  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 - Replies (1)

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/ [email protected]:/home/mx/public_html/

DENGAN PROGRES
 
Code:
rsync -avzhe ssh --progress /home/xxx/public_html/ [email protected]:/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