Addisonjack's Profile
Supporter
131
points

Questions
35

Answers
30

  • Supporter Asked on April 26, 2017 in Technology.

    Dear   jack,

    Yes, we can install config server firewall (csf) which is the best firewall used now.

    1) Login into the server as a root user.

    2) change the Directory

    cd /usr/src

    3) remove your old files
    rm -fv csf.tgz

    4) Download the files
    wget https://download.configserver.com/csf.tgz

    5) Extract the files
    tar -xzf csf.tgz
    6) cd csf
    sh install.sh
    7) using the editor change the following

    vi /etc/csf/csf.conf

    make allow 1 to 0

    8) yes we whave completed installing the csf .

    Commands used for csf .

    csf -a IP [name]
    csf -a <IP> [] (Allow IP)
    csf -d <IP> [] (Deny IP)
    csf -r (to restart the service)
    csf -ar <IP> (for removing the IP)
    csf -g <IP> (IP searching)
    csf -x (disable the firwall)
    csf -e (enable firewall)

    • 625 views
    • 2 answers
    • 0 votes
  • Supporter Asked on April 10, 2017 in Technology.

    Hello All,

    The issue may be  permissions denied  in phpmyadmin configuration file .

    1)Login into the server as a root user.

    2)see phpmyadmin is installed or not

    3) If installed, then see the configuration file.

    4) vi /etc/httpd/conf.d/phpMyAdmin.conf

    If you want to allow from all then delete every thing and paste this.

    <Directory “/usr/share/phpMyAdmin”>
    Order Deny,Allow
    Deny from none
    Allow from all
    </Directory>

    Alias /phpMyAdmin /usr/share/phpMyAdmin
    Alias /phpmyadmin /usr/share/phpMyAdmin

    5) save and exit.

    6) Restart the Apache.

    • 627 views
    • 1 answers
    • 0 votes
  • Supporter Asked on March 21, 2017 in Computer.

    Hello all,

    1) Login into the server.
    2) use the following command to see the ip configurations .

    [root@localhost]# ifconfig

    3) if you are getting the loopback then it may the Ethernet down or any misconfiguration in network.

    4)Try this command it may resolve your issue.

    [root@localhost]# ifup eth0

    5) if you are still facing the issue then see the network configurations.

    [root@localhost]# vi /etc/sysconfig/network-scripts/ifcfg-eth0

    see the network configurations properly configured

    6) restart the network services.
    [root@localhost]# service network restart

    • 910 views
    • 1 answers
    • 0 votes
  • Supporter Asked on March 4, 2017 in Technology.

    Yes we can list all the files

    1)log into the  server
    2)  Generally we use this command for listing the files

    [root@localhost]# ls

    list of files will be displayed.

    3) A command  which is used  to display all the things .

    [root@localhost]#  ls -l

    For example :

    login into your server

    [root@localhost]# pwd

    it will result
    /root

    [root@localhost] ls -l
    -rw——-. 1 root root 1366 Mar 14 2016 anaconda-ks.cfg
    -rw-r–r– 1 root root 14540 Nov 5 2012 epel-release-latest-6.noarch.rpm
    -rw-r–r– 1 root root 14540 Nov 5 2012 epel-release-latest-6.noarch.rpm

    This will be the output.

    • 861 views
    • 1 answers
    • 0 votes
  • Supporter Asked on March 2, 2017 in Technology.

    yes, we can add the option

    1)  login into  your  webmail
    2)  go the settings
    3) in right side  section you will find compose message
    4)click on that , you will find the list of options
    5) in compose html message select always from drop down.
    6)click save
    7) you will get a html  editor while composing the message.

    • 528 views
    • 1 answers
    • 0 votes
  • Supporter Asked on November 5, 2016 in Technology.

    Hello James,

    As per my knowledge this issue may be due to mis- configuration in Apache configuration .

    so, see Apache is properly configured.

    restart the Apache series.

    [root@localhost]# service httpd restart

    see that iptables are off

    [root@localhost]#service iptables off

    Disable the selinux

    vi /etc/sysconfig/selinux
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    # enforcing – SELinux security policy is enforced.
    # permissive – SELinux prints warnings instead of enforcing.
    # disabled – SELinux is fully disabled.
    SELINUX=disabled
    # SELINUXTYPE= type of policy in use. Possible values are:
    # targeted – Only targeted network daemons are protected.
    # strict – Full SELinux protection.
    SELINUXTYPE=targeted
    # SETLOCALDEFS= Check local definition changes
    SETLOCALDEFS=0

    Change SELINUX=enforcing to SELINUX=disabled

    If you are still facing the error then see the space must be full.

    [root@localhost]# df -h

    if it is 100% used then this may be error.

    clear all the logs see that some space is left.

    This tutorial may help in getting your issue resolved .

    • 550 views
    • 1 answers
    • 0 votes
  • Supporter Asked on October 27, 2016 in Technology.

    Hello,

    Login into your server as a root user.

    [root@localhost]# vncpassword

    password :

    set the password :

    re-enter the password:

    then exit.

    Install vnc viewer on your local where you want to monitor

    In place of ip replace with your server ip:5901

    5901 is the default port

    then connect.

    • 560 views
    • 1 answers
    • 0 votes
  • Supporter Asked on October 10, 2016 in Programmer.

    This issue may be resolved by upgrading your MySQL version.

    To see the present version which is installed in your system.

    see the version

    [root@localhost]# rpm -qa | grep mysql

    Install and activate the REMI and EPEL RPM Repositories

    [root@localhost]# wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm && rpm -Uvh epel-release-latest-6.noarch.rpm

    [root@localhost]# wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm && rpm -Uvh remi-release-6*.rpm

    To to enable the REMI repository globally:

    [root@localhost]# vi /etc/yum.repos.d/remi.repo

    under remi section change enables=0 to enabled 1

    save and exit.

    update and mysql 5.x to latest

    [root@localhost]# yum -y update mysql*

    [root@localhost]# rpm -qa | grep mysql

    you can see it will updated to 5.5

    • 821 views
    • 1 answers
    • 0 votes
  • Supporter Asked on October 1, 2016 in Technology.

    Hello all,

    [root@localhost]# service mysqld stop

    [root@localhost]# sudo mysqld_safe –skip-grant-tables &

    [root@localhost]#  mysql -uroot

    [root@localhost]#  use mysql;

    [root@localhost]# mysql -uroot

    [root@localhost]# update user set password=PASSWORD(“REPLACEYOURPASSWORD”) where User=’root’;

    [root@localhost]# flush privileges;

    [root@localhost]# quit

    [root@localhost]#  service mysqld restart

    [root@localhost]# mysql -u root -p

    • 549 views
    • 1 answers
    • 0 votes
  • Supporter Asked on August 8, 2016 in Programmer.

    Hello,

    we can take multiple databases backup using   the command :

    To back up multiple  mysql databases

    #mysqldump -u root -p(password)  —- databasename1  databasename2 > databasename1_databasename2.sql

    To backup all databases :

    #mysqldump -u root -p(password) –all -databases>all-databases.sql

    • 568 views
    • 1 answers
    • 0 votes