Skip to main content

Posts

Showing posts with the label linux server

Do You Know How to Install Ansible on 64-bit Ubuntu 14.04 server

You just need to follow below steps: Step 1: Install the software-properties-common package $ sudo apt-get update && sudo apt-get install software-properties-common   Step 2: Add the Ansible repository to your system $ sudo apt-add-repository ppa:ansible/ansible Step 3: Install Ansible $ sudo apt-get update && sudo apt-get install ansible Configuring Ansible Hosts Ansible keeps track of all of the servers that it knows about through a “hosts” file. We need to set up this file first before we can begin to communicate with our other computers. Open the file with root privileges like this: sudo nano /etc/ansible/hosts   Copy You will see a file that has a lot of example configurations, none of which will actually work for us since these hosts are made up. So to start, let’s comment out all of the lines in this file by adding a “#” before each line. We will keep these examples in the file to help us with configuration if we want to implement more complex scenario...

What is Client-Side? and What is Server-Side? - Client-Side Vs. Server-Side

In actual Client-side means the action takes place on the user’s (the client’s) computer. Server-side implies that the action takes place on a web server. So what can we mean by action? And why does some action happen on your computer and some on a server? When we say action we mean all that employment that programming languages do. you will be definitely remember from our term related to programming languages that they are the doers of the web. Programming languages like Ruby, Python, and JavaScript do things like: send an email, ask the bank what proportion money you've in your account, or tell a photograph slideshow to advance to the following image. In order for a programming language to do and do its job, the pc should understand the language its speaking. Almost every computer within the planet understands one programming language: JavaScript. For such type of reason, so many things which can be accomplished using JavaScript are often evaded needing access through the interne...

How to measure disk performance with fio and IOPing

  Whether it’s a server, or a PC for work, what usually limits performances is disk speed. Even if using SSDs, their speed is not yet comparable to that of RAM and CPU. There are different tools with or without a graphical interface, written for testing disks speed. There are also people who use dd , for example: dd if=/dev/zero of=test_file bs=64k count=16k conv=fdatasync However, in our opinion dd is the worst software for benchmarking I/O performance. it is a single-threaded, sequential-write test. Of course, if running a web server, services do not do long-running sequential writes, and use more than one thread it writes a small amount of data, so the result can be influenced by caching or by RAID’s controller it executes for just a few seconds, and everyone knows that in this way it’s not possible to have consistent results there are no reading speed tests All these points just lead to one conclusion: better to use anything else. For disk benchmarking there are two kind of pa...