Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Monday, March 5, 2018

how to build tor from source

$ hostnamectl
   Static hostname:
         Icon name: computer-vm
           Chassis: vm
        Machine ID:
           Boot ID:
    Virtualization: oracle
  Operating System: Ubuntu 16.04.3 LTS
            Kernel: Linux 4.13.0-32-generic
      Architecture: x86-64

tar zxvf tor-0.3.2.10.tar.gz


sudo apt-get install libevent-dev
sudo apt-get install libssl-dev
sudo bash ./configure
sudo make

Monday, February 12, 2018

how to ruby on rails on ubuntu 12.04


  • update your package repository.

sudo apt-get update

git is a simple, fast and efficient version control system
sudo apt-get install git

Curl is a simple command line utility for getting file over web protocols, based on libcurl.
sudo apt-get install curl


RVM is not strictly required
VM requires the command to be executed as login shell, so open a terminal and go to Edit -> Profile Preferences -> Title and Command and check the box that says “Run Command as a login shell“

download rvm
curl -L get.rvm.io | bash -s stable


http://blog.sudobits.com/2012/05/02/how-to-install-ruby-on-rails-in-ubuntu-12-04-lts

How to Install Zabbix Server 3.0 LTS on Ubuntu 15.10

Prerequisites

 sudo apt-get update
 sudo apt-get install apache2
 sudo apt-get install mysql-server
 sudo apt-get install php5 php5-cli php5-common php5-mysql

Update Timezone in PHP Configuration
sudo nano /etc/php5/apache2/php.ini
;[Date]
date.timezone = 'Asia/Kolkata'


Adding Apt Repository
sudo wget http://repo.zabbix.com/zabbix/3.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.0-1+trusty_all.deb
sudo dpkg -i zabbix-release_3.0-1+trusty_all.deb
sudo apt-get update

Install Zabbix Server
sudo apt-get install zabbix-server-mysql zabbix-frontend-php

Create Database Schema
mysql -u root -p


 CREATE DATABASE zabbixdb;
 GRANT ALL on zabbixdb.* to zabbix@localhost IDENTIFIED BY 'password';
 FLUSH PRIVILEGES;
 quit

Import zabbix database schema in newly created database
 cd /usr/share/doc/zabbix-server-mysql
 sudo gunzip create.sql.gz
 sudo mysql -u root -p zabbixdb < create.sql


Edit zabbix server configuration file and update following entries.
sudo nano /etc/zabbix/zabbix_server.conf

  DBHost=localhost
  DBName=zabbixdb
  DBUser=zabbix
  DBPassword=password

Restart Apache and Zabbix

sudo service apache2 restart
sudo service zabbix-server restart

Zabbix Web Installer
http://localhost/zabbix/

Login to Zabbix
Username:  admin
Password:  zabbix



  • How to enable SNMP on Windows 8 
https://www.youtube.com/watch?v=RQRCWjVX8do 

how to install .deb file ubuntu


  • To install a downloaded Debian (Ubuntu) package (.deb)
sudo dpkg -i packagename.deb

To remove a Debian (Ubuntu) package (.deb):
sudo dpkg -r packagename

How to install keepass on Ubuntu 16.04.2

  • sudo apt-add-repository ppa:jtaylor/keepass
sudo apt-get update
sudo apt-get install keepass2
https://launchpad.net/~jtaylor/+archive/ubuntu/keepass


  • https://keepass.info/download.html


add-apt-repository 'deb http://packages.linuxmint.com/ julia main'
add-apt-repository ppa:gnome-desktop


   20  sudo add-apt-repository 'deb http://ftp.de.debian.org/debian sid main'
   22  sudo apt-cache search keepass2
   23  sudo apt-get install keepass2
   24  sudo apt-get -f install
   25  sudo apt-get install keepass2