In React Native text is used to display text inside screenIt allows text render inside a app various types of textual information is availableParagraphs, buttons, labels Example of Text : import { Text,View, StyleSheet } from ‘react-native’; const YourComponent = () => {return( <View style={styles.container}><Text>Hello, Text Is Here</Text> </View>); }… Continue Reading TEXT AND TEXTINPUT IN REACTNATIVE

There are various ways to run a Node.js project, but some common methods are: Using the node Command: Using NPM Scripts:In your package.json file, you can define scripts that automate various tasks, including starting your Node.js application.Add a “scripts” section in your package.json:“scripts”: { “start”: “node app.js” }Run the following… Continue Reading Methods to run a Node Project

Introduction GitLab is a web-based Git repository that provides free open and private repositories, issue-following capabilities, and wikis. It is a complete DevOps platform that enables professionals to perform all the tasks in a project—from project planning and source code management to monitoring and security Prerequisites Implementation Step 1: SSH to… Continue Reading How to upgrade Gitlab to the latest version

Introduction: To set up the CPU service monitor on Nagios, you’ll need to follow these general steps. CPU checks CPU usage, load averages, or other performance metrics on the server, and if the process is high, it gives an alert to the Nagois server. Prerequisite 1. Server root login credentials.… Continue Reading HOW TO SET UP THE CPU SERVICE MONITOR ON NAGIOS

Introduction: Swap space, an extension of physical memory, enables instances to manage memory resources efficiently, preventing performance degradation in situations of high demand. This guide outlines the steps to add swap space to an Amazon EC2 instance Step 1: Connect to EC2 Instance. Step 2: Before adding a swap, check… Continue Reading How do to add a swap space to an EC2 instance?

Introduction A collection is a grouping of MongoDB documents. Documents within a collection can have different fields. A collection is the equivalent of a table in a relational database system. A collection exists within a single database Prerequisites Implementation Step 1: SSH the server where the Mongo database is running $ ssh user@IP… Continue Reading How to clear the data from a Mongo DB collection