编程序

云主机、VPS 系统重装一键脚本 Ubuntu/Debian等

微信扫一扫,分享到朋友圈

云主机、VPS 系统重装一键脚本 Ubuntu/Debian等
收藏 0 3159

背景:

适用于由GRUB引导的CentOS,Ubuntu,Debian系统.
使用官方发行版去掉模板预装的软件.
同时也可以解决内核版本与软件不兼容的问题。
只要有root权限,还您一个纯净的系统。

注意:
全自动安装默认root密码:Vicer,安装完成后请立即更改密码.
请使用 passwd root 命令更改密码.
特别注意:OpenVZ构架不适用.

需要:
1.Debian/Ubuntu/CentOS 系统(由GRUB引导);
2.wget 用来下载文件,获取公网IP;
3.ip 获取网关,掩码等;
4.sed awk grep 处理文本流;
5.VNC 安装系统(此项为可选)。

========================================

确保安装了所需软件:

#Debian/Ubuntu:
apt-get install -y gawk sed grep

#RedHat/CentOS:
yum install -y gawk sed grep

========================================

如果出现了错误,请运行:
#Debian/Ubuntu:
apt-get update

#RedHat/CentOS:
yum update

========================================

一键下载及使用:

wget --no-check-certificate -qO DebianNET.sh 'https://moeclub.org/attachment/LinuxShell/DebianNET.sh' && chmod a+x DebianNET.sh

Usage:
bash DebianNET.sh -d/--debian [dist-name]
-u/--ubuntu [dist-name]
-v/--ver [32/i386|64/amd64]
--ip-addr/--ip-gate/--ip-mask
-apt/--mirror
-dd/--image
-a/-m

 

========================================

全自动/非全自动示例:
全自动安装:
bash DebianNET.sh -d wheezy -v i386 -a

VNC手动安装:
bash DebianNET.sh -d wheezy -v i386 -m

 

========================================
全自动安装(指定网络参数):

# 将X.X.X.X替换为自己的网络参数.
# --ip-addr :IP Address/IP地址
# --ip-gate :Gateway /网关
# --ip-mask :Netmask /子网掩码
#bash DebianNET.sh -d wheezy -v i386 -a --ip-addr X.X.X.X --ip-mask X.X.X.X --ip-gate X.X.X.X

========================================

使用示例:
【默认】安装Debian 7 x32:

bash DebianNET.sh -d wheezy -v i386

bash DebianNET.sh -d 7 -v 32

安装Debian 8 x64:

bash DebianNET.sh -d jessie -v amd64

bash DebianNET.sh -d 8 -v 64

安装Debian 9 x64:

bash DebianNET.sh -d stretch -v amd64

bash DebianNET.sh -d 9 -v 64

安装Ubuntu 14.04 x64:

bash DebianNET.sh -u trusty -v 64

安装Ubuntu 16.04 x64:

bash DebianNET.sh -u xenial -v 64

安装Ubuntu 18.04 x64:

bash DebianNET.sh -u bionic -v 64

我还没有学会写个人说明!

再次解读javabean/ejb,以及各种POJO/DAO/DTO/PO等

上一篇

最简洁好用的Linux面板AMH面板出双11优惠了!

下一篇

你也可能喜欢

3,159 条评论

  1. After I originally commented I appear to have clicked the -Notify me when new comments are added- checkbox and from now on every time a comment is added I recieve four emails with the exact same comment. Perhaps there is an easy method you can remove me from that service? Cheers! Flossy Kylie Gene

  2. I get very useful information on your page, I feel lucky Lida Sarge Kilar

  3. I am always looking online for ideas that can facilitate me. Thanks! Nara Maynord Thetes

  4. Thanks so much for the blog post. Thanks Again. Great. Aveline Anders Slemmer

  5. I think this is a real great blog. Really looking forward to read more. Keep writing. Yalonda Raff Caryn

  6. Hiya, I am really glad I have found this info. Nowadays bloggers publish only about gossip and internet stuff and this is really frustrating. A good web site with interesting content, that is what I need. Thanks for making this website, and I will be visiting again. Do you do newsletters by email? Deeyn Udall Aldora

  7. I have to get across my love for your generosity for men and women that absolutely need assistance with in this concern. Your real dedication to passing the solution all around was pretty interesting and have regularly allowed many people like me to achieve their targets. This warm and helpful guideline entails a lot a person like me and extremely more to my office workers. Thanks a lot; from each one of us. Mariam Bone Vivyanne

  8. Great site. Lots of useful information here. I am sending it to a few pals ans also sharing in delicious. And certainly, thank you on your sweat! Mireielle Jethro Sheeree

  9. Congrats on a strong run and an age group rank! I always think recovery time is a great indicator of overall endurance. The speed will come back quickly. The endurance is the hardest part. Mae Barney Dagall

  10. Favorite Hymn has always been The Old Rugged Cross! Trude Shae Ballman

  11. You completed various fine points there. I did a search on the subject and found nearly all folks will consent with your blog. Ermengarde Lionel Casilda

  12. Whoever wrote this, you know how to make a good article. Louise Dickie Valaree

  13. Hi! Thanks for sharing your experience! When was this video posted? Im curious to know if you have any updates since then? Scarlet Esra Hardner

  14. ChewiGems or similar chew toys for antsy children from whatever cause. Check the website and then see all the other brands and variety of shapes, sizes and densities. Eloisa Walker Yelich

  15. I enjoy reading through a post that can make men and women think. Also, many thanks for allowing me to comment. Rina Henry Crutcher

  16. very good post, i certainly love this web site, carry on it Maryellen Tammie Thamora

  17. I could not refrain from commenting. Well written! Charis Yank Rexana

  18. I feel that you are right Matt. You actually debunked WAP. Maurise Lutero Dearr

  19. Admiring the constancy you put into your blog and detailed information you provide. Veronica Paulo Bolt

  20. Pahingi po din ako ng 2019 na exam reviewer this coming August. Thank you! Godbless! Mariam Jeddy Kaete

  21. Wow, fantastic blog layout! How lengthy have you ever been blogging for? you make running a blog look easy. The full look of your website is magnificent, as well as the content! Romy Alessandro Maurili

  22. well of course, everyone loves to get rich but not everyone would love to do hard work;; Faunie Gonzalo Davita

  23. I visited multiple web pages except the audio quality for audio songs existing at this web site is truly superb.| Ricca Skye Tasia

  24. You completed various nice points there. I did a search on the issue and found the majority of persons will consent with your blog. Mel Dorie Romola

  25. Fusce viverra mattis turpis, nec fermentum felis lobortis ac. Morbi dapibus urna non dolor sagittis, ac bibendum quam dictum. Aliquam placerat, ligula nec accumsan volutpat, libero ipsum egestas lacus, at sagittis dui purus vel dolor. Alene Douglass Peck

  26. Hi! Thanks for sharing your experience! When was this video posted? Im curious to know if you have any updates since then? Datha Cello Crompton

  27. I love looking through a post that can make men and women think. Also, thanks for permitting me to comment. Muriel Marshal Kessel

  28. Excellent article. I am dealing with some of these issues as well.. Tani Rik Yuria

  29. I visited several blogs except the audio quality for audio songs current at this website is in fact marvelous.| Lainey Wiatt Kobylak

  30. I know this web page offers quality depending articles or reviews and other information, is there any other web page which provides such things in quality? Janine King Smith

  31. I got this website from my friend who shared with me on the topic of this web site and at the moment this time I am browsing this web site and reading very informative posts at this time.| Kamilah Wood Langan

  32. Hi there. I discovered your web site by way of Google at the same time as searching for a related matter, your website got here up. It appears to be good. I have bookmarked it in my google bookmarks to visit then. Daisi Jonas Erlandson

  33. Incredible points. Great arguments. Keep up the great work.| Rubie Xerxes Acus

  34. A round of applause for your blog article. Thanks Again. Really Cool. Eugenie Howey Anatole

  35. Hello there. I discovered your site via Google whilst looking for a related topic, your website came up. It appears great. I have bookmarked it in my google bookmarks to visit then. Hyacinthe Rowen Zondra

  36. To be honest, the phenomenon mentioned in your article makes me feel shocked. I have never thought that juding one people whether should be deported can be influence by such tiny external factors. This is so impetious! The judgement did by those biased ctiterions may lead others to lose free even lose life. Max Fransisco Hegyera

  37. At this time I am going away to do my breakfast, later than having my breakfast coming again to read additional news.| Leigh Conn Nath

  38. Yesterday, while I was at work, my sister stole my apple ipad and tested to see if it can survive a 40 foot drop, just so she can be a youtube sensation. My iPad is now destroyed and she has 83 views. I know this is entirely off topic but I had to share it with someone! Rebekkah Maurits Nahama

  39. On each weekend, we all friends together used to watch movie, because fun is also necessary in life. Lynnell Loren Piers

  40. Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point. You clearly know what youre talking about, why waste your intelligence on just posting videos to your site when you could be giving us something informative to read? Jacklin Jamil Chapel

  41. Glad to be one of many visitants on this awful web site : D. Gennie Lindsay Archibaldo Sofie Grace Starbuck

  42. Thank you, I have recently been looking for info approximately this topic for ages and yours is the best I have came upon so far. However, what concerning the bottom line? Are you positive in regards to the source? Sybilla Cammy Gilud

  43. We are a website Online football betting website. Online football website The best football betting website. Online football website The best football betting website. We are a website Online football betting website Online football website The best football betting website. The best football website The best football website Football betting websites are legal, hard to pay, fully paid, how much to play. Can withdraw without real vest Easy to apply, withdraw money quickly with staff to take care of you 24 hours a day. If anyone has a small budget, we have Football betting website, there is no minimum. Web betting football, deposit a minimum of 10 baht, just ten baht can be rich. Complete with great promotions and pleasing for footballers who like to gamble. The steps are simple and easy. Supports both Android and IOS. No problem what tools you use to play. We answer everyone with the best system. Deposit and withdrawal do not have to wait around Unlimited amount How many withdrawals do you want to withdraw? We arranged for us to open the service for over 8 years. So many customers use the service with us trust. 24-hour deposit and withdrawal service. Deposit money is easy, fast, within 5 minutes. Only for you to gamble with your favorite team quickly. If you like betting online football, make real money, bet on mobile phones You can play with our website that has the highest security, fun in every league, every thrilling fun game You can choose to play in any league as you want, including Bundesliga, Premier League, La Liga and many more. Apply easily. Kellsie Georges McRoberts

  44. buy specializing in editorial and corporate photography Ashleigh Oliver Danyluk

  45. Appreciate you sharing, great article post. Really looking forward to read more. Really Great. Catlee Hoyt Lach

  46. buy generic tadalafil online – tadalafil 20 best place to buy tadalafil online reviews

  47. I really like and appreciate your blog post. Really looking forward to read more. Much obliged. Konstance Drugi Burty

  48. propecia vs rogaine – http://finasteridepls.com/ propecia pills

  49. what’s the difference between propecia and finasteride – reddit finasteride finasteride and alcohol

  50. propecia reviews – http://propechl.com/ how long does it take for propecia to work

  51. “I have to thank you for the efforts you have put in penning this website. I’m hoping to see the same high-grade content by you in the future as well. In truth, your creative writing abilities has motivated me to get my very own website now ;)”
    נערות ליווי בתל אביב

  52. “I was very pleased to discover this site. I want to to thank you for your time due to this wonderful read!! I definitely enjoyed every little bit of it and I have you bookmarked to look at new stuff on your site.”
    https://romantik69.co.il/נערות-ליווי-בקיסריה/

  53. “May I just say what a relief to uncover a person that genuinely understands what they are talking about on the net. You actually know how to bring an issue to light and make it important. A lot more people ought to read this and understand this side of your story. I can’t believe you are not more popular since you surely possess the gift.”
    https://romantik69.co.il/נערות-ליווי-באשדוד/

  54. tadalafil online pharmacy – tadalafil 5mg amazon buy generic tadalafil online

  55. “I needed to thank you for this very good read!! I certainly loved every bit of it. I’ve got you book-marked to check out new stuff you postÖ”
    https://romantik69.co.il/

  56. “Hey there! I simply want to offer you a huge thumbs up for your great info you have here on this post. I will be coming back to your website for more soon.”
    https://romantik69.co.il/נערות-ליווי-ברמלה/

  57. “A fascinating discussion is worth comment. I believe that you need to publish more on this subject matter, it might not be a taboo subject but generally people do not speak about these issues. To the next! Cheers!!”
    https://romantik69.co.il/נערות-ליווי-בקיסריה/

  58. “I’m more than happy to uncover this page. I need to to thank you for your time just for this wonderful read!! I definitely liked every little bit of it and i also have you book marked to see new stuff in your web site.”
    https://romantik69.co.il/נערות-ליווי-בהרצליה/

  59. “Good post. I learn something new and challenging on sites I stumbleupon every day. It will always be interesting to read through articles from other authors and practice a little something from other sites.”
    נערות ליווי בבת ים

  60. “Can I just say what a relief to find someone who genuinely understands what they are discussing over the internet. You definitely know how to bring a problem to light and make it important. More and more people should read this and understand this side of the story. I can’t believe you are not more popular given that you surely have the gift.”
    נערות ליווי באשדוד

  61. “Very good article. I definitely appreciate this website. Keep writing!

    נערות ליווי בלוד

  62. “An interesting discussion is definitely worth comment. I do believe that you should publish more about this topic, it might not be a taboo subject but generally folks don’t talk about such subjects. To the next! Cheers!!”
    נערות ליווי בגבעתיים

  63. “You should take part in a contest for one of the best blogs online. I’m going to highly recommend this site!”
    https://romantik69.co.il/נערות-ליווי-בבת-ים/

  64. Dioxxf – Order viagra buy viagra nebraska

  65. Wow, wonderful weblog structure! How long have you been running a blog for?

    you made running a blog glance easy. The overall glance of your website is great,
    as neatly as the content!

  66. Spyjeb – silagra 50 Plwpkt xlppgz

  67. Thiѕ text is worth everyone’s attention. When can I find out more?

    Look іnto my web page – payday loans montel williams

  68. tadacip india pharmacy – buy tadacip online in india buy tadacip from india

  69. celecoxib 100 mg canada – order celebrex celebrex capsule 100 mg

  70. This site really has all of the information and facts I wanted concerning this subject and didn’t
    know who to ask.

  71. ivermectin 0.1 uk – ivermectin 0.1 uk stromectol ivermectin buy

  72. purchase viagra cialis paypal https://asciled.com/ brand cialis online pharmacy

  73. zofran 40 mg – topamax weight loss success nexium drug generic

  74. tadalafil professional 20 mg http://boxtadafil.com/ – tadalafil tadacip cipla sanofi tadalafil

  75. natural viagra foods https://gensitecil.com/ how can i buy viagra

  76. prednisone 2.5 mg cost – where can i buy deltasone prednisone drug

  77. cialis cheapest prices https://cileve.com/ cialis purchase online

  78. levitra professional 20 mg https://uslevitraanna.com/ cialis vs viagra vs levitra

  79. price for viagra in canada – viproff viagra price in us

  80. buy usa viagra online – viagra 50mg generic viagra for sale in canada

  81. Cheap prescription drugs online pharmacies near me canadian pharmacy drugs online

  82. This is really interesting, You are an overly professional blogger.
    I’ve joined your feed and stay up for looking for extra of your fantastic post.
    Additionally, I’ve shared your site in my social networks

  83. canadian online pharmacy reviews http://uspharmus.com/ Clozaril

  84. cost of topamax 300 mg – topamax 200 mg weight loss nexium over the counter uk

  85. research cialis http://asciled.com/ – cialis with dapoxetine overnite discount cialis from india

  86. ivermectin buy uk – purchase ivermectin oral ivermectin cost

  87. generic stromectol – ivermectin tablet 1mg cost of ivermectin pill

  88. generic cialis black 800 mg http://cileve.com/ cialis vs viagra vs levitra

  89. generic cipla cialis http://ucialisdas.com/ on line cialis

  90. watermelon rind viagra https://loxviagra.com/ best viagra alternatives

  91. Whats up are using WordPress for your blog
    platform? I’m new to the blog world but I’m trying to get started and
    set up my own. Do you require any html coding knowledge to make your own blog?
    Any help would be greatly appreciated!

  92. Awesome website you have here but I was curious if you knew of any community
    forums that cover the same topics talked about in this article?

    I’d really love to be a part of group where I can get feedback from other knowledgeable people
    that share the same interest. If you have any suggestions, please let me know.
    Thanks!

  93. tinder sign up , how to use tinder
    tinder app

  94. cialis online mastecard http://rcialisgl.com/ order cialis online nb canada

  95. Cilt lekeleri, cilt tonu farklılıkları leke kremi gibi cildinizde oluşan herhangi bir leke için
    Hccare leke kremini deneyebilirsiniz iddalı bir marka olan bu firmanın tüm ürünleri güvenilir olduğu gibi leke kremi de güvenlidir.

    Leke kremi ; https://rebrand.ly/lekekremi

  96. Instagram takipçi satın alarak profilini büyütebilir, sonrasında hiç birşey
    yapmadan kişilerin seni beğenmesine hazırmısın?
    O halde hemen instagram takipçi satın al sitemizi ziyaret et, paketini 1000, 2000,
    10.000 gibi seçeneklerden birini seç ister Türk takipçi istersen yabancı

    instagram takipçi satın al için hemen sitemizi ziyaret et

  97. This is the right website for anybody who wishes to understand this
    topic. You know a whole lot its almost hard to argue with you (not that I really
    would want to…HaHa). You definitely put a brand new spin on a
    topic which has been written about for ages. Excellent stuff, just great!

  98. Antabuse http://xlnpharmacy.com/ cross border pharmacy canada

  99. Hi, I do believe this is an excellent site. I stumbledupon it ;
    ) I’m going to return once again since i have book marked it.
    Money and freedom is the best way to change, may you be rich and continue to help others.

  100. stromectol ivermectin tablets – cost for ivermectin 3mg stromectol pills

  101. cheapest pharmacy to fill prescriptions with insurance Luvox Tadora

  102. viagra on the black market http://llviagra.com/ – compare viagra vs levitra comprar viagra valencia en mano

  103. inexpensive real cialis http://cialisee.com/ generis cialis online overnight delivery

  104. ivermectin usa – ivermectin for people buy ivermectin cream

  105. Instagram da Takipçi Satın Alarak Ek Gelir Sağlayabilirsin!

    İnstagram hesapları hem de önemli birer gelir kapısıdır.

    Özellikle reklam gelirleri biroldukça hesap sahibi
    için ek gelir oluşturmaktadır.
    şayet hesaplarınızda reklam alabilmek yahut Instagram üzerinden birşeyler satarak para kazanmaksa hedefiniz
    Türk gerçek takipçi paketlerini tercih etmelisiniz.

    Şayet bot yada bota benzer instagram takipçi satın alırsanız
    bunu gören hiç bir müşteri kitlesi size güvenmeyecektir.

    Hatta şunuda söylemekte fayda varki sizi takip etmek dahi
    istemeyebilirler. Bu sebepten sizleri kalitenin adresi olan takip201 e davet ediyoruz.

    En iyi Instagram takipçi satın alınabilir site.

    https://cutt.ly/instagramtakipcisatinal

  106. cialis message board https://ucialisdas.com/ cialis buy online

  107. Simply want to say your article is as amazing.
    The clearness to your publish is just cool and i can suppose you are knowledgeable in this
    subject. Fine together with your permission allow me to seize your feed to keep
    up to date with impending post. Thanks one million and please continue the enjoyable work.

  108. does viagra increase blood pressure http://jokviagra.com/ over the counter female viagra

  109. natural viagra foods http://loxviagra.com/ what does female viagra do

  110. plavix 150 mg – plavix generic available plavix 75mg cost

  111. cialis online pharmacy https://rcialisgl.com/ – price of cialis at walgreens cialis professional review

  112. top online pharmacy india drug store news ce pharmacy drug store

  113. is generic viagra dangerous http://llviagra.com/ – achat de viagra pas cher sleep on viagra

  114. top 10 pharmacies in india http://pharmacylo.com/ best online pet pharmacy

  115. does insurance cover ed pills – best price on ed pills how to get rid of ed without pills

  116. orignal cialis http://ucialisdas.com/ cialis side effects women

  117. I do believe all the concepts you have introduced on your
    post. They are very convincing and will definitely work.

    Still, the posts are too short for novices. Could you please lengthen them a bit from next time?
    Thanks for the post.

  118. Instagram takipçi satın almanın hesaba etkileri

    Instagram hesabının öncelikle doğal yollar ile de büyüyeceğini bilmek gerekir;
    ancak doğal yollar, daha fazla emek ve zaman ister bu neden ile instagram takipçi satın al hizmetine başvurulur.
    Doğal yollar arasında düzenli paylaşımlar, hashtag kullanımı ve o an ki moda olan paylaşımların ölçütlerine göre gönderiler yayınlamak yer alır.

    Takipçi satın alındıktan sonra da yapılması gereken işler arasında bulunur.

    Güvenilir takipçi satın alma ile hesaba doğal şekilde takipçiler gelir
    ve hesap büyür. Takipçi olarak gelen gerçek
    ve aktif kullanıcılar da için paylaşımları beğenir
    ve yorum yapar. Beğeni ve olumlu yorumların fazla olması da sayfanın popülaritesinin artmasını sağlar ve hesap, üst sıralarda yerleşir.
    Instagram uygulamasında hashtag kullanımı da önem
    taşır. Hashtag konusuna göre gönderiler yapıldığında yeni takipçiler sayfaya gelir.
    Takip2018 den hemen

    instagram takipçi satın al popüler
    ol

  119. viagra kopen rotterdam – waar wordt sildenafil van gemaakt sildenafil hoe te gebruiken

  120. buy generic cialis generic cialis http://rcialisgl.com/ – buy cialis online free shipping cialis 20 mg

  121. does viagra make you harder https://jokviagra.com/ – 200mg viagra viagra doses

  122. viagra walgreens http://loxviagra.com/ – viagra com coupon viagra dose

  123. precio viagra – genericos de viagra comprar viagra barcelona

  124. HC Vitamin-C Serum, özel olarak geliştirilmiş yüksek stabilite özelliğine sahip Lipozomal Vitamin-C kompleksi ve en ileri düzeyde konsantre edilmiş saf Hyaluronik Asit ile formülize edilen yoğun bakım
    serumudur.

    Liposomal C Vitamini Serumu , Saf Hyalüronik
    Asit, Yeniden Diriliş Bitkisi (Glyceryl Glucoside),
    Pentavitin (Saccharide Isomerate) ve Anadenanthera Colubrina Bark Extract
    içeren formülü ile ciltte oluşabilecek lekeleri minimuma indirmeye
    ve kırışıklıkları önlemeye yardımcı olur.
    Çevresel faktörlere karşı etkili korumayı destekler.
    Yoğun nemlendirici ve tazeleyici özelliği sayesinde
    cildin sıkılığını arttırır ve aydınlanmasını destekler.
    Ciltteki ton eşitsizliklerine karşı mücadele eder.

    Kozmetik piyasasında bulunan C vitamini serumu bir çoğunda Askorbik Asit’in stabil olmayan %15’lük formu kullanılmaktadır.
    Bu ürünler stabil olmadıklarından zamanla okside olur, rengi koyulaşır ve doğal olarak da zamanla etkinliğini kaybeder.

    HC Vitamin-C Serum içerisinde stabil formda ve lipozomal kapsül şeklinde %3′ lük Etil Askorbik Asit kullanılmıştır.

    Lipozomal taşıyıcı sistemler, hedef noktaya aktif maddeyi taşımak için geliştirilen üst düzey teknolojidir.
    Ürün içindeki aktif madde (C VİTAMİNİ) cilt altına indikten sonra çözülür
    ve daha kısa sürede maksimum etki gösterir.

    Bu sayede hem uzun raf ömrü boyunca stabilitesini kaybetmeden etkisini sürdürür,
    hem de etkisi diğer formlara göre çok daha başarılıdır.

    c vitamini serumu

  125. totally free sugar daddy dating site
    free sex dating websites

  126. pharmacie canadienne reliable rx pharmacy pharmacy without dr prescriptions