I once executed a command to mount a disk:
Continue reading “Solving the error “mount: unknown filesystem type LVM2_member””Category Archives: Linux
How to reset Linux root password via GRUB
I will give an example of changing the root password for systems similar to Ubuntu, CentOS, Fedora:
Continue reading “How to reset Linux root password via GRUB”How to reset Linux root password via Live CD
If it is not possible to use the GRUB bootloader as I described in this article – How to reset the root password in Linux via GRUB, you will have to run a Live CD, for example Ubuntu Desktop, at startup select “Try Ubuntu …” instead of installing, and then it will start.
How to make bootable flash drives I described here – How to create a bootable flash drive
Resolving the error when starting the MC “Unable to create directory” /home/user/.local/share/mc “”
I noticed once the following error when starting MC (Midnight Commander):
Continue reading “Resolving the error when starting the MC “Unable to create directory” /home/user/.local/share/mc “””RAID Creation During Ubuntu Installation
On the test, when installing Ubuntu Server 14.04 LTS, we will create software RAID1.
I note that when creating RAID will be used mdadm automatically.
I will connect two identical disks to the server (similarly, you can try to create RAID on a virtual machine, for example, created in VirtualBox).
Configuring TDM410P with Asterisk
In the test, I connected a Chinese TDM410P board with four FXO ports (red) to the PCI slot of the turned off Ubuntu server.
For convenience, immediately switch to the root user:
Configuring FSK in Asterisk to determine phone numbers
To determine the number from analog lines, you need to specify in the context for each Trunk channel Dahdi:
Continue reading “Configuring FSK in Asterisk to determine phone numbers”Using the vim text editor
vim is a free powerful text editor based on the vi text editor.
Continue reading “Using the vim text editor”Configuring SIP Trunk in Asterisk from Ukrtelecom
I will give an example of setting up SIP Trunk in Asterisk, that is, Asterisk will be in the role of a SIP client.
From the provider Ukrtelecom received data: number, password and address of the telephony server (sip.ukrtel.net).
SIP number was taken to make multi-channel not an ordinary city number, by forwarding in case of busy lines.
I will configure on a Linux server with a real IP without using NAT, as well as on another with NAT (in the second case, you need to change nat=no to nat=yes and comment out canreinvite).
View files with less
The less command allows you to view the contents of text files and other data in page mode.
Continue reading “View files with less”