This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- How create a minimal tomcat configuration with a AJP connection to apache --> | |
<?xml version='1.0' encoding='utf-8'?> | |
<Server port="8005" shutdown="SHUTDOWN"> | |
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /> | |
<Listener className="org.apache.catalina.core.JasperListener" /> | |
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" /> | |
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> | |
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" /> | |
<Service name="Catalina"> | |
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create a rDNS in your ISP server provider | |
Create an MX record in your DNS service | |
Create an A record in your DNS service | |
Edit your /etc/hosts file, and add the ip_address and smtp.domain.com. | |
then type hostname smtp.aydew.com in your command line | |
Download zimbra from here: http://www.zimbra.com/downloads/os-downloads.html | |
Untar and run ./install.sh | |
Go to: servername:7071 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Baja el Zip standalone de aquí. http://archiva.apache.org/ | |
2. unzip y cambia el puerto a 8082 in ARCHIVA_HOME/conf/jetty.xml | |
3. Renombra apache-archiva-1.3.6 to archiva | |
4. Crea user archiva and setea owner to archiva directory (chown -R archiva.archiva .) | |
5. Setea JAVA_HOME al usuario archiva | |
6. Corre archiva: ARCHIVA_HOME/bin/archiva start & (como usuario archiva) | |
7. Abre http://server:8082/archiva | |
8. Setea admin información |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Export 465 key from thunderbird (trama.crt) | |
2. Upload trama.crt to development@192.168.0.122 | |
3. `keytool -keystore /opt/jdk1.7.0_25/jre/lib/security/cacerts -importcert -alias trama -file /home/tomcat/trama.crt` | |
4. Password is changeit | |
5. restart tomcat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# tomcat7 This shell script takes care of starting and stopping Tomcat | |
# | |
# chkconfig: - 80 20 | |
# | |
### BEGIN INIT INFO | |
# Provides: tomcat7 | |
# Required-Start: $network $syslog | |
# Required-Stop: $network $syslog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
DocumentRoot "/var/www/vhosts/qa" | |
ServerName qa.techminds.com.mx | |
<Directory "/var/www/vhosts/qa"> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
Order Deny,Allow | |
Allow from all | |
</Directory> | |
ErrorLog logs/qa.techminds.com.mx-error_log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Copy in clipboard | |
xclip -sel clip < ~/.ssh/id_rsa.pub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Generate a new changelog | |
dbm-generate-changelog changelog.groovy | |
//Generate a changelog | |
dbm-gorm-diff add-telephone.groovy --add | |
//Update database schema | |
dbm-update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//POST jugoterapia josdem.io | |
http --form POST http://jugoterapia.josdem.io/jugoterapia-server/beverage/beverages categoryId=1 | |
//GET with query params | |
http GET http://localhost:8080/sepomex/show cp==01270 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Install specific grails version | |
sdk install grails 3.0.9 | |
//List grails versions | |
sdk list grails |
OlderNewer