VPS重装相关步骤记录

最近本想安装流量监控的,可是不知怎么搞的,vps不正常了,算了,为了今后的稳定,重装算了,现在记录下步骤,以备不时之需。

  第一步,备份数据

  1. 备份旧数据:

  旧数据包括四个目录,/home/ftp, /home/mysql_data, /home/pgsql_data, /home/lum_safe_files

  重装时,只要修改一下名称即可,可以修改成(使用mv命令或者winscp修改目录名称)

  /home/ftp.bak20121010, /home/mysql_data.bak20121010, /home/pgsql_data.bak20121010, /home/lum_safe_files.bak20121010

  mv /home/ftp /home/ftp.bak20131110

  mv /home/mysql_data /home/mysql_data.bak20131110

  mv /home/pgsql_data /home/pgsql_data.bak20131110

  mv /home/lum_safe_files /home/lum_safe_files.bak20131110

  第二步,重装vps的linux系统

  格式化系统盘分区(一般为C盘或/dev/xvda),其它分区数据不受影响

  等待。。。。。。14:26—–14:35

  挂载数据盘:

  首先 fdisk -l 查看是否正常 有没有激活

  df -l 看下有没有挂载

  以上两项应该都为否

  mount /dev/xvdb1 /home

  输入命令 挂载第二块数据盘

  df -l 在看是否成功

  使用 echo “/dev/xvdb1 /home ext4 defaults 0 0” >> /etc/fstab (命令写入新分区信息。 然后使用“cat /etc/fstab”命令查看

VPS重装相关步骤记录

mv /home/ftp /home/ftp.bak20131110

  mv /home/mysql_data /home/mysql_data.bak20131110

  mv /home/pgsql_data /home/pgsql_data.bak20131110

  mv /home/lum_safe_files /home/lum_safe_files.bak20131110

  开始重装面板

  wget http://down.zijidelu.org/zijidelu_install.sh; sh zijidelu_install.sh -y

  重启

  将新的/home/ftp, /home/mysql_data, /home/pgsql_data, /home/lum_safe_files目录修改名称,如

  mv /home/ftp /home/ftp.new20131110

  mv /home/mysql_data /home/mysql_data.new20131110

  mv /home/pgsql_data /home/pgsql_data.new20131110

  mv /home/lum_safe_files /home/lum_safe_files.new20131110

  ——–

  将以前备份的/home/ftp.bak20131110, /home/mysql_data.bak20131110, /home/pgsql_data.bak20131110, /home/lum_safe_files.bak20131110修改成原来的名称,也就是去掉.bak20131110,然后重启lu(lu-restart)

  登陆后台,编辑一下激活,完成就ok

  开始绑定额外IP

差不多就完成了

原文链接:,转发请注明来源!

发表评论

  • 89 Responses to “VPS重装相关步骤记录”
    • Jlmaozc

      eon health insurance obama care health insurance plans - <a href=https://cialisay.com>cialis</a> iwq56k Yxse46m.

      回复
    • canada meds udmsow

      canada med <a href=http://www.canada1drugstore.com/tadalafil/>my canadian pharmacies</a> buy drugs online
      <a href="http://www.canada1drugstore.com/tadalafil/">canada pharmacies</a> liquid viagra

      回复
    • NTug

      <a href=http://bambulapharmacy.com>canadian pharmacy</a>
      http://bambulapharmacy.com

      回复
    • Aomgeqk

      <a href="https://viaprescription.com">viagra price</a>
      <a href=https://viaprescription.com>viagra without doctor prescription</a>

      回复
    • Acdm39c

      <a href="https://viaprescription.com">generic viagra</a>
      <a href=https://viaprescription.com>viagra online</a>

      回复
    • ivermectin and rosacea

      <a href="http://ivermmectin.co/">ivermectin and rosacea</a>

      回复
    • YTug

      <a href=http://canadianvolk.com>mexican pharmacy online</a>
      http://canadianvolk.com

      回复
    • Stituade

      How can you differentiate if you receive diabetes? Most at the crack symptoms are from higher-than-normal levels of glucose, a obliging of sugar, in your blood. The admonition signs can be so mild that you don't notice them <a href=http://withoutprescriptions-rx.com>viagra no prescription</a>. That's exceptionally true of ilk 2 diabetes. Some people don't encounter into public notice they have it until they get problems from long-term bill caused by the disease. With specimen 1 diabetes, the symptoms all things considered happen post-haste, in a situation of days or a scarcely any weeks http://withoutprescriptions-rx.com generic viagra without a doctor prescription. They're much more austere, too.

      回复
    • Eevq94a

      drug index 2016 healthcare website - <a href=https://tadalafilrembo.com>generic cialis online</a> tdryys Lvxvxmm.

      回复
    • Ltyuwun

      cialis effet secondaires <a href="http://ycialisy.com">cialis</a> oklahoma state health department
      how does singulair work for asthma <a href=https://ycialisy.com>cheap cialis</a> lowest effective dose of cialis

      回复
    • OAquab

      es mejor el viagra o el cialis wvpx78 <a href=http://withoutdrvisit.com>generic viagra</a> find doctor near me hiv which of these binds to receptor molecules on the host cell membrane?

      回复
    • Jqczgxo

      walgreens blood pressure monitor is chlamydia a venereal disease - <a href=https://withoutscript.com>viagra generic</a> fyr14w Umedtful.

      回复
    • Ajzu43l

      jrmo70 Lqnnnfem <a href=https://sansordonnancefr.com>levitra 20</a> louisiana department of health vital records usaa health insurance

      回复
    • Uycpwsp

      viagra used treat pulmonary hypertension <a href="http://viagwithoutdr.com">viagra buy online</a> america's top doctors 2014
      first symptoms rheumatoid arthritis <a href=https://viagwithoutdr.com>sildenafil</a> efectos secundarios viagra femenino

      回复
    • Tinder dating site

      tinder date , tider
      <a href=http://tinderdatingsiteus.com/?>tinder app </a>

      回复
    • amstyles.com

      <A HREF=https://amstyles.com/>amstyles.com</A>

      回复
    • Eftyudw

      <a href="https://viagra.withoutvisit.com">viagra online</a>

      回复
    • Datingkal

      https://freedatingsiteall.com
      free dating online,dating site
      self-ruling dating orientation
      <a href=https://freedatingsiteall.com>dating site</a>

      回复
    • Yyvr02y

      niskew and his mother live on 762 dollars a month - this is the allowance the genus receives. A huge share of this money goes to medicines and supplies, the brace to traverse utility bills and food. The lineage has no shekels quest of rehabilitation. The position is a not much rescued by the videos, which are filmed and published sooner than the <a href="https://www.canadianpharmacies-us.com">canadian pharmacies</a> rehabilitation center. You have made your stand pretty clearly!.

      回复
    • where is hydroxychloroquine manufactured

      <A HREF='https://hhydroxychloroquine.com/'>where is hydroxychloroquine manufactured</A>

      回复
    • free cialis sample

      <a href=https://wisig.org/>free cialis sample</a>

      回复
    • vidalista 2.60 mg daily review

      <A HREF=https://vidalista40mg.mlsmalta.com/>vidalista 2.60 mg daily review</A>

      回复
    • Uuhf78r

      <a href="https://www.canadianstayhome.com">canadian online pharmacies</a>

      回复
    • tadalafil and dapoxetine tablet india

      <a href="https://dapoxetine.confrancisyalgomas.com/">tadalafil and dapoxetine tablet india</a>

      回复
    • YflimI

      <a href=https://www.cialiset.com/>cialis generic</a> <a href=https://www.viagragain.com/>viagra</a> <a href=https://www.kamagrap.com/>kamagra online</a>

      回复
    • Udon

      <a href="https://www.canadianmedportal.com">canadian pharmacies</a>

      回复
    • YflimI

      <a href=https://www.cialis20walmart.com/>tadalafil</a> <a href=https://www.viagrage.com/>viagra generic</a> <a href=https://www.finasteridewin.com/>finasteride</a>

      回复
    • vidalista 5mg tab

      <A HREF=https://vidalista.mlsmalta.com/>vidalista 5mg tab</A>

      回复
    • viagra 200 mg for sale

      <a href='http://droga5.net/'>viagra 200 mg for sale</a>

      回复
    • how long does ivermectin take effect

      <a href="https://ivermectin.mlsmalta.com/">how long does ivermectin take effect</a>

      回复
    • hydroxychloroquine clinical trials results

      <a href="https://hydroxychloroquine.mlsmalta.com/">hydroxychloroquine clinical trials results</a>

      回复
    • ivermectin pulled from shelves

      <a href="https://ivermectin.webbfenix.com/">ivermectin pulled from shelves</a>

      回复
    • Durekjag

      Many thanks! Loads of material.
      writing a personal essay for college <a href=https://discountedessays.com/>dissertations online</a> in this dissertation

      回复
    • kamagrap.com

      obama health care reform duke medical school
      <a href=" https://www.kamagrap.com/ ">kamagra 100</a>
      kamagra kaufen frankfurt

      回复
    • BryanoTaide

      Terrific postings. Regards.
      writing literature essays <a href="https://englishessayhelp.com/">writing help</a> best freelance content writing websites

      回复
    • JorgeRoume

      Cheers. I value it!

      Provigil Makes Me Angry
      <a href="https://topmodafinilrxpills.com/#">provigil medication</a>
      Will Provigil Show Up On Drug Screen

      回复
    • Brianmaymn

      This is nicely put. !

      Provigil Kaiser Permanente <a href=https://topmodafinilrxpills.com/>provigil vs nuvigil</a>

      回复
    • hydroxychloroquine coronavirus clinical trial

      <a href='https://hydroxychloroquine.webbfenix.com/'>hydroxychloroquine coronavirus clinical trial</a>

      回复
    • BryaneTaide

      Appreciate it. Loads of posts!
      essay editor service <a href="https://dissertationwritingtops.com/">homework now</a> thesis writing help

      回复
    • BrenoTaide

      Cheers. Numerous knowledge.
      narrative essay college <a href="https://essayssolution.com/">writing services</a> literature review writing service

      回复
    • Durekjag

      Nicely put, Many thanks. essay help writing <a href=https://homeworkcourseworkhelps.com/>online dissertation</a> essay writing service reviews

      回复
    • Direkjag

      Awesome stuff, Cheers. write essay service <a href=https://ouressays.com/>essay writings</a> university thesis

      回复
    • dissertation writing

      Great content. Regards! how to begin college essay https://discountedessays.com speech writing help

      回复
    • BryaneTaide

      Very well voiced truly! !
      how can write essay <a href="https://dissertationwritingtops.com/">write my papers</a> thesis writers services

      回复
    • BrenoTaide

      Seriously plenty of useful information!
      write essay for scholarship <a href="https://definitionessays.com/">doctoral dissertations</a> custom written dissertations

      回复
    • Durekjag

      Kudos. Loads of information.
      help writing essay <a href=https://dissertationwritingtops.com/>resume writing services</a> masteral thesis

      回复
    • BryaneTaide

      You definitely made your point.
      do all colleges require essays <a href="https://essaypromaster.com/">courses work</a> essay paper writing service

      回复
    • Direkjag

      Info clearly applied.. write my essay for me no plagiarism <a href=https://essaypromaster.com/>essays writing service</a> write a dissertation

      回复
    • resume writing services

      You stated it well. essay writers online https://ouressays.com writers services

      回复
    • BrenoTaide

      Very well voiced genuinely. .
      writing a good college essay <a href="https://topswritingservices.com/">writing dissertations</a> best assignment writing service

      回复
    • Durekjag

      Helpful knowledge. Thanks a lot. custom essay order <a href=https://service-essay.com/>research dissertation</a> uni dissertation

      回复
    • BryaneTaide

      Nicely put, Kudos.
      what should a college essay be about <a href="https://paperwritingservicestops.com/">dissertation writing services</a> essay on website

      回复
    • Direkjag

      Amazing lots of excellent advice. cheap law essay writing service <a href=https://service-essay.com/>help in thesis writing</a> academic dissertation

      回复
    • paper writing

      Kudos! A lot of content!
      writing prompts for college essays https://essayhelp-usa.com custom writing bay

      回复
    • BrenoTaide

      Nicely put. Thanks a lot.
      best essay writing website <a href="https://essayextra.com/">writing dissertation</a> me as a writer essay

      回复
    • Durekjag

      Thank you. Quite a lot of data.
      how to write effective essays <a href=https://freeessayfinder.com/>help dissertation</a> dissertation online

      回复
    • EllisHoimi

      Nicely put. Appreciate it! pharmacy technician classes online free <a href="https://canadianpharmaceuticalsrx.com/">canadian pharmacies that ship to us</a> best 10 online canadian pharmacies

      回复
    • DwayneAgoms

      You said that wonderfully. canada drug prices <a href=https://canadianmsnpharmacy.com/>canadian pharmaceuticals online</a> cialis online

      回复
    • BrenoTaide

      You actually suggested that effectively!
      i need to write an essay <a href="https://essayextra.com/">college essay</a> i need help writing a speech

      回复
    • Durekjag

      You said it nicely.. narrative writing essay <a href=https://essayextra.com/>writers help</a> dissertation questionnaire

      回复
    • canada drugs

      Thanks, A good amount of postings.

      回复
    • BryaneTaide

      Useful advice. Thanks.
      how to motivate yourself to write an essay <a href="https://essayextra.com/">essays writer</a> writers wanted

      回复
    • Direkjag

      Wow tons of excellent data! help with essay writing <a href=https://freeessayfinder.com/>writing services</a> dissertation doctor

      回复
    • canada pharmaceuticals

      With thanks. I appreciate this!

      回复
    • EllisHoimi

      With thanks! Quite a lot of material!
      canadian pharmacy online viagra <a href="https://canadianpharmhealth.com/">canadian pharmacy king</a> online pharmacy without prescription

      回复
    • DwayneAgoms

      Excellent material. Many thanks. canadian pharmacy meds <a href=https://canadianonlinepharmacyhere.com/>northwest pharmacy</a> humana online pharmacy

      回复
    • BrenoTaide

      You said it adequately.!
      universal college application essay <a href="https://topswritingservices.com/">thesis help</a> writing help for students

      回复
    • Melihip

      Great material. Many thanks!
      <a href="https://canadianpharmacysaverx.com/">canadian pharmacies</a> best canadian prescription prices

      回复
    • Durekjag

      You said it very well.! professional essay writing <a href=https://theessayswriters.com/>thesis help</a> university of michigan thesis database

      回复
    • Melvihip

      Cheers, Fantastic stuff!
      order prescriptions online without doctor <a href=https://canadianpharmacysaverx.com/>online pharmacies canada</a> online pharmacy busted

      回复
    • BryaneTaide

      Reliable posts. Regards.
      writing literary essays <a href="https://topswritingservices.com/">dissertation examples</a> essays on writing by writers

      回复
    • canadian pharmacies-24h

      You have made your position extremely clearly..

      回复
    • Direkjag

      You said this terrifically! rutgers college essay <a href=https://topessayssites.com/>resume writing service</a> thesis dissertation writing

      回复
    • write my paper

      Truly loads of awesome facts! essay writers online cheap https://englishessayhelp.com essay writing services reviews

      回复
    • Melihip

      With thanks! I value it!
      <a href="https://canadianonlinepharmacyhere.com/">canadian pharmacy meds</a> canadian rx

      回复
    • EllisHoimi

      Wow a good deal of valuable knowledge. prescription cost <a href="https://canadianpharmaciesmsn.com/">best 10 online canadian pharmacies</a> canadian prescriptions online

      回复
    • DwayneAgoms

      This is nicely put! . cheap prescription drugs online <a href=https://cadmedbb.com/>global pharmacy canada</a> medical information online

      回复
    • BrenoTaide

      Point clearly regarded..
      personal statement college essay <a href="https://essaypromaster.com/">help thesis</a> custom essay writing services reviews

      回复
    • Melvihip

      Nicely put. Thanks a lot.
      cvs online pharmacy <a href=https://canadarxdrugservices.com/>canadian pharmacies-24h</a> buying prescription drugs canada

      回复
    • Durekjag

      You said it adequately.! how to write essay for college <a href=https://topswritingservices.com/>help writing paper</a> university theses

      回复
    • Melihip

      Thanks a lot. I enjoy it.
      <a href="https://canadian21health.com/">pharmacy prices</a> canadian pharmaceuticals online reviews

      回复
    • online pharmacy

      Cheers, An abundance of info!

      回复
    • custom writing

      Excellent info. Thanks!

      回复
    • dissertation

      Wonderful material, Thanks a lot! https://definitionessays.com/

      回复
    • essaytyper

      Wonderful postings. Thanks a lot! https://englishessayhelp.com/

      回复
    • dissertation

      Thank you. Ample forum posts.
      https://discountedessays.com/

      回复
    • BryaneTaide

      Reliable write ups. Kudos.
      mit college essays <a href="https://discountedessays.com/">thesis writing help</a> speech writing help

      回复
    • Durekjag

      Effectively voiced certainly! . writing a essay for college <a href=https://englishessayhelp.com/>thesis paper writing</a> mba dissertation writing

      回复
    • Durekjag

      Really tons of fantastic material! read my college essay <a href=https://englishessayhelp.com/>custom paper</a> find a dissertation

      回复