Found 143 Articles for Ubuntu

Working with tmux session

sudhir sharma
Updated on 17-Jul-2020 10:52:40

428 Views

Tmux is a terminal multiple for Unix OS. It provides multiple terminal sessions to its users. It is used when we are using cloud-based services (like Azure, AWS) for the creation of separate terminals for different remote users.While working with web services, one needs to create an EC2 instance on the webserver provided by the company to work on it by creating a session.Now, let’s see the steps of working on a UNIX (Ubuntu) webserver.Step 1 − Write/copy the IP address of your AWS console and download the key file from the console. You will get these from your vendor ... Read More

How to decorate your Linux Terminal using Shell?

Pradeep Elance
Updated on 25-Feb-2020 06:18:46

1K+ Views

The Linux GUI based terminal window has many colours and font settings which can be enhanced as per the user choice. All these can be done using the shell commands and not just by clicking mouse buttons in the GUI component settings.Most of these settings are handled through variables whose value can be changed or assigned by commands. In this article we will see how to handle the terminal prompt settings in Ubuntu based systems.The PS1 VariableIt is a environment variable which controls the primary prompt string which is displayed when the shell is ready to read a command. There ... Read More

How to Find out Linux Version currently Installed on your Machine?

Samual Sam
Updated on 28-Jan-2020 09:28:19

273 Views

Are you new to Linux/Ubuntu? Do you know, which version of Ubuntu/Linux is currently installed on your machine? If you are in a dilemma, then this article explains you about how to find out Linux version currently installed on your machine.Method 1Use the following command to find Ubuntu version as shown below −$cat /etc/*-releaseThe sample output should be like this –DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS" NAME="Ubuntu" VERSION="16.04.1 LTS (Xenial Xerus)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 16.04.1 LTS" VERSION_ID="16.04" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" UBUNTU_CODENAME=xenialTo get the kernel information about Linux machine, use the following command as shown below −$ hostnamectlSample output should be ... Read More

How to Increase Swap Space on Linux Ubuntu?

karthikeya Boyini
Updated on 27-Jan-2020 07:23:20

4K+ Views

In this article, we will learn how to increase the swap space, which will solve the memory errors in applications. This will cover how to add a swap file to an Ubuntu Linux.Anyway, this is recommended to utilize the spinning hard disk drivers for swap as SSD can cause issues with hardware degradation over time. Due to this reason, do not enable swap on Cloud where the SSD storage is provided.What is Swap file?The Swap is a place where the OS can store temporary data as it can no longer holds in RAM. Basically, this will increase the ability of ... Read More

How To Fix and Protect The Linux Server Against the Dirty COW Vulnerability on Ubuntu

Sharon Christine
Updated on 27-Jan-2020 06:57:48

279 Views

In this article, we will learn about how to fix the Dirty Cow Linux Vulnerability. The Dirty Cow Linux Vulnerability was escalated on Oct 19 2016 as it is a privilege escalation vulnerability in the Linux OS on kernel level which was disclosed with the name as Dirty COW as it will create a condition that kernel handles COW (Copy-on-Write), which exists for a long time since 2007 from kernel version 2.6.22 as most of the servers are at risk.Dirty Cow means that a regular or an unprivileged user on the server will gain write access to all the files ... Read More

How to Secure MongoDB on Ubuntu 16.04

Sharon Christine
Updated on 23-Jan-2020 12:33:23

284 Views

In this article, we will learn how to secure Mongo DB on Ubuntu 16.04. In previous versions the Mongo DB is vulnerable to automated exploits because, by default, there is no authentication which was allowed to interact with the database, any user can create, read, modify and destroy the database and the contents, this is because of the Mongo DB daemon which can listen to all interfaces as default settings.Enabling Authentication and Adding Admin UserThis issue has been mitigated in the latest versions of Mongo DB after version 3.x releases, however, the authentication is still disabled as default settings, so ... Read More

How to Monitor Your Ubuntu System with Sysdig?

Sharon Christine
Updated on 23-Jan-2020 12:22:45

227 Views

Sysdig is an open source application, It captures system state and activity from a running Linux instance, then saves, filters and analyzes. It is scriptable in Lua and consists of a command line interface and an effective interactive UI, Sysdig is a combination of strace + tcpdump + htop + iftop + lsof + transaction tracing + awesome sauce. This article explains about -“How To Monitor Your Ubuntu System with Sysdig”.Installing SysdigConfigure the apt repository with trusted Draios GPG key as shown below –# curl -s https://s3.amazonaws.com/download.draios.com/DRAIOS-GPG-KEY.public | apt-key add - # curl -s -o /etc/apt/sources.list.d/draios.list http://download.draios.com/stable/deb/draios.listTo update the package ... Read More

How To Install Parse Server on Ubuntu

Sharon Christine
Updated on 23-Jan-2020 11:25:06

415 Views

Parse server is an open source and is like mobile back-end. It is owned by Facebook since 2013. This server may be deployed to any infrastructure that may run Node.Js and MongoDB. This article explains about – How To Install Parse Server on Ubuntu.Prerequisitespython-software-properties packageNode.jsMongoDBTo add python-software-properties package, use the following command-$ sudo apt-get install build-essential git python-software-propertiesThe sample output should be like this –Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version (12.1ubuntu2). build-essential set to manually installed. The following packages were automatically installed and are no longer required:    linux-headers-4.4.0-31 ... Read More

How to Install ImageMagick on Ubuntu

Sharon Christine
Updated on 23-Jan-2020 11:09:53

707 Views

Use ImageMagick to create, edit, compose or convert bitmap pix. It could actually read and write snapshots in a type of codecs (over 200) including PNG, JPEG, JPEG-2000, GIF, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and develop into snapshots, alter image colors, follow various certain effects, or draw text, lines, polygons, ellipses and Bézier curves.This article explains about -“How to Install ImageMagick on Ubuntu”Before installing ImageMagick, It should be required, to build essentials as shown below –$sudo apt-get install build-essential checkinstall && apt-get build-dep imagemagick -yThe sample output should ... Read More

How to Install and Setup Cacti on Ubuntu 16.04

Sharon Christine
Updated on 23-Jan-2020 11:05:17

477 Views

Cacti is a Network monitoring device that creates personalized graphs of server efficiency. It is accessed and managed via an online entrance-finish. This article explains on – How to install and set up cacti on Ubuntu.PrerequisitesLAMPSNMP, SNMPD and RRDtoolsTo install LAMP, add the following repository as shown below –$ sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu trusty universe'To update the packages, using the following command –$ sudo apt-get updateTo install LAMP, use the following command –$ sudo apt-get install apache2 mysql-server-5.6 php libapache2-mod-phpThe sample output should be like this –Reading package lists... Done Building dependency tree Reading state information... Done libapache2-mod-php is already ... Read More

Previous 1 ... 6 7 8 9 10 ... 15 Next
Advertisements