It is currently Sun Dec 22, 2024 1:27 am

News News of Lik`s forum

Site map of Lik`s forum » Forum : Lik`s forum

cPanel/WHM/OpenVZ/Xen/Linux/IPMI Lik`s forum






cPanel install script "latest" inside

As you may already know, cPanel uses makeself (Make self-extractable archives on Unix) to generate their initial install shell script called "latest".
It`s quite easy to determine it:
Code: Select all
wget -N http://httpupdate.cpanel.net/latest
head latest

#!/bin/sh
# This script was generated using Makeself 2.1.3
...
label="Cpanel & WHM Installer"
...

So, "latest" cPanel installer is just self-extractable tar.gz archive from a directory. Let`s view built-in makeself metadata/info:
# sh latest --help

Makeself version 2.1.3
1) Getting help ...
Read more : cPanel install script "latest" inside | Views : 3805 | Replies : 0 | Forum : Server Side Actions




Ipmitool - set alternate boot device on next reboot

It can be true that due to BIOS settings (namely enabled "Quite Boot" and "Quick Boot" features) one can not log into BIOS screen, because BMC initialization takes longer.
In such case request the system to boot from an alternate boot device on next reboot can be used.

# ipmitool chassis bootdev none options=help
Legal options are:
help: print this message
valid: Boot flags valid
persistent: Changes are persistent for all future boots
efiboot: Extensible ...


Reinstall all installed packages with yum

To list all currently installed packages in the system the following command might be useful:
Code: Select all
yum list installed

To reinstall all of them easily one should:
Code: Select all
mkdir emptydirectory
cd emptydirectory
yum reinstall *

Note, that empty directory is required for a successful command execution.
More elegant solution, without empty directory, is:
Code: Select all
yum reinstall \*
Read more : Reinstall all installed packages with yum | Views : 34818 | Replies : 0 | Forum : Linux specific


PCI & USB ID Lists update

Download new version of the PCI ID list:
Code: Select all
update-pciids

update-pciids fetches the current version of the pci.ids file from the primary distribution site and installs it.
This utility requires curl, wget or lynx to be installed. If gzip or bzip2 are available, it automatically downloads the compressed version of the list.
New list will be saved to /usr/share/misc/pci.ids.

Download new version of the USB ID list:
Code: Select all
update-usbids

New list will be saved to /usr/share/misc/usb.ids
Read more : PCI & USB ID Lists update | Views : 2922 | Replies : 0 | Forum : Linux specific


Eval gzinflate base64_decode PHP Decoder

eval gzinflate base64_decode PHP Decoder
http://www.tareeinternet.com/scripts/decrypt.php
php $_F=__FILE__;$_X= Byterun Decoder
http://www.tareeinternet.com/scripts/byterun.php
Read more : Eval gzinflate base64_decode PHP Decoder | Views : 3270 | Replies : 0 | Forum : Interesting links


Plain text <-> hexdump (TODO) Plain text <-> hexdump (TODO)

Code: Select all
$ echo -n SomeStringToBlock| xxd -ps
536f6d65537472696e67546f426c6f636b

Code: Select all
$ echo -n 536f6d65537472696e67546f426c6f636b | xxd -ps -r
SomeStringToBlock
Read more : Plain text <-> hexdump (TODO) | Views : 2771 | Replies : 0 | Forum : Server Side Actions


 

Login


Statistics

Total posts 505 • Total topics 442 • Total members 22

cron