Thursday, November 2, 2017

Remove MySql Ubuntu

To remove mysql completely from your system Just type in terminal
sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-5.5 mysql-client-core-5.5
sudo rm -rf /etc/mysql /var/lib/mysql
sudo apt-get autoremove
sudo apt-get autoclean

Please check that the PPA name or format is correct. Issue

configure your  /etc/apt/apt.config file as follows: etc/apt/apt.config

Acquire::http::proxy "http://<username>:<password>@<proxy address>:<port>/";
 export your proxy environment variables using

export http_proxy=http://username:password@host:port/
export https_proxy=https://username:password@host:port/
and then tell sudo to use them using:
 sudo -E add-apt-repository ppa:webupd8team/y-ppa-manager

pip Installation on linux

python-pip is in the universe repositories, therefore use the steps below:

sudo apt-get install software-properties-common
sudo apt-add-repository universe
sudo apt-get update (update all package)
sudo apt-get install python-pip

Install and Configure Arrango for Linux

stackoasis.blogspot.com

Install and Configure Arrango for Linux (Ubuntu)

 
curl -O https://download.arangodb.com/arangodb32/xUbuntu_17.04/Release.key
sudo apt-key add - < Release.key
 
echo 'deb https://download.arangodb.com/arangodb32/xUbuntu_17.04/ /' | sudo tee /etc/apt/sources.list.d/arangodb.list
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install arangodb3=3.2.6
 
sudo apt-get install arangodb3-dbg=3.2.6
 
 
for IP Address Config
 
C:\Program Files\ArangoDB 2.6.9\etc\arangodb\arangod.conf
 
SET given settings 
 
endpoint = tcp://192.168.0.14:8529

How to install OpenJDK 8 Ubuntu

Check Java:
java -version

If it returns "The program java can be found in the following packages", Java hasn't been installed yet, so execute the following command:

 
sudo apt-get install default-jre
 
 
If you face any issue like "folder not found" or "package not found",
 
check the PROXY if it is set :
sudo grep -R roxy /etc/apt/*

grep roxy /etc/environment

echo $http_proxy

echo $ftp_proxy

grep roxy /etc/bash.bashrc

grep roxy ~/.bashrc
 
 
 
SET PROXY by all these steps serially :
 
 

1. For gtk3 programs such as rhythmbox and online accounts:

First you need to enter proxy settings in network settings (along with authentication):
enter image description here
Then apply system wide.

2. For apt,software center etc

edit the file /etc/apt/apt.conf
And then replace all the existing text by the following lines
Acquire::http::proxy "http://username:password@host:port/"; Acquire::ftp::proxy "ftp://username:password@host:port/"; Acquire::https::proxy "https://username:password@host:port/";

3. Environment variables

edit the file /etc/environment
And then add the following lines after PATH="something here"
http_proxy=http://username:password@host:port/ ftp_proxy=ftp://username:password@host:port/ https_proxy=https://username:password@host:port/ 


After setting proxy Enter this command:

sudo apt-get install default-jre
 
sudo apt-get install default-jdk
 
Then check java version, if you get the installed package and version then You are good to go!!!!! 

To ACCESS Linux (Ubuntu) from Windows (WinScp)

sudo apt-get update
sudo apt-get install openssh-server
and to configure port /etc/ssh/sshd_config
Port=22