设为首页 收藏本站
查看: 308|回复: 0

[经验分享] jsk tomcat postgre

[复制链接]

尚未签到

发表于 2017-1-17 10:21:30 | 显示全部楼层 |阅读模式
  history
1 reboot
2 reboot
3 shutdown -h now
4 reboot
5 reboot
6 reboot
7 shutdown -h now
8 setup
9 vi /etc/udev/rules.d/70-persistent-net.rules
10 vi /etc/ssh/sshd_config
11 reboot
12 rpm -e bind-libs --nodeps
13 hostname
14 hostname 122.128.107.85
15 hostname
16 hostname -e
17 hostname -f
18 cd /tmp
19 ls
20 wget -O - http://autoinstall.plesk.com/one-click-installer | sh
21 vi /etc/php.ini
22 vi /usr/share/psa-horde/config
23 cd /usr/share/psa-horde/config
24 ls
25 chmod 755 conf.php
26 vi conf.php
27 vi /etc/sysconfig/selinux
28 cd /usr/local/psa/admin/sbin/mchk
29 /usr/local/psa/admin/sbin/mchk
30 passwd
31 vi /etc/postfix/master.cf
32 /usr/local/psa/admin/sbin/mailmng --reload-service
33 telnet localhost 2025
34 ls
35 cd /
36 ls
37 cd /home
38 l
39 ls
40 cd ftp
41 ls
42 df -lh
43 time
44 date
45 ntpdate time.buaa.edu.cn
46 uname
47 uname -a
48 cal
49 find / -name web_users
50 uname -a
51 dmidecode
52 clear
53 service httpd restart
54 setup
55 ps -ef
56 rpm -qi
57 rpm -qi http
58 rpm -qi httpd
59 cd /home
60 ls
61 mkdir soft
62 ls
63 chmod -R 777 soft
64 ll
65 chmod -R 755 soft
66 ll
67 cd /etc/sysconfig/i18n
68 vim /etc/sysconfig/i18n
69 vim /etc/profile
70 setup
71 clear
72 ls
73 wget http://download.oracle.com/otn-pub/java/jdk/6u32-b05/jdk-6u32-linux-i586-rpm.bin
74 find / -name download-fail-1505220.html
75 cd /root
76 ls
77 rm -rf download-fail-1505220.html
78 ls
79 cd /home
80 ls
81 uname -a
82 cd /
83 ls
84 service vsftpd restart
85 service vsftp restart
86 setup
87 cd /etc
88 ls
89 ./ftp
90 \ftp
91 .\ftp
92 ftp
93 find / -name vsftp
94 cd /
95 find / -name ftp
96 cd /home/ftp
97 ls
98 cd /etc/
99 ls
100 cd init.d
101 ls
102 cd ./init
103 cd ../
104 ls
105 cd init
106 ls
107 cd ../
108 cd init.d/
109 ls
110 find / -name vconf
111 cd /usr/bin/
112 ls
113 cd /
114 clear
115 find / -name apache
116 cd /var/spool/mail/apache
117 ls
118 cd /var/spool
119 ls
120 cd mail/apache
121 find / -name httpd.conf
122 vim /etc/httpd/conf/httpd.conf
123 vim /etc/httpd/conf/
124 cd /etc/httpd/conf/
125 ls
126 vi workers.properties
127 clear
128 cd /usr
129 mkdir java
130 ls
131 ll
132 cd /home/sfot
133 cd /home/soft
134 ls
135 cp jdk-6u32-linux-i586-rpm.bin /usr/java
136 ls
137 cd /usr/java
138 ls
139 chmod a+x jdk-6u32-linux-i586-rpm.bin
140 ./jdk-6u32-linux-i586-rpm.bin
141 cd /etc/
142 cp profile profile_bak_2012-05-13
143 vim profile
144 cd /usr
145 ls
146 mkdir tomcat
147 cd /home/sfot
148 cd /home/soft
149 ls
150 cp apache-tomcat-6.0.35.tar.gz /usr/tomcat/
151 ls
152 cd /usr/tomcat/
153 ls
154 tar -zxvf apache-tomcat-6.0.35.tar.gz
155 ls
156 cd apache-tomcat-6.0.35
157 ls
158 cd conf/
159 ls
160 vim tomcat-users.xml
161 ls
162 cd ../
163 ls
164 cd bin
165 ls
166 cd ./
167 ls
168 cd ./
169 ls
170 cd ../
171 ls
172 cp * /usr/tomcat
173 cp -fta * /usr/tomcat
174 cp -fra * /usr/tomcat
175 ls
176 cd ../
177 ls
178 cd bin
179 ls
180 ./catalina.sh run
181 service httd stop
182 service httpd stop
183 ./startup.sh
184 ls
185 vim startup.sh
186 ps -ef
187 service mysqld stop
188 ps -ef
189 cd /home/soft
190 ls
191 cd /usr/
192 mkdir postgre
193 ls
194 cd /home/soft
195 ls
196 cp postgresql-8.4.6.tar.gz /usr/postgre/
197 cd /usr/postgre/
198 ls
199 tar -zxvf postgresql-8.4.6.tar.gz
200 ls
201 cd postgresql-8.4.6
202 ls
203 cd -fra * ../
204 cd ../
205 ls
206 rm -rf postgresql-8.4.6
207 ls
208 cp postgresql-8.4.6.tar.gz ../
209 ls
210 cd ../
211 ls
212 tar -zxvf postgresql-8.4.6.tar.gz
213 cd postgresql-8.4.6
214 ./configure --prefix=/usr/local/pgsql
215 cd ../
216 ls
217 cd /usr/postgresql
218 ls
219 cd ../
220 rm -rf postgresql
221 tar -zxvf postgresql-8.4.6.tar.gz
222 cd postgresql-8.4.6
223 ls
224 ./configure --prefix=/usr/postgresql
225 yum install gcc
226 ./configure --prefix=/usr/postgresql
227 ./configure --prefix=/usr/postgres
228 ls
229 ./configure --prefix=/usr/postgres
230 yum install readline
231 yum install readline-dev
232 ./configure --prefix=/usr/postgres
233 yum search readline
234 yum -y install -y readline-devel
235 ./configure --prefix=/usr/postgres
236 yum install zlib-devel
237 ./configure --prefix=/usr/postgres
238 ./configure --prefix=/usr/postgresql
239 make
240 ls
241 make
242 make && make install
243 ./configure --prefix=/usr/postgresql
244 make
245 yum install imake*
246 yum install make*
247 ./configure --prefix=/usr/postgresql
248 make
249 make install
250 groupadd postgres
251 useradd - g postgres - d /usr/postgresql postgres
252 useradd -g postgres -d /usr/postgresql postgres
253 mkdir /usr/postgresql/data
254 chown -R postgres.postgres /usr/postgresql
255 vim /etc/profile
256 cat /proc/version
257 df -1
258 uname -a
259 cd /usr/postgresql
260 ls
261 cd data
262 ls
263 cd ../
264 ll
265 su - postgresql
266 su - postgre
267 chown - postgres
268 su - postgres
269 /usr/postgresql/bin/initdb -D /usr/postgresql/data/
270 su - postgres
271 vim /etc/profile
272 su - postgres
273 vim /etc/profile
274 cd /usr/postgresql/data/
275 ls
276 vim postgresql.conf
277 vi pg_hba.conf
278 cd ../
279 ls
280 cd bin
281 ls
282 ./initdb -D $PGDATA
283 su postgres
284 cd /etc/rc.d/init.d/
285 postgres restart
286 su - postgres
287 ps -ef
288 clear
289 ps -ef
290 ls
291 postmaster -i -D/database&
292 su - postgres
293 cd /usr/postgresql/bin
294 ls
295 service postgresql stop
296 cd ./
297 cd ../
298 ls
299 find / -name start-scripts
300 find /usr/postgresql -name start-scripts
301 /usr/postgresql/bin/createdb test_db
302 su - postgres
303 cd /usr/postgresql/data/
304 ls
305 vim pg_hba.conf
306 ps -ef
307 chkconfig --list
308 netstat -ln|grep 8080
309 cd /usr/tomcat/bin
310 ls
311 shutdown.sh
312 cd
313 cd /usr/tomcat/webapps
314 ls
315 rm -rf cmsweb/
316 cd /usr/tomcat/work/Catalina/localhost
317 ls
318 rm -rf cmsweb/
319 netstat -an
320 netstat lan
321 netstat -ln
322 ps -ef
323 ps -ef |grep 8080
324 clear
325 cd /usr/java
326 ls
327 cd /usr/tomcat/
328 ls
329 cd bin
330 ls
331 startup.sh
332 shutdown.sh
333 startup.sh
334 shutdown.sh
335 startup.sh
336 cd /usr/postgresql/data/postgresql.conf
337 vim /usr/postgresql/data/postgresql.conf
338 cd /usr/postgresql/
339 vim data/pg_hba.conf
340 ll
341 cd bin
342 ls
343 serivce postgresql start
344 serivce postgres start
345 ls
346 postgres start
347 postgres stop
348 su - postgres
349 ls
350 top
351 netstat -ln
352 uname -an
353 cd /usr/tomcat/bin
354 ls
355 startup.sh
356 passwd
  启动postgre服务:
supostgres
/usr/postgresql/bin/postgres
  

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-329674-1-1.html 上篇帖子: tomcat 内存大小 下篇帖子: tomcat总结一
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表