Oracle VirtualBox, vmware


VMware ESXi asosida virtual mashinalarning bepul zaxira nusxasi


Download 369.79 Kb.
bet8/8
Sana18.12.2022
Hajmi369.79 Kb.
#1028922
1   2   3   4   5   6   7   8
Bog'liq
Mustaqil ishi 2

VMware ESXi asosida virtual mashinalarning bepul zaxira nusxasi
Uchun VMware ESXi savol zaxira virtual mashinalar ayniqsa o'tkir. Qo'shimcha bepul dasturiy imkoniyat cheklangan funktsiyalar tufayli foydalanish uchun noqulaydir. Shuning uchun bizning zaxira bepul skript asosida bo'ladi - gettoVCB ... Bu mavjud skriptlarning eng yaxshi versiyasi, garchi u juda kulgili ismga ega va umuman butun loyiha - www.virtuallyghetto.com, muallif Uilyam lam... Uning algoritmi - suratni yaratish va VM-ni klonlash.
To'liq huquqli zaxira sxemasini o'rnatish uchun bizga kerak:

  • NFSfayllarni saqlash uchun server;

  • tomonidan ulanish SSH ESXi-ga;

  • skript gettoVCB.sh ESXi serveriga qo'shilgan (kelajakdagi zaxira nusxasi yoki papkasida). Bu orqali amalga oshiriladi SFTPsiz uchun qulay bo'lgan har qanday usulda, masalan, FileZilla;

  • nusxa ko'chirilgan skriptni ijro etish huquqini berish;

Endi keling, har bir fikrga batafsilroq to'xtalib o'tamiz. Fayl / zaxira serverining ishlashi va xatolariga chidamliligi uchun RAID10-dan foydalanish yaxshiroqdir. Bu holatda Linux OS (Debian, Ubuntu, "sizga qulay") va fayl tizimi afzal ko'riladi XFSberi ushbu konfiguratsiyada yozish tezligi (tez zaxiralashning asosiy ustuvorligi) yuqoriroq bo'ladi.
Foydalanilgan Internet resurslari.

    1. https:// mega.co.nz.

    2. https://mega.nz/blog/mega-announces-plans-to-be-listed-on-the-new-zeala

    3. https://www.nbr.co.nz/opinion/kim-dotcom-turns-mega-and-ceo-responds-savaging

    4. https:// mega.co.nz.

    5. https://mega.nz/blog/mega-announces-plans-to-be-listed-on-the-new-zeala

    6. https://www.nbr.co.nz/opinion/kim-dotcom-turns-mega-and-ceo-responds-savaging

    7. https://mega.nz/help/client/webclient/security-and-privacy#how-does-the-encryption-work-57672896886688a70c8b45ad



    1. https:// mega.co.nz.

    2. https://mega.nz/blog/mega-announces-plans-to-be-listed-on-the-new-zeala

    3. https://www.nbr.co.nz/opinion/kim-dotcom-turns-mega-and-ceo-responds-savaging

    4. https://mega.nz/help/client/webclient/security-and-privacy#how-does-the-encryption-work-57672896886688a70c8b45ad

    5. https://mega.nz/help/client/webclient/security-and-privacy#how-does-the-encryption-work-57672896886688a70c8b45ad

ILOVA
VMWare servislarini boshqarishni bir qismi uchun cod qismi:

package com.example.database;


import java.io.File; import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException; import java.io.InputStream;
import java.io.OutputStream;
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Simple command line interface using the Python bindings."""

## Created: 15 Jan 2015 Javier Serrano


##
## (c) 2015 by Mega Limited, Auckland, New Zealand
## http://mega.co.nz/
## Simplified (2-clause) BSD License.
##
## You should have received a copy of the license along with this
## program.
##
## This file is part of the multi-party chat encryption suite.
##
## This code is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

author = 'Javier Serrano '

import sys
import os
import cmd
import logging
import time

from mega import (MegaApi, MegaListener, MegaError, MegaRequest,


MegaUser, MegaNode)

class AppListener(MegaListener):


def init(self, shell):
self._shell = shell
super(AppListener, self).init()

def onRequestStart(self, api, request):


logging.info('Request start ({})'.format(request))

def onRequestFinish(self, api, request, error):


logging.info('Request finished ({}); Result: {}'
.format(request, error))
if error.getErrorCode() != MegaError.API_OK:
return
request_type = request.getType()
if request_type == MegaRequest.TYPE_LOGIN:
api.fetchNodes()
elif request_type == MegaRequest.TYPE_EXPORT:
logging.info('Exported link: {}'.format(request.getLink()))
elif request_type == MegaRequest.TYPE_ACCOUNT_DETAILS:
account_details = request.getMegaAccountDetails()
logging.info('Account details received')
logging.info('Account e-mail: {}'.format(api.getMyEmail()))
logging.info('Storage: {} of {} ({} %)'
.format(account_details.getStorageUsed(),
account_details.getStorageMax(),
100 * account_details.getStorageUsed()
/ account_details.getStorageMax()))
logging.info('Pro level: {}'.format(account_details.getProLevel()))

def onRequestTemporaryError(self, api, request, error):


logging.info('Request temporary error ({}); Error: {}'
.format(request, error))

def onTransferFinish(self, api, transfer, error):


logging.info('Transfer finished ({}); Result: {}'
.format(transfer, transfer.getFileName(), error))

def onTransferUpdate(self, api, transfer):


logging.info('Transfer update ({} {});'
' Progress: {} KB of {} KB, {} KB/s'
.format(transfer,
transfer.getFileName(),
transfer.getTransferredBytes() / 1024,
transfer.getTotalBytes() / 1024,
transfer.getSpeed() / 1024))

def onTransferTemporaryError(self, api, transfer, error):


logging.info('Transfer temporary error ({} {}); Error: {}'
.format(transfer, transfer.getFileName(), error))

def onUsersUpdate(self, api, users):


if users != None:
logging.info('Users updated ({})'.format(users.size()))

def onNodesUpdate(self, api, nodes):


if nodes != None:
logging.info('Nodes updated ({})'.format(nodes.size()))
else:
self._shell.cwd = api.getRootNode()

class MegaShell(cmd.Cmd, MegaListener):


intro = 'Mega sample app. Type help or ? to list commands.\n'
PROMPT = '(MEGA)'

def init(self, api):


self._api = api
self.cwd = None
super(MegaShell, self).init()

def emptyline(self):


return
def do_login(self, arg):
"""Usage: login email password"""
args = arg.split()
if len(args) != 2 or '@' not in args[0]:
print(self.do_login.doc)
return
self._api.login(args[0], args[1]) String iBusNum = e_bus_num.getText().toString();
String iType = e_type.getText().toString();
lv2.setVisibility(View.INVISIBLE);
lv.setVisibility(View.VISIBLE);
sp2 = (Spinner) findViewById(R.id.sp2);
sp4 = (Spinner) findViewById(R.id.sp4);
String obj1 = (String) sp2.getSelectedItem();


Download 369.79 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling