-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·117 lines (95 loc) · 4.87 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en-us">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gregory Shimansky blog</title>
<link rel="stylesheet" href="https://gshimansky.github.io/css/style.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/styles/default.min.css">
<section class="section">
<div class="container">
<nav class="nav">
<div class="nav-left">
<a class="nav-item" href="https://gshimansky.github.io"><h1 class="title is-4">Gregory Shimansky blog</h1></a>
</div>
<div class="nav-right">
<nav class="nav-item level is-mobile">
</nav>
</div>
</nav>
</div>
</section>
<section class="section">
<div class="container">
<article>
<h2 class="subtitle is-6">October 8, 2019</h2>
<h1 class="title"><a href="https://gshimansky.github.io/posts/00003-hp-cups-driver-fix/">Fix for HP CUPS driver in Ubuntu</a></h1>
<div class="content">
Symptom: In /var/log/cups/error_log there is a message (/usr/lib/cups/filter/hpcups) crashed on signal 11. and printer doesn’t print anything. The problem is that hpcups is buggy in Ubuntu 19.04. A solution is to install HP printer driver from sources from https://developers.hp.com/hp-linux-imaging-and-printing. There are several problems with this however.
Delete all printer configurations from /etc/cups/printers.conf. First download and run HPLIP main source hplip-3.19.8.run and a plugin for it hplip-3.19.8-plugin.run. Use whatever version is latest from HP site.
...<a class="button is-link" href="https://gshimansky.github.io/posts/00003-hp-cups-driver-fix/" style="height:28px">
Read more
<span class="icon is-small">
<i class="fa fa-angle-double-right"></i>
</span>
</a>
</div>
</article>
<article>
<h2 class="subtitle is-6">February 26, 2019</h2>
<h1 class="title"><a href="https://gshimansky.github.io/posts/00002-vagrant-libvirt-plugin-build-on-ubuntu/">Vagrant Libvirt Plugin Build on Ubuntu</a></h1>
<div class="content">
On modern Ubuntu versions vagrant plugin vagrant-plugin fails to build. It is necessary to specify correct locations of libvirt headers and librarires. Possible solution can be found here:
CONFIGURE_ARGS="with-libvirt-include=/usr/include/libvirt with-libvirt-lib=/usr/lib64" vagrant plugin install vagrant-libvirt Installing the 'vagrant-libvirt' plugin. This can take a few minutes... Building native extensions. This could take a while... Fetching: fog-libvirt-0.5.0.gem (100%) Fetching: vagrant-libvirt-0.0.43.gem (100%) Installed the plugin 'vagrant-libvirt (0.0.43)'!
</div>
</article>
<article>
<h2 class="subtitle is-6">August 30, 2018</h2>
<h1 class="title"><a href="https://gshimansky.github.io/posts/00001-clone-libvirt-vm-controlled-by-vagrant/">How to clone a libvirt VM controlled by Vagrant</a></h1>
<div class="content">
Strangely enough, googling about this problem doesn’t produce any meaningful results. So here are steps which allow cloning a libvirt VM controlled by Vagrant. Imagine that you have a VM named testvm1 which you want to clone into testvm2.
Shutdown all VMs with vagrant halt or at least from inside of VM with sudo shutdown -h 0.
Figure our real VM name with virsh list --all | grep testvm1.
...<a class="button is-link" href="https://gshimansky.github.io/posts/00001-clone-libvirt-vm-controlled-by-vagrant/" style="height:28px">
Read more
<span class="icon is-small">
<i class="fa fa-angle-double-right"></i>
</span>
</a>
</div>
</article>
</div>
</section>
<section class="section">
<div class="container">
<nav class="level is-mobile">
<div class="level-left">
<div class="level-item">
<a class="button is-disabled">
<span class="icon is-small is-marginless">
<i class="fa fa-angle-left"></i>
</span>
Newer
</a>
</div>
</div>
<div class="level-right is-marginless">
<div class="level-item">
<a class="button is-disabled">
Older
<span class="icon is-small is-marginless">
<i class="fa fa-angle-right"></i>
</span>
</a>
</div>
</div>
</nav>
</div>
</section>
<section class="section">
<div class="container has-text-centered">
<p></p>
</div>
</section>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>