1:findpostgresdatafilelocation:
redfontispostgredatabasefile
-bash-4.2$ps-ef|greppost
postgres53551009:26?00:00:00/usr/pgsql-9.5/bin/postgres-D/var/lib/pgsql/9.5/data
postgres54655355009:27?00:00:00postgres:loggerprocess
2:runthefollwingcommand,redfontpartwascopiedfrom1ststep
pg_ctl-D/var/lib/pgsql/9.5/datastop
waitingforservertoshutdown....done
serverst...[
閱讀全文]
cat/etc/anacrontab[root@linux1~]#cat/etc/anacrontab
#/etc/anacrontab:configurationfileforanacron#Seeanacron(8)andanacrontab(5)fordetails.SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
#themaximalrandomdelayaddedtothebasedelayofthejobs
RANDOM_DELAY=45
#thejobswillbestartedduringthefollowinghoursonly
START_HOURS_RANGE=3-22#periodindaysdelayinminutesjob-ident...[
閱讀全文]
playbookeample:thebeleowisrightone,wecannotadd"-"befor"shell"ofline---
-hosts:home1
vars:
http_port:80
tasks:
-name:testofshell
shell:ls/etc>/etc/ansible/hello.log[
閱讀全文]
GotoJOB_1andaddaPost-Buildaction(Triggerparameterizedbuildonotherprojects)
TypetheprojecttobuildJOB_2
AddParameters(PredefinedParameters)
TypethefollowingintheParametersbox:test1=${test1}
ApplyandSave
MOSTIMPORTANT:YOUMUSTADDTHISPARAMETER(test1)toJOB_2
Gotoandcheck"Thisbuildisparameterized"andadda"StringParameter"
Type"test1"(Mustbesam...[
閱讀全文]
1.中國發行一部分美元?或者說中美兩國共同發行支持美元共同占有利益承擔責任?[
閱讀全文]
賀新郎·讀史
人猿相揖別。隻幾個石頭磨過,小兒時節。銅鐵爐中翻火焰,為問何時猜得?不過幾千寒熱。人世難逢開口笑,上疆場彼此彎弓月。流遍了,郊原血。
一篇讀罷頭飛雪,但記得斑斑點點,幾行陳跡。五帝三皇神聖事,騙了無涯過客。有多少風流人物?盜蹠莊屩流譽後,更陳王奮起揮黃鉞。歌未竟,東方白。
[
閱讀全文]
賀新郎·讀史人猿相揖別。隻幾個石頭磨過,小兒時節。銅鐵爐中翻火焰,為問何時猜得?不過幾千寒熱。人世難逢開口笑,上疆場彼此彎弓月。流遍了,郊原血。一篇讀罷頭飛雪,但記得斑斑點點,幾行陳跡。五帝三皇神聖事,騙了無涯過客。有多少風流人物?盜蹠莊屩流譽後,更陳王奮起揮黃鉞。歌未竟,東方白。[
閱讀全文]
pipeline{
agentnone
stages{
stage('Build'){
steps{
echo"build1"
}
}
stage('checkifmanagementsignedoff?'){
agentnone
steps{
script{
env.GO_or_NO_GO=inputmessage:'Userinputrequired',
parameters:[choice(name:'GOornogotoday',choices:'YESnNO',description:'Choose"yes"ifwegetsignedofff...[
閱讀全文]
$#Storesthenumberofcommand-lineargumentsthatwerepassedtotheshellprogram.
$?Storestheexitvalueofthelastcommandthatwasexecuted.
$0Storesthefirstwordoftheenteredcommand(thenameoftheshellprogram).
$*Storesalltheargumentsthatwereenteredonthecommandline($1$2...).
"$@"Storesalltheargumentsthatwereenteredonthecommandline,individuallyquoted("$1""$2"...).
...[
閱讀全文]
我中學是渡過三國演義和水滸等小說。似乎從未有癮。九十年代翻閱過武俠小說,是否是金庸古龍已經記不起,實在難以堅持讀兩三頁以上。一直不明白如何上癮於虛幻的東西[
閱讀全文]