Webalizer – a program for reporting and statistics on log files.
Let’s say there is an installed Apache2 web server, for example, as I described in this article – Installing and Configuring the Apache2 Web Server
Vyacheslav Gapon – personal blog, manuals, articles, notes, development
Webalizer – a program for reporting and statistics on log files.
Let’s say there is an installed Apache2 web server, for example, as I described in this article – Installing and Configuring the Apache2 Web Server
ProFTPd — FTP-server for Linux and UNIX-like operating systems.
Continue reading “Installing and Configuring ProFTPd in Ubuntu”Let’s say there is a ProFTPd server installed, for example, as I described in this article – Installing and Configuring ProFTPd in Ubuntu
Next, I’ll describe the process of configuring ProFTPd with virtual users in a file.
Continue reading “Configuring ProFTPd with virtual users in a file”To update the firmware of the router D-Link DI-804HV, perform the following necessary steps:
1) Let’s see the revision on the label under the router and download the new firmware from the official site for it http://ftp.dlink.ru/pub/Router/DI-804HV/Firmware/
Updating the firmware of the router for the wrong revision can lead to its failure.
2) Open the settings of the router by typing in the browser its address, for example http://192.168.1.1 or 192.168.0.1 and enter login/password (can be “user” without password).
3) In the opened interface at the top, open the “Tools” tab, on the left of the menu, select “Firmware“. The current page will show the current version of the firmware, if it is older, then click “Browse” and select the previously downloaded new firmware file, then click “Apply” to start the process updates.
We will wait for the update to complete, usually 2-5 minutes. When finished, the router will reboot.
Done.
Faced somehow with a mistake:
There is insufficient memory or disk space. Word cannot display the requested font.
In my case, the error occurred when you set a document to print in Microsoft Word 2010 on Windows 10. And from the browser and other programs to print documents started.
What I did not try to solve the problem, as well as check the integrity of the system files by running the following command at the command prompt on behalf of the administrator:
sfc /scannow
But the solution to the problem turned out to be banal.
I tried to add another network printer by IP and documents from Word to the new printer were printed.
The printer for which jobs were started and not printed, was connected via USB to a neighboring computer running Windows 7 and added to the current on the network.
Therefore, in order to solve the problem, in the properties of the printer where it is allowed to share it, we will add drivers for the necessary operating systems, in my case for Windows 10.
The second option, since the computers were side by side, I did not add the driver, but simply switched the printer to a computer with Windows 10, allowed it to share and added it over the network on a computer with Windows 7.
That’s all, the error has disappeared.
I noticed once when I started Puppet server, after installation, the following error:
Job for puppetserver.service failed because the control process exited with error code. See “systemctl status puppetserver.service” and “journalctl -xe” for details.
The error occurs because there is not enough RAM and to fix the error, open the Puppet server configuration file:
sudo nano /etc/default/puppetserver
And reduce the amount of allocated RAM for the Puppet server (for example, I specified 512m instead of 2g):
JAVA_ARGS="-Xms512m -Xmx512m"
Now let’s start the Puppet server:
sudo systemctl start puppetserver
Updated somehow iLO 3 from version 1.10 to 1.88, on the HP ProLiant DL380 G7 server and the process stopped at “98% Receiving Image…”
So, if the firmware version of iLO 3 is lower than 1.28, then you must first upgrade to version 1.28, and then higher.
That’s the whole solution to the problem.
Below is an example of creating a script to autorun the desired program.
Create a script:
sudo touch /etc/init.d/name
Open it in a text editor (in the editor nano Ctrl+X to exit, and y/n to save or cancel changes):
sudo nano /etc/init.d/name
Fill it with content like:
#!/bin/bash /etc/init.d/programma start
Let’s make the script executable:
sudo chmod +x /etc/init.d/name
Add the script to startup:
sudo update-rc.d name defaults 95
You can get the documentation for update-rc.d by running the command:
man update-rc.d
To remove a script from autorun, use the command:
sudo update-rc.d name remove
See also:
Solving the error “insserv: warning: script ‘script’ missing LSB tags and overrides”
On the test, I install the Netlist module for ABillS in Ubuntu Server.
We import the tables into the database:
mysql -D abills --default-character-set=utf8 < /usr/abills/db/Netlist.sql
Open the billing configuration file:
nano /usr/abills/libexec/config.pl
Make sure that the module is activated:
@MODULES = ( 'Netlist' );
Install nmap and Perl module for it:
sudo apt-get install nmap sudo cpanm Nmap::Parser
Let’s see where nmap is located:
which nmap
Open the billing configuration file again:
sudo nano /usr/abills/libexec/config.pl
Let’s specify the path to nmap:
$conf{'NMAP_LOCATION'}="/usr/bin/nmap";
Add to sudoers:
echo 'www-data ALL=(ALL) NOPASSWD: /usr/bin/nmap' >> /etc/sudoers.d/abills_sudoers
After installation, the module will be available in the menu /Settings/Netlist
I’ll give you an example of viewing information about ONT (ONU) on EPON OLT BDCOM P3310C, on other models is essentially the same.
Continue reading “How to view information about ONU on BDCOM OLT”