I’m migrating a site from GoDaddy to HostGator (I personally would prefer to move over AWS but that’s the client’s choice in this specific case) and I wanted to get the IP of the new server on HostGator. I couldn’t find the IP anywhere on their control panel. Pinging the temporary URL they provide for […]
Category Archives: SysAdmin
Script de deploy para projetos que usam git
Há alguns meses atrás desenvolvi um script de deploy para um projeto em que estou trabalhando. Com o tempo vi a possibilidade de melhorar alguns pontos, especialmente com o uso do componente Console do Symfony2, e agora disponibilizo uma versão pública que pode ser usada com projetos armazenados em um repositório git. https://github.com/straube/deploy Uma das […]
Recursive chmod
Sometimes you need to change the access control to files matching some requirement. E.g. today I needed grant execute access to the owner of all PHP scripts running under Apache HTTP Server, in a specific directory.
Writing an init script for a Java application
UPDATE, Oct, 1st 2014 This is an old post (from 5 years ago when I writing this update) and the solution isn’t the best. So take a look at the comments – specially that one by Tinoco. The need make us study topics we think we’ll never need. Today I had to write a simple bash program […]
Using Apache James to send e-mail from a Windows desktop
I use Windows at work and it doesn’t have sendmail program, like Linux or Mac. With Windows XP, there is the IIS built-in SMTP service. But, yet I use Apache Server and not IIS. Until recently I had a hard time testing applications that send e-mails. But then I found the Apache James project. Despite some issues […]