I will give below examples of commands by which it is possible to look at the size of folders in Linux.
For example, using the du command (the size of the subfolders is displayed and the total size at the end, the sudo command is used to elevate privileges to access all folders):
Continue reading “How to find out the size of a folder in Linux”
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”
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.
Continue reading “How to reset Linux root password via Live CD”
How to make bootable flash drives I described here – How to create a bootable flash drive
On the test, when installing Ubuntu Server 14.04 LTS, we will create software RAID1.
Continue reading “RAID Creation During Ubuntu Installation”
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).
In the test, I connected a Chinese TDM410P board with four FXO ports (red) to the PCI slot of the turned off Ubuntu server.
Continue reading “Configuring TDM410P with Asterisk”
For convenience, immediately switch to the root user:
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”
vim is a free powerful text editor based on the vi text editor.
Continue reading “Using the vim text editor”
I will give an example of setting up SIP Trunk in Asterisk, that is, Asterisk will be in the role of a SIP client.
Continue reading “Configuring SIP Trunk in Asterisk from Ukrtelecom”
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).