diff --git a/README.md b/README.md index be33362..c16aa5f 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,20 @@ Scripts that I use to configure my servers. $ centos65stack.sh
Made for CentOS 6.5. This installs Apache, MySQL, MPM-ITK, Varnish, and PHP. This secures MySQL, creates a user/pass for single domain, creates virtual host entries and folders for one domain. You will be asked for the variables upon running the script. +$ installopenvz-cent6.sh
+Installs OpenVZ and downloads all templates on CentOS 6. Run this, reboot when it asks you to. Done. + $ vzup.sh
Immature version of an OpenVZ container creation script, thrown together at a moment's notice. Needs some love. $ centos7lamp.sh
A very flawed LAMP config for CentOS 7. Apache 2.4 and PHP 5.6. This would be better renamed to "slowly_oom_your_box.sh" if you catch my drift. Apache consumes memory to no end, with no provocation, in this particular recipe. + +$ block_user_agents
+This consists of bots that ignore robots.txt and user agents that frequently probed for script vulnerabilities. This is no longer maintained and will not be updated. + +$ b2_client_install.sh
+Installs Backblaze B2 client on CentOS 6/7 + +$ heloblocks
+List of connections blocked by HELO statement on MXroute servers due to excessive spam diff --git a/b2_client_install.sh b/b2_client_install.sh new file mode 100644 index 0000000..dfd87b1 --- /dev/null +++ b/b2_client_install.sh @@ -0,0 +1,11 @@ +# Installs B2 client on CentOS 6/7 + +yum install gcc sqlite-devel -y +cd /usr/src +wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tgz +tar xzf Python-3.6.1.tgz +cd Python-3.6.1 +./configure --enable-loadable-sqlite-extensions +make altinstall +pip3.6 install --upgrade pip +pip3.6 install --upgrade b2 diff --git a/bumpserial.sh b/bumpserial.sh new file mode 100644 index 0000000..5cad2e9 --- /dev/null +++ b/bumpserial.sh @@ -0,0 +1,5 @@ +# Update serial numbers for all zone files on my cPanel servers +# The "2015080709" should be replaced as needed. It's year+month+day+revision + +sed -i 's/20[0-9][0-9]\{7\}/2015080709/g' /var/named/*.db +rndc reload diff --git a/centos7lamp.sh b/centos7lamp.sh index 58378e5..e613d15 100644 --- a/centos7lamp.sh +++ b/centos7lamp.sh @@ -2,6 +2,8 @@ # # CentOS 7 x86_64 LAMP Stack +# This recipe is guaranteed to run you OOM in 12-24 hours. Maybe don't use it. + ## Root? ############ if [ "x$(id -u)" != 'x0' ]; then diff --git a/heloblocks b/heloblocks new file mode 100644 index 0000000..0f56136 --- /dev/null +++ b/heloblocks @@ -0,0 +1,263 @@ +static.vnpt.vn +startcache1.nmsrv.com +ownership.followedhairgrowt.us +server.cwptemplate.com +limit.acumb.us +enolduna.date +probable.havingasolarpower.us +dennis.braints.us +effect.uruce.us +cardinalbands.com +calillac.com +dancealohaball.com +saenyx.date +sprinkle.lifeinsuranceaccept.us +moment.wrouf.us +cakehollywood.com +hmmc.com +mail.12988.cn +primewealth.com.hk +finemanrealty.com +embrace.delte.us +picagel.date +pictures.deeta.us +carolsilversteinrealestate.com +merwarp.date +yapcwm.date +susaflew.bid +conductor.aalvo.us +napqaid.date +fitzrum.date +yauparid.bid +kenncio.bid +notation.guely.us +shopped.poutt.us +vulnerable.kilyp.us +result.dolug.us +adsl.viettel.vn +geltil.date +subdued.heawd.us +response.evaid.us +winning.vitce.us +photmsgr.bid +qq.com +dewware.bid +illyband.bid +hosting.subulussalamkota.go.id +justsear.date +trioterr.date +host.convertbookings.com +trioterr.win +startcache1.nmsrv.com +static.vnpt.vn +module.irovy.us +supply.cypet.us +property.hunov.us +curry.suddennerverenewsly.us +death.shallwrinklesthough.us +apology.chatlatinabeauty.us +above.shedheartattack.us +distribution.claimworkingfromhome.us +plaster.findsinglesonlinesome.us +trial.homesolartown.us +grief.ineat.us +plantation.itfoodtrickusually.us +quick.procedurecurehairloss.us +review.iraff.us +servant.dreer.us +streamer.anotherhealthinfo.us +apology.chatlatinabeauty.us +clue.stopnervepainexactly.us +concert.thosebathroomhabit.us +forum.ivyreducedarkspot.us +mania.kread.us +popular.thenfindsinglesprofile.us +regular.mnead.us +republic.completelyrenewnerve.us +sinner.eucks.us +enter.requiredendnervepain.us +level.brainpowerdescription.us +lover.otict.us +topic.eveit.us +trade.tobathroomhabit.us +troop.reasonhearthealth.us +above.shedheartattack.us +agility.togetherhearthealth.us +boat.cureheartattackread.us +challenge.boofl.us +distribution.claimworkingfromhome.us +fluent.pickedlifeinsurance.us +plaster.findsinglesonlinesome.us +process.workfromhomeallow.us +reform.rettn.us +said.diabetescurebe.us +scanner.antiagingsolutionnoted.us +script.youngcurediabetes.us +stone.forcurediabeteslist.us +trial.homesolartown.us +wisdom.throughmindenhancer.us +powder.askingpersonalrecords.us +storm.hisiorim.us +computation.mypersonalinfochosen.us +artist.joree.us +listen.avilk.us +mybestore.com +drive.collitch.us +grief.ineat.us +gladness.gattp.us +bother.eltor.us +play.frarf.us +change.lyrop.us +similarity.pyror.us +grand.vilew.us +polo-saler-good.top +letters.gheau.us +average.sriln.us +achieve.prawt.us +subjective.aprex.us +wire.atres.us +backward.arday.us +arrival.witaw.us +gladness.gattp.us +sail.espha.us +magnify.slell.us +bother.eltor.us +dealer.lildt.us +symphony.fearf.us +yellow.obtic.us +anytime.erher.us +atomic.irric.us +mundane.oceth.us +reply.orbly.us +voucher.axint.us +founder.agght.us +profile.idlar.us +senses.wancl.us +notice.urinh.us +play.frarf.us +tandem.fdity.us +already.sulds.us +appliedin.com +change.lyrop.us +humility.wrewn.us +numeral.edign.us +similarity.pyror.us +chart.syray.us +transport.rharu.us +colony.utarf.us +debris.enutu.us +grand.vilew.us +normal.hityl.us +ocean.untto.us +suffer.wrebe.us +supreme.urelm.us +towards.rharl.us +transmission.knalk.us +valley.nulav.us +wilderness.duthm.us +blemish.chree.us +denture.deurt.us +invite.sphoi.us +potential.httie.us +polo-saler-good.top +mx1.protecteddomainservices.com +ceres.calderge.us +beautiful.aamic.us +cairolakeshotel.com +heels-promotion.top +peace.canprotein.bid +forward.twinx.us +mbw-a.com +src10.generationaldivide.bid +src8.generalcabbage.bid +srccode6.gemstonesavings.bid +waiter.sverd.us +dimension.wheaf.us +news.unrer.top +dainty.jkeit.top +hide.lroit.top +indigo.orlie.us +mind.rhorm.top +panicky.fordt.us +sacrifice.yaryx.top +significant.gnoty.us +src7.generalautomatic.bid +warranty.photh.top +blindhonesty.com +upyourinternet.com +cp.cpan.com +greyskiestactical.com +sinhviennonglam.com +gate.factotech.us +slopyond.faith +alharamainhospital.com +address.gueam.us +envirova.com +alliance-evenement.com +devices.rhicy.us +stage.lliog.us +sessionsusa.com +colony.clonn.us +collide.ymide.us +gown.loily.us +battery.mceal.us +compress.jacae.us +original.rioul.us +speak.slagm.us +converse.ileck.us +ip212.208-117-11.static.steadfastdns.net +knowledge.parew.us +roaster.rrunk.us +though.iontz.us +school.veink.us +omnesys.com +shape.zhuoyidz.bid +tedious.applecnv.club +tile.ximour.bid +windmill.yansunny.bid +writing.hsymbol.us +hsstmg21.yyymobi.com +interruption.protectbathroomhabitgreat.us +anything.viberub.bid +codster.website +cope.alepakos.bid +future.zfcolour.bid +mass.aliplex.bid +orange.tuneward.bid +simi.dinashcanf.us +sioux.wharficoast.us +8morningq.stream +coconut.bgfinans.bid +limit.advancesst.bid +long.dunediant.us +oostdak.website +wasptit.loan +demands.ycurb.us +escarpmentvangaurdzambia.com +covina.quallersen.us +lackskt.website +sidding.website +aidcate.website +0ihealth.stream +redfilm.website +2vstudent.stream +3researchr.stream +bend.strubitety.us +6timesee.men +pipejouk.website +aranjazz.website +elastic.callsmiley.club +bokocome.website +gloomy.carscrashes.club +files.privacydatasystems.com +gloves.dearwin.bid +side.wnxsjmm.bid +polo-autom-pro.top +facial.blogginghosting.bid +frequency.casinitiatives.club +turbo.yogamoxy.club +brand.uhuacha.club +coincidence.wqaindia.bid +emotions.yyccseuu.club +scanner.wohnboot.bid +wilder.appliancedigital.bid diff --git a/installopenvz-cent6.sh b/installopenvz-cent6.sh index ec0ade9..dd7cdce 100644 --- a/installopenvz-cent6.sh +++ b/installopenvz-cent6.sh @@ -17,12 +17,9 @@ sysctl -p sed -i 's/NEIGHBOUR_DEVS=detect/NEIGHBOUR_DEVS=all/g' /etc/vz/vz.conf sed -i 's/SELINUX=enabled/SELINUX=disabled/g' /etc/sysconfig/selinux sed -i 's/1/0/g' /etc/modprobe.d/openvz.conf -cd /vz/template/cache -wget http://download.openvz.org/template/precreated/centos-6-x86_64.tar.gz -wget http://download.openvz.org/template/precreated/ubuntu-14.04-x86_64.tar.gz ntpdate -u us.pool.ntp.org chkconfig ntpd on iptables -F FORWARD -iptables -F INPUT -iptables -F OUTPUT /etc/init.d/iptables save +for i in $(vztmpl-dl --list-all); do vztmpl-dl $i; done +echo -e "\n\nFinished installing. Reboot and you'll be ready to go! \n"