dyndns.org ubuntu

To update IP record on dyndns.com i use ddclient package how to install: sudo apt-get install ssh libio-socket-ssl-perl ddclient myconfig (example) cat /etc/ddclient.conf # Configuration file for ddclient generated by debconf # # /etc/ddclient.conf daemon=3600 use=web, web=checkip.dyndns.com, web-skip=’IP Address’ server=members.dyndns.org login=MYDDNSLOGIN password=’MYDDNSPASS’ MYHOST.dyndns-server.com

How to install MongoDB on CentOS 6.4

Step by step how-to install mongo on CentOS 6.4 in right way Lets create new repo file sudo vi /etc/yum.repos.d/10gen.repo Put there [10gen] name=10gen Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 gpgcheck=0 enabled=1 Then sudo yum update and yum install mongo-10gen mongo-10gen-server After all we have installed mongodb on centos 6.4

base.ldif

dn: dc=localdomain,dc=com dc: localdomain objectClass: top objectClass: domain dn: ou=People,dc=localdomain,dc=com ou: People objectClass: top objectClass: organizationalUnit dn: ou=Group,dc=localdomain,dc=com ou: Group objectClass: top objectClass: organizationalUnit

Rootkit scanner Rkhnter

Rootkit scanner is scanning tool to ensure you for about 99.9%* you’re clean of nasty tools. This tool scans for rootkits, backdoors and local exploits by running tests like: – MD5 hash compare – Look for default files used by rootkits – Wrong file permissions for binaries – Look for suspected strings in LKM and […]

adding ubuntu host as Microsoft Active Directory domain member

To add ubuntu host to domain i will use packet likewise-open5 sudo apt-get install likewise-open5 Edit /etc/nsswitch.conf and change hosts to: hosts: files dns [NOTFOUND=return] Edit /etc/resolvconfd/resolv.conf.d/head and add: nameserver YOUR_AD_IP Now restart networking service sudo /etc/init.d/networking restart And add machine to domain domainjoin-cli YOURDOMAINNAME.LOCAL DOMAIN_ADMIN_ACCOUNT

snmpd on Ubuntu server

To install snmpd on Ubuntu jesu type $ sudo apt-get install snmpd Remove config $mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.bak Now lets create new snmpd config file $ sudo vi /etc/snmp/snpmd.conf And add two lines to file rocommunity public syscontact serveradmin@example.com Then we should edit /etc/default/snmpd file $ sudo vim /etc/default/snmpd Add to line some new option before […]