noxma forum

noxma forum description


    Server 103.86.50.199

    Share

    Admin
    Admin

    จำนวนข้อความ : 33
    Join date : 09/12/2017

    Server 103.86.50.199

    ตั้งหัวข้อ by Admin on Sat Dec 09, 2017 2:40 pm

    รายละเอียด

    Code:

    ubuntu@modvm-varatchai-4t:/opt$ ls -ltra
    total 52
    drwxrwxr-x   4 ubuntu  ubuntu  4096              Jul  8 22:43    mongodb-linux-x86_64-ubuntu1604-3.4.4
    drwxr-xr-x  13 noxma   noxma   4096             Jul 24 12:29    noxma
    drwxr-xr-x   8 sentry  sentry  4096                 Aug  2 14:53   sentry
    drwxr-xr-x   5 ubuntu  ubuntu  4096               Aug 12 15:47  traefik
    drwxr-xr-x   4 ubuntu  ubuntu  4096               Aug 18 17:03  mongoData_backup
    drwxr-xr-x   6 flectra flectra 4096                   Oct  7 14:57    flectra-python3-env
    drwxr-xr-x  11 odoo    odoo    4096                Oct 11 00:37   odoo11
    drwxr-xr-x  13 odoo    odoo    4096                Oct 11 00:40   odoo
    drwxr-xr-x   6 ubuntu  ubuntu  4096               Oct 14 16:49   app
    drwxr-xr-x  13 root    root    4096                  Nov 12 00:57   .
    drwxr-xr-x   7 flectra flectra 4096                   Nov 12 09:09   flectra
    drwxrwxr-x   4 ubuntu  ubuntu  4096             Nov 27 14:24   mongoData

    --------------------------------------------------------------------------------------------------------------------
    modvm-varatchai-4t
       description: Computer
       product: Standard PC (i440FX + PIIX, 1996)
       vendor: QEMU
       version: pc-i440fx-2.7
       width: 64 bits
       capabilities: smbios-2.8 dmi-2.8 smp vsyscall32
       configuration: boot=normal uuid=05A82822-D155-9747-8063-4508C4A03E14
     *-core
          description: Motherboard
          physical id: 0
        *-firmware
             description: BIOS
             vendor: SeaBIOS
             physical id: 0
             version: rel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org
             date: 04/01/2014
             size: 96KiB
        *-cpu
             description: CPU
             product: Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
             vendor: Intel Corp.
             physical id: 400
             bus info: cpu@0
             version: pc-i440fx-2.7
             slot: CPU 0
             size: 2GHz
             capacity: 2GHz
             width: 64 bits
             capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp x86-64 constant_tsc arch_perfmon rep_good nopl xtopology pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt arat
             configuration: cores=3 enabledcores=3 threads=1
        *-memory
             description: System Memory
             physical id: 1000
             size: 2GiB
             capacity: 2GiB
             capabilities: ecc
             configuration: errordetection=multi-bit-ecc
           *-bank
                description: DIMM RAM
                vendor: QEMU
                physical id: 0
                slot: DIMM 0
                size: 2GiB
        *-pci
             description: Host bridge
             product: 440FX - 82441FX PMC [Natoma]
             vendor: Intel Corporation
             physical id: 100
             bus info: pci@0000:00:00.0
             version: 02
             width: 32 bits
             clock: 33MHz
           *-isa
                description: ISA bridge
                product: 82371SB PIIX3 ISA [Natoma/Triton II]
                vendor: Intel Corporation
                physical id: 1
                bus info: pci@0000:00:01.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: isa
                configuration: latency=0
           *-ide
                description: IDE interface
                product: 82371SB PIIX3 IDE [Natoma/Triton II]
                vendor: Intel Corporation
                physical id: 1.1
                bus info: pci@0000:00:01.1
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: ide bus_master
                configuration: driver=ata_piix latency=0
                resources: irq:0 ioport:1f0(size=Cool ioport:3f6 ioport:170(size=Cool ioport:376 ioport:e0a0(size=16)
           *-usb
                description: USB controller
                product: 82371SB PIIX3 USB [Natoma/Triton II]
                vendor: Intel Corporation
                physical id: 1.2
                bus info: pci@0000:00:01.2
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: uhci bus_master
                configuration: driver=uhci_hcd latency=0
                resources: irq:11 ioport:e040(size=32)
              *-usbhost
                   product: UHCI Host Controller
                   vendor: Linux 4.10.0-38-generic uhci_hcd
                   physical id: 1
                   bus info: usb@1
                   logical name: usb1
                   version: 4.10
                   capabilities: usb-1.10
                   configuration: driver=hub slots=2 speed=12Mbit/s
                 *-usb
                      description: Mouse
                      product: QEMU USB Tablet
                      vendor: QEMU
                      physical id: 1
                      bus info: usb@1:1
                      version: 0.00
                      serial: 42
                      capabilities: usb-2.00
                      configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
           *-bridge UNCLAIMED
                description: Bridge
                product: 82371AB/EB/MB PIIX4 ACPI
                vendor: Intel Corporation
                physical id: 1.3
                bus info: pci@0000:00:01.3
                version: 03
                width: 32 bits
                clock: 33MHz
                capabilities: bridge
                configuration: latency=0
           *-display UNCLAIMED
                description: VGA compatible controller
                product: GD 5446
                vendor: Cirrus Logic
                physical id: 2
                bus info: pci@0000:00:02.0
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: vga_controller
                configuration: latency=0
                resources: memory:fa000000-fbffffff memory:fea50000-fea50fff memory:c0000-dffff
           *-generic
                description: Unclassified device
                product: Virtio memory balloon
                vendor: Red Hat, Inc
                physical id: 3
                bus info: pci@0000:00:03.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: bus_master cap_list
                configuration: driver=virtio-pci latency=0
                resources: irq:10 ioport:e060(size=32) memory:fc000000-fc7fffff
              *-virtio0 UNCLAIMED
                   description: Virtual I/O device
                   physical id: 0
                   bus info: virtio@0
                   configuration: driver=virtio_balloon
           *-scsi
                description: SCSI storage controller
                product: Virtio block device
                vendor: Red Hat, Inc
                physical id: a
                bus info: pci@0000:00:0a.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: scsi msix bus_master cap_list
                configuration: driver=virtio-pci latency=0
                resources: irq:10 ioport:e000(size=64) memory:fea51000-fea51fff memory:fc800000-fcffffff
              *-virtio1
                   description: Virtual I/O device
                   physical id: 0
                   bus info: virtio@1
                   logical name: /dev/vda
                   size: 40GiB (42GB)
                   capabilities: gpt-1.00 partitioned partitioned:gpt
                   configuration: driver=virtio_blk guid=9262e220-164f-45f7-941b-3629e644ea0c logicalsectorsize=512 sectorsize=512
                 *-volume:0
                      description: EXT4 volume
                      vendor: Linux
                      physical id: 1
                      bus info: virtio@1,1
                      logical name: /dev/vda1
                      logical name: /
                      version: 1.0
                      serial: 845d6831-7f24-48ea-a520-dd9b6ba6a043
                      size: 39GiB
                      capacity: 39GiB
                      capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                      configuration: created=2017-06-22 08:19:47 filesystem=ext4 label=cloudimg-rootfs lastmountpoint=/ modified=2017-11-26 19:59:03 mount.fstype=ext4 mount.options=rw,relatime,data=ordered mounted=2017-11-26 19:59:26 state=mounted
                 *-volume:1
                      description: BIOS Boot partition
                      vendor: EFI
                      physical id: e
                      bus info: virtio@1,14
                      logical name: /dev/vda14
                      serial: 4bfb9848-9379-40cd-a092-a554734cf605
                      capacity: 4095KiB
                      capabilities: nofs
                 *-volume:2
                      description: Windows FAT volume
                      vendor: mkfs.fat
                      physical id: f
                      bus info: virtio@1,15
                      logical name: /dev/vda15
                      logical name: /boot/efi
                      version: FAT32
                      serial: b4d6-d140
                      size: 105MiB
                      capacity: 105MiB
                      capabilities: boot fat initialized
                      configuration: FATs=2 filesystem=fat label=UEFI mount.fstype=vfat mount.options=rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro state=mounted
           *-network
                description: Ethernet controller
                product: Virtio network device
                vendor: Red Hat, Inc
                physical id: 12
                bus info: pci@0000:00:12.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: msix bus_master cap_list rom
                configuration: driver=virtio-pci latency=0
                resources: irq:10 ioport:e080(size=32) memory:fea52000-fea52fff memory:fd000000-fd7fffff memory:fea00000-fea3ffff
              *-virtio2
                   description: Ethernet interface
                   physical id: 0
                   bus info: virtio@2
                   logical name: ens18
                   serial: ba:0d:02:0f:29:43
                   capabilities: ethernet physical
                   configuration: autonegotiation=off broadcast=yes driver=virtio_net driverversion=1.0.0 ip=103.86.50.199 link=yes multicast=yes
           *-pci:0
                description: PCI bridge
                product: QEMU PCI-PCI bridge
                vendor: Red Hat, Inc.
                physical id: 1e
                bus info: pci@0000:00:1e.0
                version: 00
                slot: 0, chassis 1
                width: 64 bits
                clock: 66MHz
                capabilities: pci msi slotid normal_decode cap_list
                resources: memory:fea53000-fea530ff ioport:d000(size=4096) memory:fe800000-fe9fffff ioport:fda00000(size=2097152)
           *-pci:1
                description: PCI bridge
                product: QEMU PCI-PCI bridge
                vendor: Red Hat, Inc.
                physical id: 1f
                bus info: pci@0000:00:1f.0
                version: 00
                slot: 0, chassis 2
                width: 64 bits
                clock: 66MHz
                capabilities: pci msi slotid normal_decode cap_list
                resources: memory:fea54000-fea540ff ioport:c000(size=4096) memory:fe600000-fe7fffff ioport:fd800000(size=2097152)
    ubuntu@modvm-varatchai-4t:/opt/mongodb-linux-x86_64-ubuntu1604-3.4.4$


    แก้ไขล่าสุดโดย Admin เมื่อ Sat Feb 10, 2018 12:42 pm, ทั้งหมด 1 ครั้ง

    Admin
    Admin

    จำนวนข้อความ : 33
    Join date : 09/12/2017

    Command

    ตั้งหัวข้อ by Admin on Sat Feb 03, 2018 2:07 pm

    systemctl list-unit-files | grep enabled
    systemctl list-unit-files | grep disabled

    Docker Command Reference

    Start or Re-start Docker Machine:
    $ docker-machine start default
    $ eval $(docker-machine env default)

    Build all of the images in preparation for running your application:
    $ docker-compose build

    Using Docker Compose to run the multi-container application (in daemon mode):
    $ docker-compose up -d
    $ docker-compose -f docker-compose.yml up -d

    View the logs from the different running containers:
    $ docker-compose logs
    $ docker-compose logs web # or whatever service you want

    Stop all of the containers that were started by Docker Compose:
    $ docker-compose stop

    Run a command in a specific container:
    $ docker-compose run –rm web python ./instance/db_create.py
    $ docker-compose run web bash

    Check the containers that are running:
    $ docker ps

    Stop all running containers:
    $ docker stop $(docker ps -a -q)

    Delete all running containers:
    $ docker rm $(docker ps -a -q)

    Delete all untagged Docker images
    $ docker rmi $(docker images | grep “^” | awk ‘{print $3}’)

    Create Volume (for persistent storage)
    docker volume create --name <unkkuri-db-data>

    Create Network
    docker network create --driver bridge <unkkuri-odoo-nw>

      เวลาขณะนี้ Fri Oct 19, 2018 6:18 am