Утилита, которая показывает поточные открытые файлы. Можно применять фильтры по юзерах и по местах их дислокации
http://handynotes.ru/2010/01/unix-utility-lsof.html
http://handynotes.ru/2010/01/unix-utility-lsof.html
| Log Type | Information Written to Log |
|---|---|
| Error log | Problems encountered starting, running, or stopping mysqld |
| General query log | Established client connections and statements received from clients. Тоесть сдесь логируется все что запрашивается у mysqld, все запросы, а не только те, которые изменяют состояние базы, как в Binary log. |
| Binary log | Statements that change data (also used for replication). Риплика тоже может писать эти логи, если она находится в составе сложной цепочки реплик, и является мастером для другой реплики. |
| Relay log | Data changes received from a replication master server |
| Slow query log | Queries that took more than long_query_time seconds to exe |
SHOW VARIABLES WHERE Variable_Name LIKE "%dir";
keytool -importkeystore -srckeystore jvmkeystore.jks \ -destkeystore somesite_key_and_cert.p12 \ -srcalias keycert_alias_in_keystore \ -srcstoretype jks \ -deststoretype pkcs12
curl
openssl pkcs12 \ -in somesite_key_and_cert.p12 \ -out somesite_key.pem -nocerts
openssl pkcs12 \ -in somesite_key_and_cert.p12 \ -out somesite_cert.pem -clcerts -nokeys
curl -vvv --cert somesite_cert.pem \ --key somesite_key.pem \ "https://somesite.com:443/intr/source"
openssl pkcs12 \ -in somesite_key_and_cert.p12 \ -out somesite_key_and_cert.pem -clcertsИ обращение:
curl -vvv --cert somesite_cert.pem \ "https://somesite.com:443/intr/source"
javax.net.ssl.keyStore- Location of the Java keystore file containing an application process's own certificate and private key. On Windows, the specified pathname must use forward slashes, /, in place of backslashes.javax.net.ssl.keyStorePassword - Password to access the private key from the keystore file specified by javax.net.ssl.keyStore. This password is used twice: To unlock the keystore file (store password), and To decrypt the private key stored in the keystore (key password).javax.net.ssl.trustStore - Location of the Java keystore file containing the collection of CA certificates trusted by this application process (trust store). On Windows, the specified pathname must use forward slashes,/, in place of backslashes,\.If a trust store location is not specified using this property, the SunJSSE implementation searches for and uses a keystore file in the following locations (in order):
$JAVA_HOME/lib/security/jssecacerts$JAVA_HOME/lib/security/cacertsjavax.net.ssl.trustStorePassword - Password to unlock the keystore file (store password) specified byjavax.net.ssl.trustStore.javax.net.ssl.trustStoreType - (Optional) For Java keystore file format, this property has the value jks (or JKS). You do not normally specify this property, because its default value is already jks. javax.net.debug To switch on logging for the SSL/TLS layer, set this property to ssl.
git clone user@git-server:project_name.git -b branch_name /some/folder
mysqldump -uroot -p`grep -m1 "^password=" /root/.my.cnf | cut -d= -f2` mydbname > mydump.sql
<project>
[...]
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
</plugins>
</build>
[...]
</project>
$ mvn install assembly:assembly
$ mvn help:describe -Dplugin=exec -Dfull
$ mvn dependency:resolve
$ mvn dependency:tree
$ mvn install -X
sudo su -c 'screen -r -x bingo-jenkins -p bash -X stuff "cd ~/liferay-plugins; git reset --hard; git pull;git checkout $branchname; git pull;ant stop-portal-force all-new start-portal -Ddeployer.names=Jenkins "'Перенос строки обязательно, потому что в терминал вводится текст.
@ActionMapping(value = "addDocOrder")
public void addDocOrder(@ModelAttribute("order").......
Your request should URL should be built like:
<portlet:actionURL> <portlet:param name="javax.portlet.action" value="addDocOrder"/> </portlet:actionURL>
@ActionMapping(params = "action=addDocOrder")
public void addDocOrder(@ModelAttribute("order").......
Your request should URL should be built like:
<portlet:actionURL> <portlet:param name="action" value="addDocOrder"/> </portlet:actionURL>