OCS Inventory server installation Kategoria: Linux | Tagi: debian, OCS | Autor: Bartłomiej Gałęzia

http://wiki.ocsinventory-ng.org/index.php/Documentation:Server/pl

Wymagania:

  • Apache wersja 1.3.33 lub wyższa / Apache wersja 2.0.46 lub wyższa.
    • Mod_perl wersja 1.29 lub wyższa.
    • Mod_php wersja 4.3.2 lub wyższa.
  • PHP 4.3.2 lub wyższa, z ZIP i wsparciem GD.
  • PERL 5.6 lub wyższa.
    • Perl module XML::Simple wersja 2.12 lub wyższa.
    • Perl module Compress::Zlib wersja 1.33 lub wyższa.
    • Perl module DBI wersja 1.40 lub wyższa.
    • Perl module DBD::Mysql wersja 2.9004 lub wyższa.
    • Perl module Apache::DBI wersja 0.93 lub wyższa.
    • Perl module Net::IP wersja 1.21 lub wyższa.
    • Perl module SOAP::Lite wersja 0.66 lub wyższa (opcjonalnie)
  • MySQL wersja 4.1.0 lub wyższa z aktywowanym mechanizmem składowania InnoDB.
  • narzędzie Make takie jak GNU make.=

 

Zobacz całość

OCS Agent install Linux Kategoria: Linux | Tagi: OCS | Autor: Bartłomiej Gałęzia

http://www.ocsinventory-ng.org/en/download/register-download-ocs-inventory-ng-agent-for-unix.html
http://wiki.ocsinventory-ng.org/index.php/Documentation:UnixAgent/pl

apt-get install dmidecode libxml-simple-perl libio-compress-perl libnet-ip-perl libwww-perl libdigest-md5-perl libnet-ssleay-perl
wget Ocsinventory-Unix-Agent-2.1.1.tar.gz
tar -xf Ocsinventory-Unix-Agent-2.1.1.tar.gz

cd Ocsinventory-Unix-Agent-2.1.1
perl Makefile.pl
make
make install

Dodawanie Windows 7 do domeny samba Kategoria: Windows | Tagi: domena, samba | Autor: Bartłomiej Gałęzia

https://wiki.samba.org/index.php/Registry_changes_for_NT4-style_domains

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters]

"DomainCompatibilityMode"=dword:00000001
"DNSNameResolutionRequired"=dword:00000000

Debian Locale problem Kategoria: Linux | Tagi: debian | Autor: Bartłomiej Gałęzia

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_GB:en",
        LC_ALL = (unset),
        LC_TIME = "pl_PL.UTF-8",
        LC_MONETARY = "pl_PL.UTF-8",
        LC_ADDRESS = "pl_PL.UTF-8",
        LC_TELEPHONE = "pl_PL.UTF-8",
        LC_NAME = "pl_PL.UTF-8",
        LC_MEASUREMENT = "pl_PL.UTF-8",
        LC_IDENTIFICATION = "pl_PL.UTF-8",
        LC_NUMERIC = "pl_PL.UTF-8",
        LC_PAPER = "pl_PL.UTF-8",
& nbsp;       LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory

 

Rozwiązanie:

dpkg-reconfigure locales

Debian 10

sudo dpkg-reconfigure locales

Mod_perl apache install Kategoria: Linux | Tagi: perl | Autor: Bartłomiej Gałęzia

https://www.debian-administration.org/article/635/A_brief_introduction_to_mod_perl_-_Part_1

apt-get install libapache2-mod-perl2
a2enmod perl
/etc/init.d/apache2 restart

 

http://www.livejournal.com/doc/server/lj.install.perl_setup.modules.html

https://packages.debian.org/squeeze/libapache-dbi-perl

aptitude install libapache-dbi-perl
aptitude install libio-compress-perl
aptitude install libxml-simple-perl
aptitude install libnet-ip-perl
aptitude install libsoap-lite-perl
cpan> install Apache2::SOAP
/usr/bin/perl -mApache2::SOAP

http://wiki.ocsinventory-ng.org/index.php/Howtos:Install_OCS_on_debian

jQuery chosen + validation Kategoria: PHP | Autor: Bartłomiej Gałęzia

Domyślnie skrypt Chosen pomija elementy z atrybutem 'hidden'.

Rozwiązanie:
$.validator.setDefaults({ ignore: ":hidden:not(select)" })


http://stackoverflow.com/questions/11232310/how-can-i-use-jquery-validation-with-the-chosen-plugin


PHP usuwanie wszystkich znaków poza liczbami Kategoria: PHP | Autor: Bartłomiej Gałęzia

Jak wyłączyć komentarze na stronach - wordpress Kategoria: WWW | Tagi: wordpress | Autor: Bartłomiej Gałęzia

usuń:

<?php comments_template(); ?>

w pliku

page.php

Linux Magazine – 11/2014 (129) Kategoria: Linux Magazine | Autor: Bartłomiej Gałęzia

AFWall+ - firewall na androida s.29
SIAB (Shell in a box) - ssh przez www s.40
Deepin - nowe środowisko graficzne do linuxa s.42
Rescatux - naprawa gruba, reset haseł, naprawa systemów plików s.50
Sztuczki z bashem - ciekawe zastosowania s.58
Dillinger, Caret - edytory tekstów ze znacznikami s.77
Audex - cd ripper s.84

Remote shutdown linux - linux Kategoria: Linux | Autor: Bartłomiej Gałęzia

ssh-keygen
ssh-copy-id -i /root/.ssh/id_rsa.pub 10.12.13.14
ssh root@10.12.13.14 "poweroff"

Linux Magazine – 10/2014 (128) Kategoria: Linux Magazine | Autor: Bartłomiej Gałęzia

Części do Raspberry PI - s. 11
Google maps na linuxy - s. 42

Generowanie sum MD5 Kategoria: Windows | Tagi: md5 | Autor: Bartłomiej Gałęzia

Linux Magazine – 09/2014 (127) Kategoria: Linux Magazine | Autor: Bartłomiej Gałęzia

Systemy plików porównanie – ext3, ext4, xfs, btrfs – s.18

Porównanie sytemów ERP i CRM – s.36

Google translate CLI – s.58

Pinger, testowanie sieci przez ping, mierzenie długości kabli – s.60

Linux Magazine – 08/2014 (126) Kategoria: Linux Magazine | Tagi: do poprawki | Autor: Bartłomiej Gałęzia

Cygwin – uruchamianie aplikacji z linuxa na windowsie – s.13

TheSSS – najmniejszy serwer na świecie, http, ftp, ssh, telnet – s.27

Nmon – narzędzie do monitorowania ruchu sieciowego, cpu, dysku itp – s.28

Parametry Rsynca – s.41



Crystal disk mark – benchmark hdd ssd – s.42



Miniflux – czytnik RSS online – s.55

Bash History Suggest Box, rozbudowane narzędzie do przeglądania historii bash – s.56

Inxi – system info rozbudowany – s.72

Multitail – tail z menu i podziałem na okna – s .74

Codeigniter cron job Kategoria: Codeigniter | Tagi: cron | Autor: Bartłomiej Gałęzia

http://www.asim.pk/2009/05/14/creating-and-installing-crontabs-using-codeigniter/

Create a file (e.g. cron.php) in the same place as your index.php and system folder. Here is its code:

Zobacz całość