File: /home/latest
#!/bin/sh
# This script was generated using Makeself 2.1.3
INSTALLER_VERSION=v00103
REVISION=33cdbca7ba61c343d48e46a8b4c951d4acbe83d8
CRCsum="2316883246"
MD5="767bbc6d50cb1e7f30d645f89de121cf"
TMPROOT=${TMPDIR:=/home/cPanelInstall}
label="cPanel & WHM Installer"
script="./bootstrap"
scriptargs=""
targetdir="installd"
filesizes="25692"
keep=n
print_cmd_arg=""
if type printf > /dev/null; then
print_cmd="printf"
elif test -x /usr/ucb/echo; then
print_cmd="/usr/ucb/echo"
else
print_cmd="echo"
fi
MS_Printf()
{
$print_cmd $print_cmd_arg "$1"
}
MS_Progress()
{
while read a; do
MS_Printf .
done
}
MS_dd()
{
blocks=`expr $3 / 1024`
bytes=`expr $3 % 1024`
dd if="$1" ibs=$2 skip=1 obs=1024 conv=sync 2> /dev/null | \
{ test $blocks -gt 0 && dd ibs=1024 obs=1024 count=$blocks ; \
test $bytes -gt 0 && dd ibs=1 obs=1024 count=$bytes ; } 2> /dev/null
}
MS_Help()
{
cat << EOH >&2
Makeself version 2.1.3
1) Getting help or info about $0 :
$0 --help Print this message
$0 --info Print embedded info : title, default target directory, embedded script ...
$0 --version Display the installer version
$0 --lsm Print embedded lsm entry (or no LSM)
$0 --list Print the list of files in the archive
$0 --check Checks integrity of the archive
2) Running $0 :
$0 [options] [--] [additional arguments to embedded script]
with following options (in that order)
--confirm Ask before running embedded script
--noexec Do not run embedded script
--keep Do not erase target directory after running
the embedded script
--nox11 Do not spawn an xterm
--nochown Do not give the extracted files to the current user
--target NewDirectory Extract in NewDirectory
--tar arg1 [arg2 ...] Access the contents of the archive through the tar command
--force Force to install cPanel on a non recommended configuration
--skip-cloudlinux Skip the automatic convert to CloudLinux even if licensed
--skipapache Skip the Apache installation process
--skipreposetup Skip the installation of EasyApache 4 YUM repos
Useful if you have custom EasyApache repos
--skiplicensecheck Skip validation that this ip has a valid license prior to install. Failure to validate this can lead to a broken install.
-- Following arguments will be passed to the embedded script
EOH
}
MS_Check()
{
OLD_PATH=$PATH
PATH=${GUESS_MD5_PATH:-"$OLD_PATH:/bin:/usr/bin:/sbin:/usr/local/ssl/bin:/usr/local/bin:/opt/openssl/bin"}
MD5_PATH=`exec 2>&-; which md5sum || type md5sum`
MD5_PATH=${MD5_PATH:-`exec 2>&-; which md5 || type md5`}
PATH=$OLD_PATH
MS_Printf "Verifying archive integrity..."
offset=`head -n 404 "$1" | wc -c | tr -d " "`
verb=$2
i=1
for s in $filesizes
do
crc=`echo $CRCsum | cut -d" " -f$i`
if test -x "$MD5_PATH"; then
md5=`echo $MD5 | cut -d" " -f$i`
if test $md5 = "00000000000000000000000000000000"; then
test x$verb = xy && echo " $1 does not contain an embedded MD5 checksum." >&2
else
md5sum=`MS_dd "$1" $offset $s | "$MD5_PATH" | cut -b-32`;
if test "$md5sum" != "$md5"; then
echo "Error in MD5 checksums: $md5sum is different from $md5" >&2
exit 2
else
test x$verb = xy && MS_Printf " MD5 checksums are OK." >&2
fi
crc="0000000000"; verb=n
fi
fi
if test $crc = "0000000000"; then
test x$verb = xy && echo " $1 does not contain a CRC checksum." >&2
else
sum1=`MS_dd "$1" $offset $s | cksum | awk '{print $1}'`
if test "$sum1" = "$crc"; then
test x$verb = xy && MS_Printf " CRC checksums are OK." >&2
else
echo "Error in checksums: $sum1 is different from $crc"
exit 2;
fi
fi
i=`expr $i + 1`
offset=`expr $offset + $s`
done
echo " All good."
}
UnTAR()
{
tar $1vf - 2>&1 || { echo Extraction failed. > /dev/tty; kill -15 $$; }
}
finish=true
xterm_loop=
nox11=n
copy=none
ownership=y
verbose=n
initargs="$@"
while true
do
case "$1" in
-h | --help)
MS_Help
exit 0
;;
--version)
echo "$INSTALLER_VERSION"
exit 0
;;
--info)
echo Installer Version: "$INSTALLER_VERSION"
echo Installer Revision: "$REVISION"
echo Identification: "$label"
echo Target directory: "$targetdir"
echo Uncompressed size: 104 KB
echo Compression: gzip
echo Date of packaging: Mon Oct 19 12:51:24 UTC 2020
echo Built with Makeself version 2.1.3 on linux-gnu
echo Build command was: "utils/makeself installd latest cPanel & WHM Installer ./bootstrap"
if test x$script != x; then
echo Script run after extraction:
echo " " $script $scriptargs
fi
if test x"" = xcopy; then
echo "Archive will copy itself to a temporary location"
fi
if test x"n" = xy; then
echo "directory $targetdir is permanent"
else
echo "$targetdir will be removed after extraction"
fi
exit 0
;;
--dumpconf)
echo LABEL=\"$label\"
echo SCRIPT=\"$script\"
echo SCRIPTARGS=\"$scriptargs\"
echo archdirname=\"installd\"
echo KEEP=n
echo COMPRESS=gzip
echo filesizes=\"$filesizes\"
echo CRCsum=\"$CRCsum\"
echo MD5sum=\"$MD5\"
echo OLDUSIZE=104
echo OLDSKIP=405
exit 0
;;
--lsm)
cat << EOLSM
No LSM.
EOLSM
exit 0
;;
--list)
echo Target directory: $targetdir
offset=`head -n 404 "$0" | wc -c | tr -d " "`
for s in $filesizes
do
MS_dd "$0" $offset $s | eval "gzip -cd" | UnTAR t
offset=`expr $offset + $s`
done
exit 0
;;
--tar)
offset=`head -n 404 "$0" | wc -c | tr -d " "`
arg1="$2"
if ! shift 2; then
MS_Help
exit 1
fi
for s in $filesizes
do
MS_dd "$0" $offset $s | eval "gzip -cd" | tar "$arg1" - $*
offset=`expr $offset + $s`
done
exit 0
;;
--check)
MS_Check "$0" y
exit 0
;;
--confirm)
verbose=y
shift
;;
--noexec)
script=""
shift
;;
--keep)
keep=y
shift
;;
--target)
keep=y
targetdir=${2:-.}
if ! shift 2; then
MS_Help
exit 1
fi
;;
--nox11)
nox11=y
shift
;;
--nochown)
ownership=n
shift
;;
--xwin)
finish="echo Press Return to close this window...; read junk"
xterm_loop=1
shift
;;
--phase2)
copy=phase2
shift
;;
--force)
scriptargs+=" --force"
shift
;;
--skip-cloudlinux)
scriptargs+=" --skip-cloudlinux"
shift
;;
--skipapache)
scriptargs+=" --skipapache"
shift
;;
--skiplicensecheck)
scriptargs+=" --skiplicensecheck"
shift
;;
--skipreposetup)
scriptargs+=" --skipreposetup"
shift
;;
--)
shift
;;
-*)
echo Unrecognized flag : "$1" >&2
MS_Help
exit 1
;;
*)
break ;;
esac
done
case "$copy" in
copy)
SCRIPT_COPY="$TMPROOT/makeself$$"
echo "Copying to a temporary location..." >&2
cp "$0" "$SCRIPT_COPY"
chmod +x "$SCRIPT_COPY"
cd "$TMPROOT"
exec "$SCRIPT_COPY" --phase2
;;
phase2)
finish="$finish ; rm -f $0"
;;
esac
if test "$nox11" = "n"; then
if tty -s; then # Do we have a terminal?
:
else
if test x"$DISPLAY" != x -a x"$xterm_loop" = x; then # No, but do we have X?
if xset q > /dev/null 2>&1; then # Check for valid DISPLAY variable
GUESS_XTERMS="xterm rxvt dtterm eterm Eterm kvt konsole aterm"
for a in $GUESS_XTERMS; do
if type $a >/dev/null 2>&1; then
XTERM=$a
break
fi
done
chmod a+x $0 || echo Please add execution rights on $0
if test `echo "$0" | cut -c1` = "/"; then # Spawn a terminal!
exec $XTERM -title "$label" -e "$0" --xwin "$initargs"
else
exec $XTERM -title "$label" -e "./$0" --xwin "$initargs"
fi
fi
fi
fi
fi
if test "$targetdir" = "."; then
tmpdir="."
else
if test "$keep" = y; then
echo "Creating directory $targetdir" >&2
tmpdir="$targetdir"
else
tmpdir="$TMPROOT/selfgz$$"
fi
mkdir -p $tmpdir || {
echo 'Cannot create target directory' $tmpdir >&2
echo 'You should try option --target OtherDirectory' >&2
eval $finish
exit 1
}
fi
location="`pwd`"
if test x$SETUP_NOCHECK != x1; then
MS_Check "$0"
fi
offset=`head -n 404 "$0" | wc -c | tr -d " "`
if test x"$verbose" = xy; then
MS_Printf "About to extract 104 KB in $tmpdir ... Proceed ? [Y/n] "
read yn
if test x"$yn" = xn; then
eval $finish; exit 1
fi
fi
MS_Printf "Uncompressing $label"
res=3
if test "$keep" = n; then
trap 'echo Signal caught, cleaning up >&2; cd $TMPROOT; /bin/rm -rf $tmpdir; eval $finish; exit 15' 1 2 3 15
fi
for s in $filesizes
do
if MS_dd "$0" $offset $s | eval "gzip -cd" | ( cd "$tmpdir"; UnTAR x ) | MS_Progress; then
if test x"$ownership" = xy; then
(PATH=/usr/xpg4/bin:$PATH; cd "$tmpdir"; chown -R `id -u` .; chgrp -R `id -g` .)
fi
else
echo
echo "Unable to decompress $0" >&2
eval $finish; exit 1
fi
offset=`expr $offset + $s`
done
echo
cd "$tmpdir"
res=0
if test x"$script" != x; then
if test x"$verbose" = xy; then
MS_Printf "OK to execute: $script $scriptargs $* ? [Y/n] "
read yn
if test x"$yn" = x -o x"$yn" = xy -o x"$yn" = xY; then
eval $script $scriptargs $*; res=$?;
fi
else
eval $script $scriptargs $*; res=$?
fi
if test $res -ne 0; then
test x"$verbose" = xy && echo "The program '$script' returned an error code ($res)" >&2
fi
fi
if test "$keep" = n; then
cd $TMPROOT
/bin/rm -rf $tmpdir
fi
eval $finish; exit $res
� ̋�_�\is�F��g����5�5 �l�R,K��*]K���,C.�͕�߷�g��l�*�ww�J%�==}<���u�I[ѓ��Ӆ��&�>�nt�{Oz�����n�����m�ן��ɒԊ{#������է�k7�$�Z�`F��`xy|~V��#�{�ڜ�tn��cGV����&ֵ�M��Ly컁�v�q��~�e�5�J� {=��a�{ _�Ѿ��Fn��ͯ^
�� c��c��ljl������d04%�,^>zqZ��������V[e� �b�.x�17a֭�zH{�hY�#���V�ꅶ�i}�ɸ= �ʉܸ��-�Ґ�צy^�����č� �+YIʓ��n�1��l�0Ε�4�X�')��%!�r�,SF\dS$|�%�m�
m�gY��8ɢ(�S��럾a�Ŗs]{WF�,�!���t_'�/��[_�I�-'a��oڛ��^��b�p�o�� P
�!��`-V ߓ���I�F�N��v�� �R�pC����.�Yg��Qh')4��u������>�_27�L���;�ݙe~G�����t$_[
l��fϞ�x�c��V_�0?tܑ˝:�X.2$0H�砺�� ������0K������{[������ݛ�n0���� T!�%a[ ؒ�(�8�0!��n{V����U��_��O��h{���ާ��`��u� ��|���`ۜ;p��ܟL�W7e����%�J+���6�-�[�Oޝ����~�}�5>���^��nw�y�n��� \y@ӫ��x��P�C�ښZ�=�]�"wF���20x���4!�Pp�E�`
ܞ�M���'��A��#�r���R�+���*uZ�w�t0�A8e7��Ƀ��2�0�^��sv~�~0d���7�
&a�9B����X���I�k�m���,q�
y36����V2jO����\+��v������ ����o�oll�7 ���{�����=�%,�B�5����.�o��Q��olnB���zws�����m��������s����Ђ�#�%��0������d��o���8D���?�)���!Ox|�\�V�.b��^�M�5����%;t8����N1 &8D�a�k� �!��t��EJ�4�&r�Y��5�cggG��[�A
Ay���.�=�b��.���܃K`1��n���H���Z��l�K�6%GL�G��L�gl
���.�}x~r>4��#<�[��ͿNN�?a�:L�#3���� �Z�`k�ӂ��1k�&L�Y��&�:|d;r��ǰ����vi]Z�~�����I��o7���v��_�4��g�q�]Vy@�&p1OYs�u�\031�G�7�5֚�Nmg�^�k�:u�[l��?@lw�#��ULvر��v�B��ev-�Z�0�E<i����|�hs��K���n��T��:���s�c�ds!Cs�����go�n���������`�ܕZ���q)���K�����)�%��߳dg�}����s�h���shQ|��K�[/wv�#�뭇SG�j}��0JwvNB�c�J�v�&+H���������I>yoM��qGg��g'���6�<;?��ݍK����ca�F��ֲU��\h8}�{�_v����#S:����t�/�Oai�M�
�?�0�`��8�6eN��fŶ4̧߳HnW��7��na�1���:�Wh�6�-��Mu5ܾ�q8"��yl`g]��ܸ�i�&\�Kb���:���؎��&�<
M���+uH�i�aD;�J� je)��p���:�Ã��7���ҒZ�8壥����y&t�<��L�:�����#=�=�pW���ax�_~S�h�Fz���gt;��1�2/e���q��ܔ�Y�x}0|���R-�AK�
ݚG}�P�T6�����-J��D�(�"x����\��Q&�Q��ݼE��.���m�:�i퉖������<H�i�nMI� &�D.�^�qc�=�B�0D�h�b�W`55I� %��xc��l/�\C�R=��#��bm��z_�U�^K��Xr?�E�V�f��.��;s�mH� V���0��figd �ґ`Ke�ΓU\�T?��
s��Y>��w�
��A��f�G�'�;���_���^��ЁF1�XN���f6 nV�c����:8�EH�2y�`����g��g�m�)����V������ 0i�u1�O�rm�w��Cy�b�̷���wkA���]��L�� �O��an:O���ٔ��iΗj��P�uj݀��qjQ��J�+��y(034+;�</Z��0�D/\h ג�����F��8zrZ<���F�u��JV<GX�˩�*�.�b�$U"���\�+�\���z�G�f_��)�'�ǁT��X�����v�v�6���L�8��R z���
j2o`��p(��!=)*�2y��<�����FD,��Q^4��5��l
PV#J�x�����\]/vΎ�=�\8)��{�i��l�~(*�I���h��û�蜆17"?� ���p�f�~H��< +�[�{AD }�y��L�P�ZeG\�\�"�H!%4�[��Y ��ܠ�@b�� [%�H1:�-S�)R#\������B�vv�۹�6��8�f����ɢ���uB���Q�g�`Ն!l� f���k]������F<Tf+��m�A��`���H��T�L�P�xW�&� ��#Ys;�}�u�^�����\U��=��o���L\��Cէ��|d:
㛶p�T_Q�j�La9�;�Pg��_9�T&r5�&�2�vȃ��,X>��1�(j��Y�"�r'S�V�fv4��9qV�iG#:L�3�l&�F�Ъ>��UH�O�kEX梊i��)r&w�Xb�.����
l.�Ý�X(A���p+NR�M�))��X �n!�s�Lx�1:Wϲ�.,ԫ��&���b,fV �&��҉z@'��5dd�������C��D�R*: V5�?��hc8��G~b�wW�2K�IN�H\]�Hg���k>�̳���X���G|�\pZ%`"u�w��:j���a����C�U(ס9Ě˻1����vL�Fݒ��i<�Df %VNR$����q��ڼ)�ʂ)
�Y�\�I<I�i�b�M��}\�������}�ʘ����W��)"�Ţ�,CA�c��%&s�ǯgX�X�R�Ub����h
5�0�`4���<�����2 o�ŬD�k� ���E��`\�
L��L,AͲ�;H蒁
����TpG�3�4*W�G�V�8��BV9� r*�B7
�21ċ
�ZM$)�Ð���}Fnx��3�F�֘u`u��5��E�|6 �6�^��-/�X�]�\��s�c+H,��9!W,~:�OX���
�ƱxN��-�(�/M���r�>��Y"��0�� ���EZ��>�ԑ�^�]gi�@U �ar�ѓ����d��T��։�nX�(̷zCI�Q
�KFWyuu{Sf�E���>��\[����y�����R�2�~�p�o㥉\���-��VE(C�g��S��5)���`�C�*N��<��}�L^��Fn*.Y�5r��*\���U.�R)�_Rs"PscB��n{����v���߳NBeB�� �+]蝙
J �E���Z"���n�q+�(d��.�\�S�kc8��PE�Í`�#�������VW�����Eݔ�%����*�b���N��������t�F�>z�P�(�U8%�k��w1t�.�z��O�..��:����[����M��>9i�����0�!���Ɛ���E�N� @�n��TV� s1���0c�bL� o`� ���-y���W�*s����D%�(.�6�p�K-��[�Q�KY*�QQu����c˞���4OM�[�!�uSmm&�� ��
+<���f YIQxAE���.RC�U���o�Յ�kT}�Oƨ���#s��
�����&>�HOP%I�F�o��`T�[��.�Ah��䋧-qH�iؔ�E0��
���ɪuAPY��X�fxZwv���ѓ?���SM@��Y^�*b�)�D�C��4��\�HRq[��b!C���0�d�c�=E��8䪺l|���y��u �P���1��3!`��ﴑ�w-z�S�3�#��
GcE.L����|3Pz;��%\ź��>��OOJE%�HQ�Y���"�'�!hI=���rv�!�gd��[�B8m��:�m)�� �ϸ���Ul��>�ȫ�W�yP!�����r����C��%��f��ß$�����2y���T&1
�&���I.�]8��¿�;�!��X)�X5#0[ks�i�h�PT��T�����:
pr�~$_c&S-+���[�'���_9�N6o�����,� ��,�����k�d1�qлO �����?u�e"t)Zy�D2M\���*�K��;��D##�7F��#!�L{�c�J&*���L(��ߥ��G"`Ly�Ǯ��#���u���(�|���$�*v�~��V�M�a�R$��\
�>\�_!����$7h�\M���X���'i5r��]�h����g��|��'F�z%����GGǛ ���Ӂ�E���K S�d-b�+�nK��#Ii�(�h�����Xe3�#K���v���ނխ9F� �%ǔ^���[3��>{1/��ԋ�t !W ��GY�LR��ρ���Û�6���h&c�I4�!w��5s�0���*�=�,�fUxF-��Y�+�M�e� V����<B�W'l��c����<�Ok�����ˁ���� Z~��}�r��_�5��]�$D�7�z��]�Lp@S_V��o����$���!~�Z�����XIĴƃF��|�c�^�Ύ����,o�
��������c�ё(�(�0�N?2~��$8�$<i��l/s��פ�xz�6���q,64�}N�jPJ�LlQ�v� KrQ�6Y�L�6>H�
�k��*%���`clY��Y��❥؞^�k�#��͋�c�i�{�'�
�D�]E6�c.r�%r�9�ʡ*��H�"Z��-)��|!0Š�=� �wN
�]
&�X�بP������˗�?���U��v��^����K�GWP0m�T����F��'�b�%�0N(7ʇ��>����h�Wj����eKWY�(כ�.i�/�3i��j4J� �^ܛ�P{��]T���K6�z���%ϔ�e�e��LC`!���f^Q�p%�<