Solutionist's Blog

Tech | Health | Life | Travel

LinkedIn proves it’s no Facebook (in a good way)

Post-IPO life hasn’t been kind to Facebook and other newly public social startups, whose plummeting shares have left investors downtrodden. But LinkedIn, the first of the big social network upstarts to go public, continues to prove it can be a money-making machine. Wall Street analysts had high expectations for LinkedIn’s (LNKD) fourth quarter, and the company still beat […]

Kaspersky anti-virus cuts web access of thousands of PCs

Thousands of computers running Microsoft’s Windows XP operating system were unable to connect to the internet after installing an anti-virus update. Users said they were also unable to access their internal company networks. Russian IT security company Kaspersky Labs told users to disable its anti-virus software or roll back the update. Two hours later it issued […]

add static route in Cantos and make sure it wont loose after reboot

1. Adding Routes [root@localhost ~]# route add -net 10.4.3.0 netmask 255.255.255.0 gw 192.168.129.55 [root@localhost ~]# Or [root@localhost ~]# route add -net 10.4.2.0 netmask 255.255.255.0 dev eth0 [root@localhost ~]# 2. Show routing table [root@localhost ~]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.129.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 10.4.3.0 192.168.129.55 […]

Find out the IP address of eth0 and display IP only

  Now you just wanted the IP address, use grep to get the IP: $ /sbin/ifconfig eth0| grep ‘inet addr:’Output: inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0 To get IP address from use cut command: $ /sbin/ifconfig eth0 | grep ‘inet addr:’ | cut -d: -f2Output: 192.168.2.1 Bcast Finally remove Bcast with awk $ /sbin/ifconfig eth0 | grep […]

How can i see if an ethernet interface is up/down linux centos

watch ip link show   ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 50:e5:49:45:3f:96 brd ff:ff:ff:ff:ff:ff 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:0a:cd:20:31:4a brd ff:ff:ff:ff:ff:ff 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether […]

Fix: Cyrus-IMAP Logging region out of memory cirus imap

I found out that the Cyrus-IMAP’s database is flagging with errors as below: [root@mail ~]# tail -n 100 -f /var/log/maillog Mar 24 10:36:14 mail lmtpunix[4017]: executed Mar 24 10:36:14 mail lmtpunix[4017]: DBERROR db4: Logging region out of memory; you may need to increase its size Mar 24 10:36:14 mail lmtpunix[4017]: DBERROR: opening /var/lib/imap/deliver.db: Cannot allocate memory Mar 24 10:36:14 mail lmtpunix[4017]: […]

Secured By miniOrange