wtorek, 26 marca 2019
SSH key restrict login
no-port-forwarding,no-agent-forwarding,no-X11-forwarding,command="echo 'Please login as the user \"XYZ\" rather than the user \"root\".';echo;sleep 10" KEY
poniedziałek, 4 marca 2019
piątek, 25 stycznia 2019
grub2 centos 7 rescue
grub> set prefix=(md/md2)/boot/grub2
grub> set root=(md/md2)
grub> insmod linux
grub> normal
grub> set root=(md/md2)
grub> insmod linux
grub> normal
poniedziałek, 21 stycznia 2019
The cPanel user X does not exist in the database map.
The cPanel user X does not exist in the database map.
Mysql::initcache failed: adminbin Cpanel/cpmysql/DBCACHE: exit 255
fix:
/scripts/rebuild_dbmap username
środa, 16 stycznia 2019
EFI grub centos 7
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
yum reinstall grub2-efi grub2-efi-modules shim
https://community.centminmod.com/threads/grub-help.12867/page-3
without EFI
grub2-mkconfig –o /boot/grub2/grub.cfg
yum reinstall grub2-efi grub2-efi-modules shim
https://community.centminmod.com/threads/grub-help.12867/page-3
without EFI
grub2-mkconfig –o /boot/grub2/grub.cfg
piątek, 13 lipca 2018
czwartek, 12 kwietnia 2018
Cloudlinux 7 + cPanel - problem with grub on OVH NVMe dedicated
Create symlink:
/etc/grub2.cfg should point to /boot/efi/EFI/centos/grub.cfg
/etc/grub2.cfg should point to /boot/efi/EFI/centos/grub.cfg
poniedziałek, 9 kwietnia 2018
phpmyadmin root cannot login
mysql> USE mysql;
mysql> UPDATE user SET plugin='mysql_native_password' WHERE User='root';
mysql> FLUSH PRIVILEGES;
mysql> exit;
$ service mysql restart
mysql> UPDATE user SET plugin='mysql_native_password' WHERE User='root';
mysql> FLUSH PRIVILEGES;
mysql> exit;
$ service mysql restart
wtorek, 27 marca 2018
Virtualizor: Windows Server 2016 / Windows 10: system thread exception not handled
Change CPU MODE from Default to Host Model in VPS settings
poniedziałek, 5 marca 2018
Custom php.ini for user cloudlinux
su -s /bin/bash USERNAME
cd /etc/cl.php.d/alt-phpXX/ (where XX depend from version)
vi custom.ini >> and add custom parameters.
disable_functions=function1,function2,mail
cd /etc/cl.php.d/alt-phpXX/ (where XX depend from version)
vi custom.ini >> and add custom parameters.
disable_functions=function1,function2,mail
Subskrybuj:
Posty (Atom)