Hello
For debian 11, service is just a wrapper to systemctl, is it right?
So for server management, both commands below have the same results.
sudo service nginx start
sudo systemclt start nginx
Which way is more prefered though?
Thanks.
--
Sincerely,
Ken Young
On Mon 06 Mar 2023 at 13:34:52 (+0100), daven...@tuxfamily.org wrote:
> On 2023-03-03 16:00, Max Nikulin wrote:
> > On 03/03/2023 13:29, Tim Woodall wrote:
> > > On Fri, 3 Mar 2023, Max Nikulin wrote:
> > > >
> > > > dhclient running for enp2s0f0 should detect that VPN is
> > > > active and to avo
On Mon 06 Mar 2023 at 13:17:23 (+0100), daven...@tuxfamily.org wrote:
> On 2023-03-03 06:22, Max Nikulin wrote:
> > On 03/03/2023 10:08, Tim Woodall wrote:
> > > New to this thread, so might be totally off-piste but openvpn
> > > has hooks
> > > to run scripts like this:
> > ...
> > > This is serve
On Sun 05 Mar 2023 at 16:30:10 (-0500), Greg Wooledge wrote:
> On Sun, Mar 05, 2023 at 02:37:48PM -0600, David Wright wrote:
> > There are many lists of dangerous aliases on the web, but I haven't
> > found a list of such aliases that can't be transcribed into functions.
>
> Here's one document:
>
On 2023-03-05 16:22:25 +0800, Ken Young wrote:
> 1. scp
> pros: the native tool in the OS
> cons: you will either input password or put key pairs into servers for
> authentication.
I would not see this as a cons.
> 2. rsync
> pros: it can transfer data by increasement
> cons: you need to setup rs
For standalone backup I am using Liteserver's VPS, 512G disk for only 2.4
EUR/m.
Then I setup rsyncd on it, and rsync data from clients via crontab for
backup purpose.
Sincerely,
Ken Young
On Tue, Mar 7, 2023 at 9:21 AM Celejar wrote:
> On Sun, 5 Mar 2023 14:05:37 +0100
> to...@tuxteam.de wro
On Sun, 5 Mar 2023 14:05:37 +0100
to...@tuxteam.de wrote:
> On Sun, Mar 05, 2023 at 07:23:49PM +0800, Ken Young wrote:
> > What provider do you recommend then?
>
> Around here (West Europe), for example, mailbox.org [1]. But they
> are far from the only one (I'm not a customer, nor associated wit
David Wright writes:
> So what was wrong with using a .link file like:
>
> [Match]
> Type=wwan
> [Link]
> NamePolicy=keep kernel
>
> or
>
> [Match]
> Type=wwan
> [Link]
> Name=my4g
>
> Did this not work?
Nothing was wrong but I just added a few lines to my management script
to do
On 06/03/2023 06:35, Russell L. Harris wrote:
On Mon, Mar 06, 2023 at 03:26:15AM +, piorunz wrote:
On 05/03/2023 20:26, Russell L. Harris wrote:
Thunderbird under Debian 11 gave minor miscellaneous problems from
time to time.
Can't reproduce. If you have exact problem, please describe and
On Mon, Mar 06, 2023 at 10:41:22AM +, Jonathan Dowland wrote:
Quite. I habitually alias ls to 'ls -lhrt', (and cdls() { cd "$@" && ls
-lhrt; }; alias cd=cdls) so I'm very used to only looking at the bottom
of a long list of size-sorted-ascending.
Err, of course, that's date-sort-ascending,
On 2023-03-03 16:00, Max Nikulin wrote:
On 03/03/2023 13:29, Tim Woodall wrote:
On Fri, 3 Mar 2023, Max Nikulin wrote:
dhclient running for enp2s0f0 should detect that VPN is active and to
avoid overwriting DNS settings that direct requests to tun0.
The hook can create and delete a file li
Hello
On 2023-03-03 06:22, Max Nikulin wrote:
On 03/03/2023 10:08, Tim Woodall wrote:
New to this thread, so might be totally off-piste but openvpn has
hooks
to run scripts like this:
...
This is server side but the route-up/pre-down work client side too.
Since it's workplace's VPN, which
On Mon, Mar 06, 2023 at 06:41:58PM +0700, Max Nikulin wrote:
> On 05/03/2023 15:22, Ken Young wrote:
> >
> > 1. scp
>
> Notice that in bookworm (next release) scp uses SFTP protocol. This
> ssh-based protocol can be used in the current stable release as well. Do not
> confuse it with ftps that is
On 05/03/2023 15:22, Ken Young wrote:
1. scp
Notice that in bookworm (next release) scp uses SFTP protocol. This
ssh-based protocol can be used in the current stable release as well. Do
not confuse it with ftps that is traditional FTP over TLS.
On 3/5/23 00:22, Ken Young wrote:
Hello,
The methods I know,
1. scp
pros: the native tool in the OS
cons: you will either input password or put key pairs into servers for
authentication.
2. rsync
pros: it can transfer data by increasement
cons: you need to setup rsyncd server and make the corr
On Sat, Mar 04, 2023 at 11:10:48AM -0600, David Wright wrote:
But then when there's a drove, the biggest go AWOL
off the top of screen.
Quite. I habitually alias ls to 'ls -lhrt', (and cdls() { cd "$@" && ls
-lhrt; }; alias cd=cdls) so I'm very used to only looking at the bottom
of a long list
This version finally fixes this bug
https://gitlab.gnome.org/GNOME/gtk/-/issues/5386 and gtk3 apps (like Gnome
Terminal and Firefox) no longer take forever to load.
Le 3/4/23 à 09:22, Ken Young a écrit :
Hello,
Hi Ken!
3) the content of bash script
$ cat get.sh
#!/bin/bash
source ~/.bash_profile
k get node
4) alias can't work
$ ./get.sh
./get.sh: line 5: k: command not found
Two options :
1. either use #!/bin/bash -i as your shebang.
The
18 matches
Mail list logo