Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-28, 14:12:14

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MRatWork

Pages: [1] 2 3 ... 1037
1
Go to 'admin > all > all domains > (select one) > ssl certificates > add let's encrypt (tab)'.

2
Did you choose 'letsencrypt ssl' or other in Kloxo-MR panel.

3
Kloxo-MR Technical Helps / Re: Database Admin Missing
« on: 2019-11-13, 11:27:28 »
Change the content of '/usr/local/lxlabs/kloxo/bin/common/misc/reset-mysql-root-password.php' to:
Code: [Select]
<?php 

include_once "lib/html/include.php";

$tpath "/usr/local/lxlabs/kloxo/serverfile";

if (isset(
$argv[1])) {
$pass $argv[1];
} else {
$pass randomString(9);
}

$text = <<<EOF
UPDATE mysql.user SET Password=PASSWORD('PASSWORD') WHERE User='USER';
FLUSH PRIVILEGES;
EOF;

$text str_replace("'USER'""'root'"$text);
$text str_replace("'PASSWORD'""'{$pass}'"$text);

file_put_contents("{$tpath}/reset-mysql-password.sql"$text);

print(
"Stop MySQL service...\n");
if (
isServiceExists('mysqld')) {
exec("service mysqld stop");
} else {
exec("service mysql stop");
}

print(
"MySQL ROOT password reset...\n");
sleep(10);
system("mysqld_safe --skip-grant-tables --init-file={$tpath}/reset-mysql-password.sql >/dev/null 2>&1 &");
sleep(15);

// MR -- need restart because need stop mysqld_safe before
print("Restart MySQL service...\n");
if (
isServiceExists('mysqld')) {
exec("service mysqld restart");
} else {
exec("service mysql restart");
}

exec("'rm' -f {$tpath}/reset-mysql-password.sql");

print(
"- Test Connecting:\n");

if (
$conn->connect_errno) {
print("  * Failed to connect to MySQL: " $conn->connect_error "\n");
log_error($conn->connect_error);
} else {
print("  * Success\n");
}

print(
"- Save to 'dbadmin' in slavedb\n");
$a['mysql']['dbpassword'] = $pass;
slave_save_db("dbadmin"$a);

/*
$text2 = <<<EOF
REPLACE INTO dbadmin (nname, parent_clname, parent_cmlist, dbtype, dbadmin_name, dbpassword, syncserver, oldsyncserver, olddeleteflag) VALUES
('mysql___localhost', 'pserver-localhost', '', 'mysql', 'root', 'PASSWORD', 'localhost', '', '');
COMMIT;
EOF;
*/

if (!empty(mysql_fetch_array(mysql_query("SHOW DATABASES LIKE '$dbname' ")))) {
$text2 = <<<EOF
UPDATE dbadmin SET dbpassword='PASSWORD' WHERE nname='mysql___localhost' AND dbtype='mysql' AND dbadmin_name='root';
COMMIT;
EOF;

$text2 str_replace("'PASSWORD'""'{$pass}'"$text2);

print("- Update to 'dbadmin' in 'kloxo' database\n");
exec("mysql -u root -p'{$pass}' kloxo -e \"{$text2}\"");
}

$conn->close();

and then try again 'sh /script/reset-mysql-root-password'

4
Kloxo-MR using letsencrypt SSL (free) for domain. You can add this ssl after your domain activated (recognized by browser).

5
SSL related to domain. So, go to certain domain and then add 'ssl certificate'

6
Change 'child nameserver' and 'nameserver' in your domain panel from your domain provider.

8
Kloxo-MR Technical Helps / Re: Kloxo on OVZ
« on: 2019-11-09, 11:37:46 »
Give me access to your ssh and Kloxo-MR panel.

9
Beri saya akses ke ssh dan Kloxo-MR panel. Saya mau periksa 'keanehan' ini.

10
Kloxo-MR Technical Helps / Re: Kloxo on OVZ
« on: 2019-11-09, 03:20:01 »
No issue install Kloxo-MR in OpenVZ panel. Mostly issue related to hostname setting (must set as FQDN) and no swap for memory (need 'swap' enable).

11
Try 'sh /script/disable-firewall'.

12
Ada masalah berupa 'Failed to fork: Cannot allocate memory'. Coba lakukan reboot. Jika BUKAN OpenVZ coba lakukan 'sh /script/clearcache3'.

13
Coba saja lihat hasil 'systemctl status php-fpm -l'.

14
Makanya dipakai keterangan 'copy between...'.

15
PM

Pages: [1] 2 3 ... 1037

Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.041 seconds with 21 queries.

web stats analysis