Common command

xiaoxiao2021-03-06  68

Backup TAR -ZCVF QQ.TGZ QQ

Ending CHMOD -R 777 / HOME / JSP / QQ

Export table data mysqldump -uroot -p [database] [Table]> filename.sql

Import data mysql -uroot [database] [TABLE]

Connect remote database mysql -h [hostname] -uroot -p

Plus field ALTER TABLE PUSH ADD Column LastSeeip Varchar (23) Default ';

FTPALL user name file list can pass 91 files to several other servers

View file line number single word number number [root @ bj fentid] # wc mail.log 6659 19977 172762 mail.log

View Table Status Show Table Status from DB_USER LIKE 'Online_User';

Restart Apache [Root @ bj logs] # apachectl stop [root @ bj logs] # apachectl stophttpd (no pid file) not running [root @ bj logs] # apachectl stophttpd (no pid file) not running [root @ bj logs] # apachectl start (98) address already in use: make_sock: could not bind to address 202.108.xxx.xxx:80no listening sockets available, shutting downUnable to open logs [root @ bj logs] # pkill -9 httpd [root @ bj logs] # Apachectl Start

转载请注明原文地址:https://www.9cbs.com/read-108377.html

New Post(0)