Software & Coding Articles

Page 80 of 83

Learn How to Manage Various Logs using Logrotate in Linux

karthikeya Boyini
karthikeya Boyini
Updated on 21-Jan-2020 221 Views

Logrotate is designed for administration of Ubuntu systems that generate giant numbers of log records. It allows automatic rotation, compression, removal, and mailing of log records. Each log file could also be handled every day, weekly, monthly, or when it grows. This article explains about -“Learn how to manage various log using logrotate in Linux”To install logrotate, use the following command –$ sudo apt-get install logrotateThe sample output should be like this –Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libecap3 squid-common squid-langpack Use 'sudo apt ...

Read More

How To Set-Up Apache to use Password Authentication on Ubuntu 16.04

karthikeya Boyini
karthikeya Boyini
Updated on 20-Jan-2020 600 Views

In this article, we will learn about how to setup and configure the Apache Web server to restrict from visitors without authentication where we can hide some important and critical information to the un-authenticated users.PrerequisitesWe needed an Ubuntu machine with a non-root user with Sudo privileges.An Apache2 web server installed on the machine.Installing the Apache UtilitiesWe needed to install an Apache2 utility package called ‘htpasswd’ where this utility is a part of ‘apache2-utils’ packages.This will help us to create and manage the username and password which is needed to access the restricted part of the website.Below is the command to ...

Read More

How to Set Up and Configure Jekyll Development Site on Ubuntu 16.04

karthikeya Boyini
karthikeya Boyini
Updated on 20-Jan-2020 212 Views

In this article, we will learn how to setup and configure Jekyll Development Site. Jekyll provides the benefits of the Content Management System (CMS) with performance and security which appears in the database-driven sites. It is also called as blog-aware which has features of handling the date-organized contents. It is especially suitable for the people who work off-line, which also provides the lightweight editor with content management which has the version control for tracking the changes made on their websites.PrerequisitesA machine with Ubuntu 16.04 installed.A user with Sudo permissions on the machine.Installing the Jekyll Development Site on Ubuntu 16.04Before we ...

Read More

How to Run a Cron Job Every Day on a Linux System

karthikeya Boyini
karthikeya Boyini
Updated on 20-Jan-2020 5K+ Views

This article will teach you on, how to schedule a corn job for executing a script or command or shell script at a particular time every day. As a system administrator, we know the importance of running the routine maintenance jobs in the background automatically. The Linux corn utility will help us to maintain these jobs to run in the background.General Syntax of a Cron JobMIN HOUR Day of month Month Day of Week Command 0-59 0-23 1-31 1-12 0-6 Any Linux command or scriptTo see a list of cron jobs which exists on the machine, run the below command ...

Read More

How to Remove Empty Lines from a File on ubuntu

karthikeya Boyini
karthikeya Boyini
Updated on 20-Jan-2020 4K+ Views

Do you know how to remove empty lines from the file in Ubuntu? It may also be performed manually if the file has few strains but if the file has hundreds of thousands of line that is tough to be accomplished manually. This article explains you about – how to remove empty lines from a file on Ubuntu.Our sample file should be like this –Use the following command to remove the Empty lines from a file as shown below –$ ex -s +'v/\S/d' -cwq abc.txtIn the above command abc.txt indicates the file name. The sample output should be like this ...

Read More

How to Install and Use Command Line Cheat Sheets on Ubuntu

Sharon Christine
Sharon Christine
Updated on 20-Jan-2020 434 Views

Cheat is a command line primarily based on Python software that lets in system administrators to view and save helpful cheat sheets. It retrieves simple-text examples of a delegated command which will remind the user of alternatives, arguments, or commonplace makes use of. Cheat is used for “commands which you use frequently, however now not frequently sufficient to consider”Installing CheatBefore installing Cheat, we need to make sure that everything’s up to date on the system as shown in the below command –$ sudo apt-get update && sudo apt-get upgradeInstalling Cheat is best done with the Python package manager Pip. To ...

Read More

How To Install and Setup Sphinx on Ubuntu 16.04

Sharon Christine
Sharon Christine
Updated on 20-Jan-2020 490 Views

In this article, we will learn about how to install and setup Sphinx on Ubunt 16.04, Sphinx is an open source search engine which allows for full test searches, and is best in performing searches with a huge data very effectively where the data can be from any sources, (Ex − SQL Databases, plain text files, etc., )Features of the SphinxAdvanced indexes and good tool for querying.High Searching performance and indexes.Advances result for post-processing.Easily scalable with advanced searches.Can be integrated with SQL and XML sources.Can be scalable for handing the huge data with 1000’s of queries.PrerequisitesBefore we begin we needed ...

Read More

How to Install and Configure Nginx on Ubuntu 16.04

Sharon Christine
Sharon Christine
Updated on 20-Jan-2020 864 Views

In this article, we will learn about how to install and configure the Nginx Web server. Nginx is the most popular web server where some of the most popular and high traffic sites are hosted where it is more friendly and secured than Apache and it is also used as a web server.PrerequisitesUbuntu 16.04 installed on the machine with a non-root user with sudo permissions on the machine.Installing the Nginx in MachineWe can install the Nginx, which is available on Ubuntu’s default repository so can directly install the Nginx using the apt command.Before we install the Nginx we needed to ...

Read More

DevOps – A Solution To Quick Releases

karthikeya Boyini
karthikeya Boyini
Updated on 20-Jan-2020 414 Views

Quickly releasing a new product or new features to the market is a challenging task for the organizations worldwide. The toughest job is to bring together all the distinct groups such as Development, Quality Assurance and IT Operations to get the work done in a quickest way to release the product as soon as possible.It has been seen that processes and practices are kept on evolving to overcoming those challenges. Just a decade ago there is no such term called DevOps exists in our corporate world, but later in 2009, a methodology defined a set of processes to collaborate and ...

Read More

Codelgniter-One of the Best Open Source Frameworks

Sharon Christine
Sharon Christine
Updated on 20-Jan-2020 245 Views

For years, developers desperately needed a highly efficient and flexible framework that can not only help them establish effective applications but also give the liberty to bring their creativity and imagination. During that time, CodeIgniter emerged as the most agile, feature-rich and convenient alternative for developers. They love it madly for its quality to let all your creativity skills to life and develop extremely refined applications and minimizing coding.CodeIgniter enjoys the tag of one of the best in class frameworks loaded with a number of features including high security, convenient handling, exceptional stability and personalization.Although, bringing CodeIgniter into use and ...

Read More
Showing 791–800 of 825 articles
Advertisements