Posts

Showing posts with the label ubuntu

How To Configure SAMBA Server And Transfer Files Between Ubuntu & Windows

Installing Samba is really quite simple. Since we are going to be dealing with the command line, let's install Samba in the same way. So open up your favorite terminal window and prepare to install. All of the installation commands will be issued as either the root use or by using the sudo command Whether you use su or sudo will depend upon which distribution you are using. If you are using Fedora (or a Fedora-like distribution), you will su to the root user. If you are using Ubuntu (or a Ubuntu-like distribution), you will use sudo. Click here to view command and steps

25 Useful Commands of APT-GET and APT-CACHE for Package Management in Ubuntu

This article explains how quickly you can learn to install, remove, update and search software packages using apt-get and apt-cache commands from the command line. This article provides some useful commands that will help you to handle package management in Debian/Ubuntu based systems. What is apt-get? The apt-get utility is a powerful and free package management command line program, that is used to work with Ubuntu’s APT (Advanced Packaging Tool) library to perform installation of new software packages, removing existing software packages, upgrading of existing software packages and even used to upgrading the entire operating system. What is apt-cache? The apt-cache command line tool is used for searching apt software package cache. In simple words, this tool is used to search software packages, collects information of packages and also used to search for what available packages are ready for installation on Debian or Ubuntu based systems. >>   Click...

How to Manage or Access Multiple MySQL server using one PhpMyAdmin ?

phpMyAdmin is a free and open source tool written in PHP intended to handle the administration of MySQL with the use of a web browser. It can perform various tasks such as creating, modifying or deleting databases, tables, fields or rows; executing SQL statements; or managing users and permissions. In this tutorial I will show you how to configure PhpMyAdmin to administrate various MySQL database servers. To install and run PhpMyAdmin we need to install LAMP stack or indivudual each component on the server. After complete installation we need to modify the PhpMyAdmin configuration file.  1) If installed LAMP Statck Navigate to below path. Assume you installed LAMP     in /opt directory.          cd  /opt/lampp/phpmyadmin/ 2) In not installed LAMP Stack then Navigate to below path.          cd  /etc/phpmyadmin/ 3) Open config.inc.php file using below...

How do I uninstall MySQL completely from Ubuntu ?

Open a terminal (press Ctrl+Alt+T) and run the following command in sequence: sudo service mysql stop  #or mysqld sudo killall -9 mysql sudo killall -9 mysqld sudo apt-get remove --purge mysql-server mysql-client mysql-common sudo apt-get autoremove sudo apt-get autoclean sudo deluser mysql sudo rm -rf /var/lib/mysql sudo apt-get purge mysql-server-core-5.5 sudo apt-get purge mysql-client-core-5.5 sudo rm -rf /var/log/mysql sudo rm -rf /etc/mysql Remove PHP completelly from ubuntu To Remove PHP completely from Ubuntu run the following: sudo apt-get purge php.* 

Connect to EC2 instance using SSH and Ubuntu terminal

Assuming you have a Key Pair file .pem already created in EC2 management console, connect to your instance, in my case Ubuntu 12.04.2 LTS 64 with this command: $ ssh -i ec2.pem ubuntu@ec2-23-22-122-111.compute-1.amazonaws.com where ec2.pem should be name of your key file, this command works only if you are in the directory where .pem file is stored, otherwise use ssh -i /home/Downloads/your_key_name.pem ... ubuntu is the default user name used on EC2 instances with Ubuntu default AMIs. ec2-23-22-122-111.compute-1.amazonaws.com is Public DNS, you can find it in EC2 management console > Instances > Description. First time you will be asked to trust public key, replay by writing whole word "yes". The authenticity of host '23.22.122.111 (23.22.122.111)' can't be established. ECDSA key fingerprint is 55:1b:99:99:a4:9c:eb:94:fd:7b:4f:11:5b:bf:94:7d. Are you sure you want to continue connecting (yes/no)? yes   Hit Enter and then you will...

How to setup tomcat 7 in Ubuntu 14.04 ?

Step 1 »  Install any latest JDK  before installing tomcat. Step 2 »  Download Any latest tomcat version from below URL.                   http://archive.apache.org/dist/tomcat/              Step 3 »  Extract the downloaded package Step 4 »  Go to bin directory of tomcat folder and run below command.                sh startup.sh Step 5 »  Now open http://serve-IP:8080 in your browser.

How to install Oracle 11gR2 on Ubuntu 14.04?

This article describes the installation of Oracle Database 11g Release 2 (R2=11.2) (64-bit) on Oracle Ubuntu (64-bit).  Step 1:  Download  Oracle Database Express Edition. Step 2: Instructions before install Oracle Copy the downloaded file and paste it in home directory. Unzip using the command: unzip oracle-xe-11.2.0-1.0.x86_64.rpm.zip Install required packages using the command: sudo apt-get install alien libaio1 unixodbc Enter into the Disk1 folder using command: cd Disk1/ Convert RPM package format to DEB package format (that is used by Ubuntu) using the command: sudo alien --scripts -d oracle-xe-11.2.0-1.0.x86_64.rpm Create the required chkconfig script using the command: sudo pico /sbin/chkconfig The pico text editor is started and the commands are shown at the bottom of the screen. Now copy and paste the following into the file and save: #!/bin/bash # Oracle 11gR2 XE installer chkconfig hack for Ubuntu file=/etc/init...

How to Install TeamViewer on a Ubuntu system

1) Download TeamViewer.deb file from below site as per your system os (32/64) https://www.teamviewer.com/en/download/linux/ 2) Open terminal and login with root sudo su Enter password for root user 3) Go to Download Directory cd Download 4) Change file permission using below command chmod 777 TeamViewer.deb 5) Install package using below command dpkg - i TeamViewer.deb 6) Search TeamViewer in search area

How to Install or Upgrade Google Chrome to latest version in Ubuntu

Step 1: Adding Google Chrome PPA $ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - Now add the PPA url to /etc/apt/sources.list.d/google.list 64-Bit Systems: $ sudo sh -c 'echo " deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main " >> /etc/apt/sources.list.d/google.list' 32-Bit Systems: $ sudo sh -c 'echo " deb http://dl.google.com/linux/chrome/deb/ stable main " >> /etc/apt/sources.list.d/google.list' Step 2: Install or Upgrade Google Chrome $ sudo apt-get update $ sudo apt-get install google-chrome-stable Step 3: Start Google Chrome After completing step 2 the Google Chrome has been installed successfully on our system. Let start Google Chrome using the desktop menu or using one of the following commands. $ google-chrome & [or] $ google-chrome-stable &

How to Install AnyDesk remote desktop client on Ubuntu

1)  Download AnyDesk.deb file from below site as per your system os (32/64)           https://anydesk.com/download 2) open terminal and login with root sudo su Enter password for root user 3) Go to Download Directory           cd Download 4) Change file permission using below command   chmod 777 anydesk.deb 5) Install package using below command           dpkg - i anydesk.deb 6) Search AnyDesk in search area

How to Upgrade Firefox to the Newest Version in Ubuntu using Terminal

We cannot upgrade Firefox to a recent version in Ubuntu just by navigating to Help and by clicking the Check for Updates option!- the way usually  followed by everyone to upgrade Firefox browser in their Windows machine. We can upgrade it, by two ways. Either by adding a PPA and upgrade or by downloading the binaries and installing it manually. Step1  :  Adding Firefox PPA key by copy paste below command into terminal.                  sudo add-apt-repository ppa:mozillateam/firefox-next Step 2 : Update                 sudo apt-get update Step 3 : Installing Firefox                sudo apt-get install firefox → When it prompts for Y or N, type Y → Wait for the process to complete → Restart your browser, if it is opened.

Tips and Tricks for Ubuntu after Installation.

Ubuntu is a free operating system or a Linux distribution ("distro") which currently receives the second highest hits after Linux Mint at DistroWatch. The recent versions of Ubuntu have used Unity as a default user interface for the GNOME-3 desktop environment. If you have installed a new version of Ubuntu operating system with the Unity user interface on your PC, you might find these tips and tricks useful for working with the system. Looking for a desktop interface with a start menu that looks closer to the traditional Windows system? Then give Linux Mint a try and check out Tips and Tricks for Linux Mint 17 Cinnamon Edition or MATE Edition. Note: The tips and tricks included in this article work well with Ubuntu 14.04 (LTS) to 15.04 >>   Click here to view list of tips and tricks

Here is a solution for Skype group chats are not showing in ubuntu 14.04 and skype 4.3.0.37

Skype group chats will not work on the current version of Skype (It is a  known bug  reported on their forums for Linux users &  other places ). You can voice talk, but typing something or having actual access to the chat will not work. I have encountered the same problem and I found the solution in Skype forum: To solve this   issue, type below command on any chat window: /msnp24 after that hit enter and logout once and login again now you will able to show all your group chats.

How to install skype on ubuntu ?

Skype  is a popular messaging and voip service which supports almost all OS platforms . It offers free skype to skype calls low call costs to mobiles and landlines. Here in this post we can see about installing skype in ubuntu 14.04. Step 1 »  Enable ubuntu canonical repository . sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner" Step 2 »  Update the repositories by the below command. sudo apt-get update Step 3 »  Now issue the below command to install Skype. sudo apt-get install skype Step 4 »  Now click on search your computer and then write skype it display installed skype with it's icon then click on it.

How To Install and Configure Elasticsearch on Ubuntu ?

             Elasticsearch   is a platform for distributed search and analysis of data in real time. Its popularity is due to its ease of use, powerful features, and scalability.       Elasticsearch supports RESTful operations. This means that you can use HTTP methods (GET, POST, PUT, DELETE, etc.) in combination with an HTTP URI (/collection/entry) to manipulate your data. The intuitive RESTful approach is both developer and user friendly, which is one of the reasons for Elasticsearch's popularity.         Elasticsearch is a free and open source software with a solid company behind it — Elastic. This combination makes it suitable for use in anywhere from personal testing to corporate integration.       >>  To get complete installation guide click here.

How to setup SVN server on ubuntu 14.04 ?

SVN ( Subversion ) is an opensource version control system. it is used to store previous changes of your project files like documentation, coding etc. also you can track and identify who made the particular changes in the project files . Here in this article we can see how to setup SVN server on ubuntu 14.04 . Let’s start the installation .      >>    To get complete installation guide click here.

How to Install Eclipse IDE on Ubuntu ?

Eclipse  is a well known Integrated Development Environment. It is used by developers all around the world to code their application, it is primarily developed in Java, but programmers can use it to code their applications in various languages like C/C++, COBOL, Fortran, Perl, PHP, Python, Ruby on Rails etc. It is a cross platform application and runs fine on Microsoft Windows, Linux, Solaris and Mac OS. It offers a base workspace and an extensible plug-in system for customization. The very first version of eclipse was launched in June 2004 and it has been under consistent development till date. Everything in eclipse is a plugin, so its pretty easy to integrate new plugins to extend its functionality. There are both paid, and free third party plugins available to customize the functionality of this wonderful development environment. Eclipse provides tools for Server, Web and Modeling platforms.       >>     For complete installation guide c...