LSM (Linux Socket Monitor) Installation
wget http://rfxnetworks.com/downloads/lsm-current.tar.gz
tar -zxvf lsm-current.tar.gz
cd lsm-0.*
./install.sh
/usr/local/sbin/lsm -g
LSM testing
—————–
/usr/local/sbin/lsm -c
LSM (Linux Socket Monitor) Installation
wget http://rfxnetworks.com/downloads/lsm-current.tar.gz
tar -zxvf lsm-current.tar.gz
cd lsm-0.*
./install.sh
/usr/local/sbin/lsm -g
LSM testing
—————–
/usr/local/sbin/lsm -c
You may encounter the following error while installing csf
Checking for perl modulesf ailed
You need to install the LWP perl module (libwww-perl) and then install csf
Solution :
yum install perl-libwww-perl
Installation is quite straightforward:
Login as the root user to SSH and run the following commands.
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh
useful commands to download data from an account which is exist on different server.
wget ftp://ftp.domainname.com/* –ftp-user=username –ftp-pass=password -r
OR
For Linux servers, following are the complete steps with commands:
[1] Stop MySQL service:
# /etc/init.d/mysql stop
[2] Start MySQL with –skip-grant-tables:
# mysqld_safe --skip-grant-tables &
[3] Connect to MySQL server:
mysql -u root
[4] Set new MySQL root user password:
mysql> use mysql;
mysql> update user set password=PASSWORD("MyNewPass") where User='root';
mysql> flush privileges;
mysql> quit
[5] Stop and start MySQL service:
# /etc/init.d/mysql stop
# /etc/init.d/mysql start
When you try to login to your Moodle admin section, you will get an error showing
“Your session has timed out. Please login again”
Fix:
Check whether the folder /uploaddata/sessions/ is having 777 permission.
Clear all the session files in this folder.
Then you will be able to login to your website.
If the cpanel license is already active and you still see license error, then try the following.
lynx -dump http://www.cpanel.net/showip.cgi
rdate -s rdate.cpanel.net
find the time zone that you need to be used in the server and get the details from /usr/share/zoneinfo
ln -sf /usr/share/zoneinfo/CST6CDT /etc/localtime
If yum is not working inside a vps in an openvz node, please do the following commands.
#vzyum 354 install yum
Here 354 represents your container VID.
I have encountered an error while installing ffmpeg-php version 0..6.0) . While running the make command I got the following error
make: *** [ffmpeg_frame.lo] Error 1
Fix: In the latest version of ffmpeg-php (0.6.0), you need to modify the file: ffmpeg_frame.c and replace every instance of PIX_FMT_RGBA32 with PIX_FMT_RGB32