In this post, we are going to explain how to insert, delete, update tables on a database using php. DataBase And Table: CREATE DATABASE demo; CREATE TABLE reg ( id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY, name VARCHAR(30) NOT NULL, password VARCHAR(30) NOT NULL, address VARCHAR(30) NOT NULL, email VARCHAR(50), fathername… Continue Reading Basic insert, delete, update database & Image upload using php

In this post, we will explain how to upgrade IPMI firmware version on supermicro motherboard. Its highly recommended to perform this maintenance when OS is installed on the server and it has ipmicfg  installed in it because incase if the ipmi interface goes down, we can bring the interface up using ipmicfg.… Continue Reading IPMI Firmware Upgrade – SuperMicro

You may seen lot of posts on installing node, npm and pm2. Here we go in our site, how to install node, npm and pm2 on linux distribution. Let’s download the node version and extract the files. cd /opt;wget https://nodejs.org/dist/v6.2.2/node-v6.2.2-linux-x64.tar.gz && tar -xvf node-v6.2.2-linux-x64.tar.gz Create a symlink to /use/bin directory ln… Continue Reading Installing node,npm and pm2

Let’s consider, we want to move the job to one project to another project or move the jobs to one rundeck server to another rundeck server. Rundeck provides an option to export the job in the form of xml or yaml. First download the jobs from existing project or source rundeck… Continue Reading Exporting/Importing a job on Rundeck

In this post, we will explain on how to add simple rundeck jobs. We are not going to cover how to install rundeck on the host. This post defaults assumes that rundeck is installed and running on port 8000. Configure rundeck user on remote host:   useradd rundeck passwd rundeck… Continue Reading Setting a job on Rundeck

Rundeck is an awesome tools which we simply impressed recently. It has an inbuilt to run commands, creating jobs, scheduling jobs, etc., Refer our previous posts to know more about rundeck. In this post, we will try to give some example how can we restrict user access to project level.… Continue Reading Rundeck ACL Policy Creation

Consider a scenario, where a jumpbox has port access to a server and your local machine doesn’t have access. Here is a solution that you can apply that will redirect your request to jumpbox and you can access the server using loop back IP address from your local machine.  … Continue Reading Port forwarding using proxypass in local machine

The following script will help you to upload a file to s3 Bucket. The script initially copy the file Prerequisites: Webserver which support to run php application Composer installed on the hosts AWS access & secret key to upload file File Size should not be more than 1MB Script Setup:… Continue Reading PHP script/WebURL to upload file to s3

As you might know, it stands for Dell Remote Access Card. Working on Dell servers, this tool could be very handy if you are working with hundreds to thousands of server in a day. Here I will share few important and commonly use DRAC CLI commands: racadm get BIOS.BiosBootSettings.bootseq  ⇒ Gets you… Continue Reading Working on Dell DRAC CLI

Log rotation is a way of managing old log files to reduce disk space usage on the server. By default logrotate is invoked once a day using a cron scheduler from location /etc/cron.daily/ grep logrotate.conf /etc/cron.daily/logrotate /usr/sbin/logrotate /etc/logrotate.conf >/dev/null 2>&1 Logrotation is manged by two different configuration files /etc/logrotate.conf [generic… Continue Reading Enabling log rotation on Linux Hosts