Halaman

Rabu, 09 Januari 2019

TODO LIST for VestaCP Fresh Installastion


Beberapa kali install ulang vestaCP ada aja yang kelupaan....
Baik itu konfigurasi mysql, phpmyadmin, PHP version dlll.
So biar ga lup nih TODO nya :




  1.  Konfigurasi SSH Server agar bisa akses dengan akun root 


  • login SSH dengan akun admin vestaCP
  • ketik command "sudo passwd" enter (default nya, user root gada password. Kita set Passwordnya) 
  • Tes akun root ketik "sudo su" masukkan password admin

  1. sebagai root, edit the sshd_config file di/etc/ssh/sshd_config:
    nano /etc/ssh/sshd_config
  2. Cari baris yang berisi "PermitRootLogin" rubah value nya menjadi : PermitRootLogin yes.
    # Authentication:
    #LoginGraceTime 2m
    PermitRootLogin yes
    #StrictModes yes
    #MaxAuthTries 6
    #MaxSessions 10
  3. Simpan file /etc/ssh/sshd_config 
  4. Restart SSH server:
    service sshd restart

 2. Konfigurasi MySql Server agar bisa akses dengan akun root 
  • Login SSH dengan akun root
~$ sudo /etc/init.d/mysql stop
~$ sudo mysqld_safe --skip-grant-tables &
~$ mysql -u root
Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 1 to server version: 4.1.15-Debian_1-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

mysql> use mysql;

mysql> update user set password=PASSWORD("ganti dengan Password Admin Vesta") where User='root';

mysql> flush privileges;

mysql> quit

~$ sudo /etc/init.d/mysql stop

Stopping MySQL database server: mysqld

STOPPING server from pid file /var/run/mysqld/mysqld.pid

mysqld_safe[6186]: ended

[1]+  Done                    mysqld_safe --skip-grant-tables

~$ sudo /etc/init.d/mysql start

~$ mysql -u root -p

* MySQL Community Server 5.6.35 is started
~$ mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.6.35 MySQL Community Server (GPL)

Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

  • buka vestaCP -> Server -> MySQL -> klik Configure
  • Tambahkan line ini : sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
    sebelum !include


3. Fix Bug PHPMyAdmin 

4. Install MultiPHP Version

Apalagi ya?
Menyusul sambil inget2 yang lain

Tidak ada komentar:

Posting Komentar