This repository contains an automated Bash script that installs all required dependencies and sets up the environment for running a Qubic node on a fresh Linux server.
Current version: 1.0.1
Note: The script uses files from epoch 172 of the mainnet, except for the spectrum file which is custom.
⚠️ This version is optimized for testing and development. Not recommended for production environments.
- Operating System: Ubuntu 22.04 (clean install)
- Storage: At least 50 GB of free disk space
- Memory (RAM): 64 GB or more
- Permissions: Must be run as root
- Creates working directories
- Downloads and extracts necessary archives
- Installs required software packages and libraries
- Installs Docker and Docker Compose
- Installs VirtualBox and Extension Pack
- Clones necessary Qubic repositories
- Builds
qubic-cliandqloggingfrom source - Copies configuration files
- Patches IP addresses in Docker configs
- Makes scripts executable
# Clone the repository
git clone https://github.com/KavataK/qubic-node-setup.git
cd qubic-node-setup
# Run the install script as root
sudo bash install.shTo update an already installed server to the latest version:
cd /root
curl -fsSL https://raw.githubusercontent.com/KavataK/qubic-node-setup/main/update.sh -o update.sh
bash update.shNotes:
- The updater is cumulative and idempotent. Servers on older versions will fetch all required files to reach the latest version.
- You can force reapplying the same version:
bash update.sh --forceTo deploy a test network, run the following commands:
cd /root/qubic/qubic_docker
# Example: ./deploy.sh https://github.com/qubic/core/tree/testnets/release-254
./deploy.sh {your link to the GitHub repository}
⚠️ The network will only deploy if the commit is added.
To redeploy the network, first clean up the running network:
./cleanup.shAfter cleanup, you can use the deploy.sh script again to deploy a new network.
- Place current epoch files into
/root/qubic/filesForVHDMN/
- Put the latest
universe.XXX,spectrum.XXX, and contract files (e.g.,contract0000.XXX,contract0001.XXX, ...).
- Provide public peers in
peersMN.txt
- Edit
/root/qubic/qubic-efi-cross-build/peersMN.txtand add IPs from the live network page: app.qubic.li/network/live. Remove any placeholder/header lines.
- Provide seeds (optional)
- Put seeds in
/root/qubic/qubic-efi-cross-build/seedsMN.txt(one per line).
- Run mainnet deployment
cd /root/qubic/qubic_docker
./deploy.sh https://github.com/qubic/coreFor a version tailored specifically for hackathons, use the hackathon branch:
git clone -b hackathon https://github.com/KavataK/qubic-node-setup.git
cd qubic-node-setup
sudo bash install.shSeeds with funds:
10х100bln qus
gtfgjhtoxcddbxrydatevcmildkmqeiezwgztpwseihqhqxmoamxfak
ytcltfdvfjvskmarrjxloxkjrwtbjbepzjphowjfszldyjscrmztmor
ahbpfnqltlotcyyaljwjouoheepykysdsokuazxlwecrwkuesxhahrx
ouyxwcntrhdkmqrjvvpuhpakdjtvcmwihaezumfqkdlhfdfpwxkhttf
nqgjkedtrfrvjessgckewozmjyvzzqkpblzbkistgimvtsdqezykpfh
otdnmvfolpdmchvtlqxviekibqtmngecsabuuhlseqwjzouevdniwft
ulprhzbvzxvpkcigfdiqghrjrcarowfkviwnyciwrcykbhrpjxomvlt
mziquwzssfckwvhusrvqowtoljeulqalnzlrvovhbemikzrowxoeaig
orxlpszaoguhglnkclcqnkvfzhqzzjnuisfvkwwuztkhqpwauexemdy
iaobrqjfipbwancelebhkjhksghalrbovgfnrrejpvpblmchsliscqw
10x50bln qus
slmvcerjvoncdlluydvilhuddusewxgoshuhgwelljzjykfllywlhon
jaceqhnbufbcyoninbynpmglseulbuabscdrqttdwlflirpxnhnknpz
pyvsehwfkqwihkhynsqggnewzbuiheoqaozlxdosmvcoayaauyrqtuu
ughdrtzbfhqhmzsnoxvalppxbgmbfazcgvocacdkfrwnolzvrzqzbny
krmnalawaxnhqvruzumckiefwbelpbvsyivvprfmsnhyfdwgxxvjsfr
uggcbsmkggyynepudfecjnuhmrguihspdcojltjgvkcowtrviatzajv
gmcccpxjvdfqlanaekolzxqstbdnvxurvfzxvqrsyjjcotmdsjrkomc
kxpsjbvgaahjzltbnqdhehzdinicvxnvvutliqifadbiyqldgayhfzy
hluajlytdqztjtefcbzcwkrdaopvaaaruaexfcnptuolussvepekjbx
vyvymjcxxstbzthfflpsgjvgjlbxrctmorynuelhnwkghuwxmbszdqf
30x20bln qus
ajobheaecrimndbvamokhdgdnjncmghbweiiygxltzjvmygzzdpcjls
wlwqwbwwqycpfxrpqijexjxarmplfjexvxejuhmsmoknhaurnidfhdn
arvcleojlesnkrfxaclxdbebyuooscjgpugivjovovqquhsvlrlczau
uttkvcscihmpbugpyimindvhgbphoftnbgqloeewsiddbbmybokfrbj
ilfysrosmdeqxeexvaaykoabogngebzjpcrytghqosorrcqdpckueiw
syzhqplcrpduitgopmtzjjpasxyzvacruosmztplukmdrbkyepljcev
kbertedhbrttsxnrdonslcxexjqmyziyuhairmvqddahhihftntteek
glfneriumdnnthyqahxiehatoxpvtmspmbkshysuhgvoqgijvbkvghq
shkbsozazkgnkbmpidafxnnppxwearqhsdnbfvnyexiyyxsorlsspeu
kyxliechhheapklpywhozyuxemovxpldwlgmgfxtugxmmaucvvurhmo
vluuhkrdfzrntmfagjwllcrsqxebhqhkilrgmcgqepkgutmfipspqcy
kclgtseibylaqmvphbyoyaxfwyiwwkxgdhoxcfvzjbwmzqyomxqsurn
ypgqvydndxunaaalfuwesrdixzhtsmffrrfjyplvgomiinqrpadmkan
zkapkcrymskbwoeadbydbhfzxrxxetxtngyawtaexjyrwimgcsshmfq
cothzmwfilwfiaulduoqaeydjrfkaythkjuxicobzpkyeqtyfrbmlsu
fyoudnjucgqcwycbnprinbpadfyoqdgqnfnfkgvbslxmjllyqcgjeur
fwfizoclxzpzwjcvxlezmahylvaptuitiqjpfaxodfhzpvgntewkbly
bmtzadjewzygphnwevsubamujtujvwezefozisfqwmrqmwmjttjnyis
zzbooznrtdohoibtdqbssgdkzypzbqdcxpwiwjedkrqmwhuadllfhbr
oeonabxsnxcwenutwqrpnjtbrmfuafimiwcotresqfrgnzlasvlzvxg
gpjknabsmurmoebjlexdxitohnrttdlblvyimphvskmcstbpqeddexs
vvqvnsxllskksyaonlhuwsrilpxxffgdftynuictvklyrcnwzpjrvft
iulkoaotegjwuwkoeznzptcbcwlxochcefludunbmbbgpyetnsxzsec
bwlflypmycehaeyhhzdtoluuotuhisbenryaensldkadgstmttjgwep
lmvtwxhanknjkungrqkrsxdcinltipioqfalumviacpnffelvjijzbj
tncfnabhlhonmapqoponljskargrtdtxtgaazlwytibbpsinrinmsjp
gilmkaiizpmqpinljrnhdtepzrmvwjdfxswihhwqmbjxqelymwyfary
mrgpekwtzbverjpokwilzaslvydxisvvbrcrzoqckheuldykdinlwvy
qhvplvdwakvggvmdlyrdkmjkrvtuwegnfkwvvvjdlcmtexrawisbeze
cineyqynjwalyadoqonozxfctnwyfsjnvwdcndhlrseiiqbhhcowudu