Skip to main content

Posts

How to configure CentOS Firewalld

Introduction Firewalld is a complete firewall solution available by default on CentOS 7 servers. In this guide, we will cover how to set up a firewall for your server and show you the basics of managing the firewall with the firewall-cmd administrative tool. Basic Concepts in Firewalld Before we begin talking about how to actually use the firewall-cmd utility to manage your firewall configuration, we should get familiar with a few basic concepts that the tool introduces. Zones The firewalld daemon manages groups of rules using entities called "zones". Zones are basically sets of rules dictating what traffic should be allowed depending on the level of trust you have in the networks your computer is connected to. Network interfaces are assigned a zone to dictate the behavior that the firewall should allow. For computers that might move between networks frequently (like laptops), this kind of flexibility provides a good method of changing your ru...

ElasticSearch Clustering and Backups

ElasticSearch Installation: The version we want to install is 2.x (latest sub version of 2). First we have to install java on centOS machine with following command: sudo yum install java-1.8.0-openjdk.x86_64 Install Public Signing Key:   rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch Create new repo in your /etc/yum.repos.d/ directory. For example I have created elasticsearch.repo here. /etc/yum.repos.d/elasticsearch.repo -------------------------------------------------------------------------------------------- [elasticsearch-2.x] name=Elasticsearch repository for 2.x packages baseurl=http://packages.elastic.co/elasticsearch/2.x/centos gpgcheck=1 gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch enabled=1 --------------------------------------------------------------------------------------------- Now Elasticsearch 2.x will avilable for installation using yum   yum install elasticsearch After installation enable the service a...

Configuring Failover and Load Balancing with HAproxy using Keepalived

Network Scenario: LB1: 192.168.10.10 LB2: 192.168.10.11 Virtual IP: 192.168.10.12 APP_Server1: 192.168.10.20 APP_Server2: 192.168.10.21 Load Balancing: STEP 1 - Install HAProxy: HAProxy package is available under default yum repository for CentOS, Redhat systems. Use the following yum package manager command to install HAProxy on your system.   # yum install haproxy   STEP 2 - Configure HAProxy : Update your HAProxy configuration file /etc/haproxy/haproxy.cfg as per your requirement, You may also use below given configuration file as an example of setup and modify it. Keep the config file same of both servers i.e. LB1 and LB2.   ----------------------------------------------------------------------------------------------------------- global         log /dev/log    local0         log /dev/log    local1 notice     ...

HAProxy automatic failover

HAProxy automatic failover HAProxy is a TCP load balancing tool with some useful features, including ACLs and SSL termination support. I’ve been using it for a while now on a number of load-balanced sites where scalability is key. What I haven’t yet looked at, however, is automated failover capabilities. My aims were simple: If a server fails, stop using it. If said server starts working again (i.e. because the problem is fixed) start using it again. If all servers in the load balancer pool fail, serve a temporary static page from another location. But first: Some basic HAProxy concepts HAProxy as a load balancer is fairly simple, and works on the basis of defined frontends and backends. A frontend is simply an IP and port declaration that you want the load balancer to listen on. A backend is the set of servers that requests to a frontend are sent to. Your HAProxy configuration lists the frontends and their respective backends, as well as the load balancing algorithm ...

Samsung Galaxy One Tablet

Samsung has a projector phone or two in its portofolio, but what about tablets with projectors? That hasn’t been done by any company as far as I know, so the market is open. Laura Hong and Charles de Belizal envisioned a projector tablet and called it the Samsung Galaxy One, that you can see below. This device measures 14mm in thickness, packs a projector, Windows 8, an aluminum body and brushed aluminum feet. The Galaxy One has two “feet”, that help prop it up in media viewing position if you want to watch movies and also prepare it to project data during a business meeting, for example. It has a great projection angle and the projector is incorporated right above the camera sensor, that also includes a flash. A stylus is also in the mix and the Metro UI seems to fit right in with this Samsung tablet concept. The virtual QWERTY keyboard also looks comfortable and I guess it’s part of the design, since it doesn’t resemble the standard input method in Windows 8....
They say that lightning never strikes twice, but this amazing photo proves otherwise. An incredible eight bolts struck the Bay Bridge in San Francisco last night which was captured in this incredible shot by photographer Phil McGrew, who took the photo through the rain-soaked window of his apartment.  Mr McGrew, 49, was shocked at the striking image which shows the split-second moment of electric forks hitting the span of the bridge. Lucky strike! Eight bolts of lightning hit the iconic Bay Bridge in San Francisco in a spectacular once in a lifetime moment captured by photographer Phil McGrew  The currency trader, who took up photography as a hobby two years ago, put his camera near his window as the rare thunderstorm lashed the city at 6pm. He said: 'I moved from Fort Lauderdale, Florida to San Francisco about two years ago. 'We used to get a lot of big storms in Florida, but I've only seen them a couple of times here.

New Nokia Upcoming Model 888

Pegasus Technologies, a leading provider of innovative digital pen technologies and solutions, invites you to experience the 2nd generation digital pen. Pegasus is the solution of choice for some of the world's foremost digital pen manufacturers. The Company's pioneering technology, unrivaled efficiency and unique product offering give global OEMs the tools they need to design and manufacture quality digital pens and complementary applications.

UFONE Launches 3 Android Phones

Ufone Image (U8800): Ufone Image sports a 3.8-inch capacitive touchscreen, a 5 megapixel camera with LED flash, Bluetooth, GPS / A-GPS and WiFi connectivity. Ufone Image Android Phone is powered by a 800MHz Cortex-A8 processor with 512MB RAM. It has 4 GB of internal memory and supports microSD / SDHC expansion. Specifications: •Android™ 2.2 (Froyo) OS •5 MP Auto Focus Camera with LED flash •3.8” full touch screen supporting auto rotation •G-sensor •720p HD video capture and playback •WIFI with portable hotspot support •GPS/AGPS •Google Software Suite •Web browsing with Flash support •512 MB RAM + 4GB Memory •Price: Price: Rs. 24,999 •Free 30 MB GPRS, Every month for 18 months Ufone Verve (U8500): Ufone Verge runs on the Android operating system, and comes with a music and video player supporting H.264, H.263, MP4, eAAC+, WMA and MP3 file types. This model sports a 262K color touchscreen measuring 3.2-inches; you also get features such as an Optical trackp...

Revolution in Gaming

SAN FRANCISCO (AFP) – Videogame makers from around the globe are gathering to seek paths to fortune and glory on a landscape upset by social networks, smartphones, tablet computers, and the Internet "cloud." More than 18,000 industry insiders are expected to attend the week-long Game Developers Conference that kicks off Monday in downtown San Francisco. The event has grown into the world's largest confab of videogame professionals since it started in 1988 with about two dozen computer game loving software developers meeting in a living room. Major themes at GDC will include adapting to the booming popularity of "social games" at online communities such as Facebook and casual play on smartphones or tablet computers. Facebook stands to benefit nicely from the trend, since about half of its more than 500 million members play games and the social network takes a 30 percent cut of revenue from game transactions. Internet game playground Hi5 will introd...

Robots that can see through Walls

Us army has funded a programme under which a robot has been developed that is so sensitive that it can see through walls by detecting reflected radio-waves. The robot contains an extremely sensitive RF scanner that can send wide abnd signals that can penetrate through concrete walls and reveal the sights and sounds that occur behind. That robot can be controlled remotely and can be used for spying what is going on in hotel rooms or in the office or homes. Even the sound of breathing of a person can be detected by this robot., as it is fitted with a fine beam ultra- wide abnd multi Gigahertz radio frequency sensors arrays. This "sense-through-the-wall" (STTW) technology will expose many politicians ad leaders to intruding electronics ears and eyes. Named Cougar 20H , the robot has been developed by TaiLinx . 

New high speed connection tech due to Apple

An announcement from Apple is expected soon about a new high-speed connection technology. Whether the new connector tech will be part of the upcoming MacBook Pro update (rumored to happen February 24) or announced in another context is not clear. Intel has been working on a technology called Light Peak for years and recently said the initial version would be based on copper, as practical realities dictate more conventional technology.

Vulture - Unmanned Aircraft

Defense Advanced Research Projects Agency (DARPA) of United States is working to develop an unmanned aircraft that is able to stay in air for a period of 5 years at a time. It is one of the most recent inventions of world. Officials of DARPA has revealed that this aircraft will be known as VULTURE due to its Persistent Pseudo-Satellite Capability . It means that this aircraft will be able to fly over a single area, communicating or performing analysis for years at a time. Even this project looks appealing to many of you, but there are some serious problems or you can say obstacles in achieving this project. 1) First challenge in front of designers is to figure out some Way to Supply Power to this aircraft during long missions. 2) Another problem is that this aircraft will carry a 1000 pound (450 kg) payload in winds at an altitude of 60,000 to 90,000 feet. 3) Designers have also to sort out the problems regarding Deterioration of Materials during their long-time exposur...

4G Technology!!

4G also called as Fourth-Generation Communications System, is a term used to describe the next step in wireless communications. A 4G system can provide a comprehensive IP solution where voice, data and streamed multimedia can be provided to users on an "Anytime, Anywhere" basis. The data transfer rates are also much higher than previous generations. The main objectives of 4G are: 1)4G will be a fully IP-based integrated system. 2)This will be capable of providing 100 Mbit/s and 1 Gbit/s speeds both indoors and outdoors. 3)It can provide premium quality and high security. 4)4G offer all types of services at an affordable cost. 4G is developed to provide high quality of service (QoS) and rate requirements set by forthcoming applications such as wireless broadband access, Multimedia Messaging, Video Chat, Mobile TV, High definition TV content, DVB, minimal service like voice and data, and other streaming services. 4G technology allow high-quality smooth video tra...
You've read that right folks, smartphones nowadays claim that they can pretty much do everything. Add to that Korean carrier SK Telecom 's marketing of their new service bundled with the Galaxy S to be launched within the week. Although in hindsight, the Galaxy S Hoppin is really just your android phone that includes a dock that allows you to hook it up to your TV and use the company's Hoppin streaming service to get content to it. You can get movies for 1000 to 3500 Won (or around $0.89 to $3.12). Other than that, the phone specs are relatively the same.

IPHONE 5 Coming Sooon

Looking for further evidence that the iPhone 5 is on its way? You’re in luck! DIGITIMES’ Willie Teng reports that Apple has added Foxconn Electronics, Foxlink, Gold Circuit Electronics (GCE) and Epistar as component suppliers for the iPhone 5, more evidence that development of the next generation of Apple’s iconic smartphone is proceeding toward a product release later this year. While this is great news for iPhone 5 hopefuls, don’t get your hopes up for a Spring iPhone 5 release. Teng expects the iPhone 5 will not launch until summer at the earliest, based on a Chinese-language Economic Daily News (EDN) report. And that sounds about right, since there are rumors of the iPad 2 launch anticipated in March or April and probably a round of MacBook Pro updates as well coming up that should keep Apple’s dance card full for the near future. For more information, visit: http://www.digitimes.com/news/a20110121PB200.html

Line Following Robot!

What is a line follower? Line follower is a machine that can follow a path. The path can be visible like a black line on a white surface (or vice-versa) or it can be invisible like a magnetic field. Why build a line follower? Sensing a line and maneuvering the robot to stay on course, while constantly correcting wrong moves using feedback mechanism forms a simple yet effective closed loop system. As a programmer you get an opportunity to ‘teach’ the robot how to follow the line thus giving it a human-like property of responding to stimuli. Practical applications of a line follower : Automated cars running on roads with embedded magnets; guidance system for industrial robots moving on shop floor etc.   I started with building a parallel port based robot which could be controlled manually by a keyboard. On the robot side was an arrangement of relays connected to parallel port pins via opto-couplers. The next version was a true computer controlled line foll...

Engineering History!

The concept of engineering has existed since ancient times as humans devised fundamental inventions such as the pulley, lever, and wheel. Each of these inventions is consistent with the modern definition of engineering, exploiting basic mechanical principles to develop useful tools and objects. The term engineering itself has a much more recent etymology, deriving from the word engineer, which itself dates back to 1325, when an engine’er (literally, one who operates an engine) originally referred to “a constructor of military engines.”[5] In this context, now obsolete, an “engine” referred to a military machine, i. e., a mechanical contraption used in war (for example, a catapult). The word “engine” itself is of even older origin, ultimately deriving from the Latin ingenium (c. 1250), meaning “innate quality, especially mental power, hence a clever invention.” Later, as the design of civilian structures such as bridges and buildings matured as a technical discipline, the term civil...