Advertisement
Guest User

Untitled

a guest
Jan 14th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.30 KB | None | 0 0
  1. MacBook-Air-Nikita:~ user$ docker run --expose=2004 -p 2004:2004 -v /Users/user/Desktop/:/Users/user/Desktop/ -it avsw/libreoffice_container:v1 /bin/bash
  2. [root@648f6d37ae85 /]# yum install -y net-tools
  3. Loaded plugins: fastestmirror, ovl
  4. base                                                                                                                                   | 3.6 kB  00:00:00    
  5. extras                                                                                                                                 | 3.4 kB  00:00:00    
  6. updates                                                                                                                                | 3.4 kB  00:00:00    
  7. (1/4): base/7/x86_64/group_gz                                                                                                          | 156 kB  00:00:00    
  8. (2/4): extras/7/x86_64/primary_db                                                                                                      | 145 kB  00:00:00    
  9. (3/4): updates/7/x86_64/primary_db                                                                                                     | 5.2 MB  00:00:01    
  10. (4/4): base/7/x86_64/primary_db                                                                                                        | 5.7 MB  00:00:08    
  11. Determining fastest mirrors
  12.  * base: mirror.logol.ru
  13.  * extras: centos-mirror.rbc.ru
  14.  * updates: dedic.sh
  15. Resolving Dependencies
  16. --> Running transaction check
  17. ---> Package net-tools.x86_64 0:2.0-0.22.20131004git.el7 will be installed
  18. --> Finished Dependency Resolution
  19.  
  20. Dependencies Resolved
  21.  
  22. ==============================================================================================================================================================
  23.  Package                             Arch                             Version                                            Repository                      Size
  24. ==============================================================================================================================================================
  25. Installing:
  26.  net-tools                           x86_64                           2.0-0.22.20131004git.el7                           base                           305 k
  27.  
  28. Transaction Summary
  29. ==============================================================================================================================================================
  30. Install  1 Package
  31.  
  32. Total download size: 305 k
  33. Installed size: 917 k
  34. Downloading packages:
  35. net-tools-2.0-0.22.20131004git.el7.x86_64.rpm                                                                                          | 305 kB  00:00:00    
  36. Running transaction check
  37. Running transaction test
  38. Transaction test succeeded
  39. Running transaction
  40.   Installing : net-tools-2.0-0.22.20131004git.el7.x86_64                                                                                                  1/1
  41.   Verifying  : net-tools-2.0-0.22.20131004git.el7.x86_64                                                                                                  1/1
  42.  
  43. Installed:
  44.   net-tools.x86_64 0:2.0-0.22.20131004git.el7                                                                                                                
  45.  
  46. Complete!
  47. [root@648f6d37ae85 /]# ifconfig
  48. eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
  49.         inet 172.17.0.2  netmask 255.255.0.0  broadcast 172.17.255.255
  50.         ether 02:42:ac:11:00:02  txqueuelen 0  (Ethernet)
  51.         RX packets 8759  bytes 12610097 (12.0 MiB)
  52.         RX errors 0  dropped 0  overruns 0  frame 0
  53.         TX packets 4335  bytes 237444 (231.8 KiB)
  54.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  55.  
  56. lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
  57.         inet 127.0.0.1  netmask 255.0.0.0
  58.         loop  txqueuelen 1  (Local Loopback)
  59.         RX packets 0  bytes 0 (0.0 B)
  60.         RX errors 0  dropped 0  overruns 0  frame 0
  61.         TX packets 0  bytes 0 (0.0 B)
  62.         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  63.  
  64. [root@648f6d37ae85 /]#
  65. [root@648f6d37ae85 /]# unoconv -vvv -p 2004 --listener  
  66. Verbosity set to level 3
  67. Using office base path: /usr/lib64/libreoffice
  68. Using office binary path: /usr/lib64/libreoffice/program
  69. Start listener on 127.0.0.1:2004
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement