Skip to content
FELIPE FERREIRA

FELIPE FERREIRA

System Administrator

  • Home
    • ME
    • Hobby
      • Motogp
  • Linux
    • Amazon-AWS
    • bash
    • LinuxCommands
    • Varnish
    • Centos
    • BashScripts
    • tomcat
  • Exchange
  • ESX
  • Varnish
  • Security
  • Centreon

Category: Linux

By : Felipe Ferreira19/11/2013
HowTo, Linux Leave a Comment on yum download package

yum download package

There is a way to only download the rpm package from a repository using RedHat/CentOS 6.x yum install yum-plugin-downloadonly yum install –downloadonly –downloaddir=/tmp nmap To download a package already installed use yum reinstall –downloaddir=/tmp –downloadonly php-common.x86_64

View the post
By : Felipe Ferreira11/11/2013
HowTo, Linux 1 Comment on How to add a disk to lvm

How to add a disk to lvm

Add disk and expand in a Logical Volume no reboot, but not for /root /(boot). Tested in Linux CentOS/RedHat 5.7 /var First add a disk in (VMWare) Scan echo “- – -” > /sys/class/scsi_host/host0/scan fdisk -l fdisk /dev/sdb n,p,1,w Format […]

View the post
Tags: disk, Linux, lvm
By : Felipe Ferreira16/10/2013
HowTo, Linux 1 Comment on vimrc example

vimrc example

This is a nice vi / vim color schema   Edit ~/.vimrc set cindent set shiftwidth=3 set tabstop=3 set expandtab set ruler ” some colors: “white on black” hi normal ctermfg=white ctermbg=black guifg=white guibg=black hi nontext ctermfg=blue ctermbg=black guifg=blue guibg=black […]

View the post
Tags: colorschema, Linux, vim, vimrc
By : Felipe Ferreira30/09/2013
BashScripts, HowTo, Linux Leave a Comment on bash script to convert pdf to jpg

bash script to convert pdf to jpg

I wrote this shell script to convert around 7 million PDF’s. The initial Java version had trouble with performance, it crashed a lot and used way to much memory. So old bash again did a clean and fast job. Overview: […]

View the post
By : Felipe Ferreira02/09/2013
Amazon-AWS, BashScripts, Linux 1 Comment on check aws elb hosts

check aws elb hosts

This scripts counts how many active instances are inService of a AWS ElasticLoadBalancer (ELB). The code is based on a simple API call via bash elb-describe-instance-health Here is the code: #!/bin/bash #This script uses AWS command line tools to get […]

View the post
Tags: amazon, AWS, elb, monitoring
By : Felipe Ferreira22/08/2013
BashScripts, HowTo, Linux, Nagios, plugins Leave a Comment on check apache script

check apache script

This script monitor Apache ./check_apache OK – Apache Status Req/s = 0.6 Idel = 4 Busy = 7|Req=0.6;Idle=4;Busy=7 Tested on Ubuntu 12.04 lighthttpd and It works only whe apache mod_status is on. I also included security on the mod_status access […]

View the post
Tags: apache, http
By : Felipe Ferreira19/07/2013
Linux Leave a Comment on how to add a RAM HD

how to add a RAM HD

Procedure how to add a RAM HD into Linux, tested on RedHat/CentOS # grubby –update-kernel=`grubby –default-kernel` –args=’ramdisk_size=2048000′ # reboot … after boot … # dd if=/dev/zero of=/dev/ram1 bs=1k count=2048000 # mkfs -t ext3 -j -m 0 /dev/ram1 # mkdir /mnt/ConversaoMem […]

View the post

Posts navigation

Previous 1 … 8 9 10 … 27 Next

Recent Posts

  • How to Write a node application to run openai chatgtp inside a docker container
  • AWS Solution Architect Study Guide
  • check_vmware_esx slow

Categories

SEARCH

https://www.buymeacoffee.com/felipeferreira
All Right Reserve. Theme: Franchise by Moral Themes.