Create a simple menu with case for your shell script
Create a menu for you script is a good idea if you use CASE, in this example below is just put your options between the number [ ex. 1) ] and ;; ##### begin script ##### #!/bin/bash #menu with case...
View ArticleDicas de Segurança.
É…eu sei que parece, como dizia o poeta, chover no molhado, mais é sempre bom relembrar algumas dicas que podem nos ajudar em nossa vida digital. Para baixar o arquivo, clique aqui!
View ArticleHow create iscsi disk’s on RHEL
If you need deploy a cluster or just start a iscsi disk, you’ll need this… Install initiator yum install iscsi-initiator-utils Discovery targets on server(10.0.0.122): iscsiadm -m discovery -t st -p...
View ArticleHow to blink the led’s of a physical NIC
This is a very useful instruction when you need make a bond connection and you don’t know what cards you are need using. To blink the led’s on eth0 for 30 seconds, run: ethtool -p eth0 30
View ArticleScript to create user/password and send by e-mail for a FTP Server
I created a simple script (not finished yet!) to create a user and complex password for a ftp server and send to final user, in this script i used a ssmtp project as a smtp client, this project can be...
View ArticleVyatta – Configurações Básicas
Segue algumas configurações básicas de como colocar o Vyatta como um firewall em sua rede, muito fácil de interagir e com uma interface IOS Like, demonstra ser uma ferramenta poderosa, que está...
View ArticleGlusterfs – Starting
Se você chegou até meu blog, já tem uma idéia do que seja o GLUSTERFS, não vou perder tempo explicando…. vamos ao que interessa de cara… como instalar e colocar ele para rodar… Crie um arquivo chamado...
View ArticleComo subir um ambiente virtual em 5 minutos…
As vezes precisamos criar um ambiente para testes rapidamente, em um notebook. servidor de testes ou até mesmo na núvem….para isso existe uma ferramenta muito versátil chamada Vagrant. Nesse vídeo eu...
View ArticleSimple script to create a inventory of your linux server
Follow a little script to check your linux server and collect some informations, it exports two files divided in groups, they are: Disk PartitionOS VersionCPU StatusMemoryIP...
View ArticleInstall OpenVPN Client in Centos 7
This is a little trick, OpenVPN is available only in the EPEL repository, so to install, simple add this repo, using this command: #yum install epel-release After that, just install the client: #yum -y...
View Article