Google Drive in Ubuntu linux

Google Drive client is’nt available in Ubuntu. Grive – is an open source Linux CLI solution for Google Drive. Lets install grive sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install grive Ok, grive is installed. Now i will create a folder in my home direcory and mount my Google Drive there mkdir -p ~/GDrive […]

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 […]

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 […]

proxy: HTTP: disabled connection for (localhost)

I had a problem with Jenkins on fresh installed centos. Jenkins drops with http 503 error. In log file i found such message proxy: HTTP: disabled connection for (localhost) There are to ways to solve it: 1) Disable SELinux edit /etc/selinux/config and change SELINUX=disabled dont forget to reboot 2) Without disabling SELinux sestatus -b | […]

Install Jenkins centos 6.4 mod_proxy

Let’s define which java version is installed (we need 1.6) # java -version # sudo yum remove java You must have EPEL repo enabled # yum install java-1.6.0-openjdk #sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo #sudo rpm –import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key #sudo yum install jenkins add this to /etc/sysconfig/jenkins JENKINS_ARGS=”–httpListenAddress=127.0.0.1 –prefix=/jenkins” add this to /etc/http/conf.d/jenkins.conf RequestHeader unset X-Forwarded-User RewriteEngine […]

change hostname on centos 6.3

To change your centos hostname: sudo vi /etc/sysconfig/network Modify HOSTNAME value with your FQDN host name HOSTNAME=myserver.domain.com Than you should change host name which is associated with your IP sudo vi /etc/hosts 127.0.0.1 localhost localhost.localdomain #change ip 123.123.123.123 to your IP 123.123.123.123 hostname.mydomain.com hostname At this point you should restart network service. You can do […]