I faced an issue with yum update failed. While updating through yum , My server power went down. Hence, all packages corrupted. I found below command to fix this issue.
# yum check dependencies \
| grep 'has missing requires' \
| sed 's/.\+has missing requires of //' \
| sed 's/ [=<>].\+//' \
| while read dep; do yum -y install "$dep"; done
Recently installed centos7 on my Laptop. But my laptop touchpad is not working, after a couple of days.
I’m glad this is fixed in CentOS 7.
I found a fix for F22 though, on askubuntu.
I had to tweak it a bit for Centos 7.
Here we go :
add i8042.nopnp at the end of the options of GRUB_CMDLINE_LINUX
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
echo “blacklist i2c_hid” | sudo tee /etc/modprobe.d/i2c-hid.conf
sudo depmod -a
sudo dracut -v -f
echo “synaptics_i2c” | sudo tee -a /etc/modules
Reboot and the Laptop Touchpad should work.
Found the problem I have set Environmental Variables in /etc/environment which caused the system.
FIX : PATH=/usr/local/bin:/usr/bin:$PATH
Then , THe issue resolved, Remove the content in the /etc/environment file. Happy Fixing 😉
Linux Malware Detect (http://www.rfxn.com/projects/linux-malware-detect/) installation is quite easy :).
download via the link, http://www.rfxn.com/downloads/maldetect-current.tar.gz.
Unzip the file # tar zxvf maldetect-current.tar.gz
change the directory to extracted one.
which will install the scanner to your system. To perform the scanning itself you are to run
Eg: maldet -a /var/www/html
-a option here means that you want ro scan all the files.
Use -r instead to scan only recent ones.
Yout will get an scanned report in screen, use maldet -q to view the reports.
What is DynDNS:
As you know any domain should be pointed to an IP in order to be seen in browsers. If you don’t have a connection to the internet with static IP (cable, DSL, etc.), then it becomes tedious to set an A record for your domain every time your IP changes. Dynamic DNS is a feature that will allow you to point a domain name to any IP and the changes are almost immediate.
For example, you have a server at home and host a website on your computer. But you don’t have a static IP, that is the IP changes each time you reconnect to the Internet, you can setup Dynamic DNS for the domain.
Download from the below link:
1) cp ddclient /usr/sbin/
2) mkdir /etc/ddclient
3) cp sample-etc_ddclient.conf /etc/ddclient/ddclient.conf
4) vi /etc/ddclient/ddclient.conf
— and change hostnames, logins, and passwords appropriately
## For those using Redhat style rc files and using daemon-mode:
cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
## enable automatic startup when booting
/sbin/chkconfig –add ddclient
## start the first time by hand
## If you are not using daemon-mode, configure cron and dhcp or ppp
## as described below.
use=web, web=checkip.dyndns.com/, web-skip=’IP Address’
# I need to update for my subdomain
ddclient -daemon=0 -debug -verbose -noquiet
Cache file location :
—– End —
After long time, I am back…As I bit busy with office work, I dont have time to spent.
Recently i faced on issue on ubuntu desktop 12.10. When i boot the system , I got grub normal.mod not found.
To follow the below steps
1) Boot Live CD or USB (Try ubuntu option)
2) It will automatically connect the internet, else please configure network settings as per your infrastructure
3) open terminal > sudo add-apt-repository -y ppa:yannubuntu/boot-repair && sudo apt-get update
4) apt-get install -y boot-repair && boot-repair
Press Enter. That’s it, the Boot-Repair window will appear!
5) Select recommended repair option, it will take 5 – 10 mins , then reboot,