marți, 10 septembrie 2024

Activare Win / Office

 

https://massgrave.dev/

Download / How to use it?

  1. Open PowerShell (Not CMD). To do that, right-click on the Windows start menu and select PowerShell or Terminal.
  2. Copy and paste the code below and press enter
irm https://get.activated.win | iex
More options
  1. You will see the activation options. Choose [1] HWID for Windows activation. Choose [2] Ohook for Office activation.
  2. That's all

note
  • The IRM command in PowerShell downloads a script from a specified URL, and the IEX command executes it.
  • Always double-check the URL before executing the command and verify the source if manually downloading files.
  • Be cautious, as some spread malware disguised as MAS by using different URLs in the IRM command.

MAS Latest Release

Last Release - v2.7 (6-Sep-2024)
GitHub / Bitbucket / Codeberg


Features

  • HWID (Digital License) Method to Permanently Activate Windows
  • Ohook Method to Permanently Activate Office
  • KMS38 Method to Activate Windows/Server Till the Year 2038
  • Online KMS Method to Activate Windows/Server/Office For 180 Days (Lifetime With Renewal Task)
  • Advanced Activation Troubleshooting
  • $OEM$ Folders For Preactivation
  • Change Windows Edition
  • Change Office Edition
  • Check Windows/Office Activation Status
  • Available in All In One and Separate Files Versions
  • Fully Open Source and Based on Batch Scripts
  • Fewer Antivirus Detections

Activations Summary

Activation TypeSupported ProductActivation PeriodIs Internet Needed?
HWIDWindows 10-11PermanentYes
OhookOfficePermanentNo
KMS38Windows 10-11-ServerTill the Year 2038No
Online KMSWindows / Office180 Days. Lifetime With Renewal TaskYes

For more details, use the respective activation details in Docs.
To activate unsupported products such as Office on Mac, check here.


luni, 12 februarie 2024

ejobs pe feaa

  <?php if ($this->countModules('ejobs')) { ?> 

        <div id="ejobs" class="clearfix">

        

          <div class="wrapper">

             

                <jdoc:include type="modules" name="ejobs" />

          

            </div>

        

        </div><!-- ejobs -->    

        <?php } ?>

in index.html din template

linia 283

marți, 30 ianuarie 2024

Mutare Bitspec j3 pe s132 si upgrade la J4

 i creez bitspec3 in s132. ownerul este 132.

2. Copiez kickstart si jpa in folder. Nu uit să modific userul din root in s132

3. pornesc restorele cu akeeba. versiunea initiala e php 7.4, dar merge

Atentie. Verifici ce versiune de php ai in virtualmin, daca este 8.x nu merge

4. Fisiere ce trebuie modificate: in htacces 

#Options +FollowSymlinks

Options +SymLinksifOwnerMatch

in configuration .php: 
public $cookie_domain = '.bitspec.com';

public $cookie_domain = 's132.central.ucv.ro';

5. restaurare database: modific user, parola si database name : bitspec_db1
6. copiezi .htacces si configuration.php pe site
7. mergi la Administrator, apoi la extensions -: manage, cauti jlms si le dezactivezi, dacă le găsesti
8. Mergi la Components - Joomla update
9. Updatezi la Joomla 3.10
10. In optiuni, modificam Update Channel din default in Jooomla Next si salvam
Updatam cu JA extension manager, daca nu merge in setari avem de reintrodus credentialele.
11. important - Opresti postfixul sau sistemul de email din joomla control panel, ca vrea sa trimită enailuri aiurea 
12. Instalezi versiuni noi pentru Payplans, Jomsocial, Joomlde, Easyblog, JCE, Akeeba,  Jspeed (ecentual astuia ii dai disable, daca nu il vede sistemul), RS firewall, Extly. Kunena nu merge decat 3.14, vom vedea daca il dezactivam sau nu
RS Form! pro
Paycart trebuie inlocuit cu payplans. Pentru asta, in modulul din frontpage se fac modificări.
Se creează planuri noi in payplans, se adauga in meniurile cursurilor, se actualizează modulul de voucers in module manager

13. Facem un akeeba update la acest punct
14. 
Pentru Kunena, NU se dezinstalează din Joomla, ca se pierde meniul, baza de date ramane, in J4 se va face o instalare noua a Kunena.
https://www.kunena.org/forum/general-questions-and-how-tos/164828-kunena-forum-package-not-compatible-with-joomla-3-to-joomla-4-upgrade
15. Se dezinstalează paycart,. Dezinstalezi Clickdesk, TCPPDF (e pentru Virtuemart), Xmap

Dezactivezi tot, iclusiv templateul Uber - facem default protostar
din table extensions and modules elimin câmpul extra_params, posibil să fi fost inserat de către Uber
Se dezinstalează RS Firewall, Payplans, Crisp - versiunea veche, restul se face disable, Jomsocial, Joomdle, Easyblog.
Perfect publisher se dezactivează, se dezactivează și pluginurile pentru easyblog, jomsocial, kunena
Se dezinstalează JCE, Foundry, RBSL Framework, JA Content Type, RSForm PDF, recaptcha, ARI tot ce gasim

Din baza de date se sterg in extensions PKG Joomla, JA facebook, rocksrocket
Se dezactivează JA google map, JA GDPR

Se face update.

Se instalează versiuni noi de Kunena - rescrie kunena, payplans, jomsocial, easyblog - ultimele 3 au si instalere RS forms instalează si se activează, joomdle, rs firewall, JCE și Akeeba. Se reface templateul default Uber Default

In kunena forum, la templates, - Aurelia, dai disable la boostrap.


    marți, 15 noiembrie 2022

    Partajare NAS si mapare in Centos

     Creare mount point

    mkdir /mnt

    mkdir /mnt/share


    Instalare cifs-utils

    yum install cifs-utils


    Montare pana la urmatorul boot

    mount.cifs //172.18.172.46/backup /mnt/share -o user=root,pass=

    Desi pe NAS am userul admin, nu merge cu el, vrea cu root. Parola este de la NAS/admin


    Montare permanenta la boot

    Se editeaza /etc/fstab

    se adauga linia

    172.18.172.46/backup /mnt/share/ cifs username=root,password= 0 0

    Se scrie parola de la NAS

    unmount - pentru teste

    umount -a -t cifs -l



    marți, 18 octombrie 2022

    Webmin and Virtualmin @ s156 Debian 11 cu multiple php

     1. Debian 12 chior.

    Se instalează timeshift

    apt update

    apt install timeshift

    Salvezi la diferite momente sistemul.
    /usr/bin/timeshift
    timeshift --create --comments "Primul backup" --tags D
    wget http://software.virtualmin.com/gpl/scripts/install.sh
    /bin/sh install.sh
    timeshift --create --comments "Backup dup instalare Virtualmin" --tags D
    timeshift --create --comments "Backup dupa configurare s156 virtual" --tags D
    apt-get -y install apt-transport-https lsb-release ca-certificates curl && curl -sSL -o /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg && sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/sury-debian-php-$(lsb_release -sc).list' && apt-get update
    apt-get install php5.6-{cgi,cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}
    apt-get install php7.3-{cgi,cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}
    for php in $(ls /etc/php); do sudo apt-get install -y "php$php-"{curl,intl}; done

    Activezi FCGI mode in virtualmin. Lets encrypt se instalează singur.

    Instalare script virtualmin (include si webmin): 

    wget http://software.virtualmin.com/gpl/scripts/install.sh
    /bin/sh install.sh

    Debianul ăsta foloseste firewalld. Install-ul isi setează singur zonele. 
    //Se adauga in iptables linia

    //Se reporneste iptables, se acceseaza cu https://...:10000

    Se creaza seerverul virtual, se lasă sa se genereze certificatul pentru el cu Lets encrypt
    Se bifeaza pentru serverul virual in configuratie MariaDB

    Pentru php multiplu:
    https://www.virtualmin.com/documentation/web/multiplephp/

    noul debian - se adauga reposytory etc/apt/sources.list.d/php.list 
    apt-get install apt-transport-https lsb-release ca-certificates
    wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
    #!/bin/sh
    # To add this repository please do:
    
    if [ "$(whoami)" != "root" ]; then
        SUDO=sudo
    fi
    
    ${SUDO} apt-get update
    ${SUDO} apt-get -y install lsb-release ca-certificates curl
    ${SUDO} curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
    ${SUDO} dpkg -i /tmp/debsuryorg-archive-keyring.deb
    ${SUDO} sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
    ${SUDO} apt-get update
    apt-get update
    apt-get install php5.6 - cu sudo in fata

    Installing on Debian

    Enable sury/php repository

    apt-get -y install apt-transport-https lsb-release ca-certificates curl && curl -sSL -o /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg && sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/sury-debian-php-$(lsb_release -sc).list' && apt-get update
    

    Install additional PHP packages

    apt-get install php*-{cgi,cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,xml,zip}
    

    Note: php* should be replaced with a specific PHP version, i.e. php7.4, unless you really need to install all available additional PHP versions.


    In Virtualmin - Server configuration - php options





     PHP Options
    In domain s156.central.ucv.ro
    PHP options for this domain
    PHP script execution mode
    Maximum PHP script run time   seconds
    PHP versions
    EnabledWebsite subdirectoryVersion

    joi, 20 ianuarie 2022

    Modificare template Uber @ Bitspec pentru a se afisa meniul dropdown la adaugare Blog in Easyblog

     1. Am creat in templates/uber/local/css fisierul blog.css

    cu urmatorul continut

    [data-tippy-root] [data-animation="fade"] {
        opacity: 1;
    }

    In tempaltele uber, la Custom code, Before </head>

    am adaugat linia

    <link rel="stylesheet" type="text/css" href="/templates/uber/local/css/blog.css" />