I have installed and got some conky script but after system starting its hiding automatically and the only way I can see it while shutting down.So I have googled and got some solution which can fix my problem.Open your conkyrc file which is a hidden file in home directory with$ vim .conkyrcor$ vim ~/.conkyrc Find the area of below lines and make the configuration as I have mentioned.own_window...
See Open Ports in a Linux PC ( Localhost/Remote Machine)
November 27, 2014
Raaz
centos, commandline, fedora, Linux, nc, network, network cat, open ports, port scan, portscan, redhat, ubunut
No comments
Edit
Tutorial on .htpasswd and .htaccess with apache(httpd) in Linux
November 16, 2014
Raaz
.htaccess, access, apache, centos, debain, fedora, htaccess, htpasswd..htpasswd, Linux, protecting, redhat, restricitng, securing, ubuntu, Virtualhosting
No comments
Edit
If there is a situation that have to dealt with like a public website but with some secret information.How can we protect the information ? .We can use .htpasswd and .htaccess in that time.How ? Lets see................Open your terminal and type as vim /etc/httpd/conf/httpd.confand find line no : 334 to 338....
Make the system Time Zone persistent across REBOOT in Linux
Hi Guys!
Are tou tired of fixing the Time Zone across reboot in your Linux box..? Here are three simple steps for you to fix the issue.
In this example we are fixing the time zone to IST. Similarly you can set it to any Time Zone of your choice.
Step:1 Set the hardware clock to IST time zone
# ln -sf /usr/share/zoneinfo/Asia/Calcutta /etc/localtime
Step:2 Verify the hardware clock is set...
How To do Software RAID using mdadm in CentOS
Today I am writing about how to create Software RAID. Creating Software RAID is pretty easy. All we need either 3 equal size partitions on different harddisks or 3 equal size harddisks. In my approach , I am doing this in VmWare by choosing 3 virtual harddisks with equal 1 GB Size. Our first step is we need to make those harddisks...
VSFTPD - Passive mode port configuration
Virtual Hosts in Apache -Linux
############################Listen 192.168.56.150:80Listen 192.168.56.151:81############################So above two lines are stands for IP based virtual hosting and as well as Port based Virtual Host.The virtual Host which listens to the 1st IP will browse throughh port 80 but other will listens and browse through port 81 only.Now We have to configure Virtual Hosts#########################################<VirtulHost...
Rename Database in MySQL
Today I am writing about how to rename MySQL Database.So If you want to rename a database in MySQL dont forget taking backup of your Views,Procedures and Functions of current database. Because while you renaming changes wont apply for Views,Procedures and functions.After you have taken the backup , We can go for renaming with the command below.RENAME TABLE old_db.table TO new_db.table;Here old_db...
Famous SELinux Contexts
November 03, 2014
Raaz
centos, context, famous, fedora, Linux, RedHat Linux, regular, selinux
No comments
Edit
How to set the primary IP address of a Windows Server 2008 R2
November 01, 2014
Venkata Rao Amudalapalli
2008, ipaddress, outgoing ip, server2008, Windows Server 2008, Windows Server 2008 r2
No comments
Edit
Hi All..!
Finally, today I got a solution for the problem continuously facing, whenever we add a new IP to our servers (Windows 2008 server), the primary IP address ( the default outgoing IP) is getting changed automatically which in turn causing lot many issues later.
Here is the solution.
http://www.aip.im/2013/01/how-to-set-the-primary-ip-address-of-a-windows-server-2008-r2/
This...
Use Wget for downloading from FTP with username and Password
October 14, 2014
Raaz
centos, commandline, debian, download, downloading files, ftp, Linux, redhat, ubuntu, wget
No comments
Edit
Hi , We all know we can use wget to download files from command-line.Downloading files from FTP can be done but for with username and password you have to scroll manpage a lot.wget --user <username> --password <password> ftp://xxx.xxx.xxx.xxx/dir/file/downloadto resume wget -c --user <username> --password <password> ftp://xxx.xxx.xxx.xxx/dir/file/downl...
Automation with Cron
September 21, 2014
Raaz
at, automation, centos, cron, crontab, fedora, Linux, opensource, redhat, scheduling, taskmanagement, time., ubuntu
No comments
Edit
In every linux cron service we found and it is most familiar command to every system administrator. I am proud to be one of them.CRON - Introduction :The cron is a daemon and we can manage it with service names crond. Cron is the best solution in all sort of Linux Operating systems to run scritps,commands at a determined or specified time. So as I did mentioned it is a service it will start with system...
How to remove Shutdown,restart options from startmenu in windows server 2008.
1. Open run 2.Type gpedit.msc3.choose User Configuration -> Administrative Templates -> Start menu & Task BarChoose Remove and prevent access to the Shut Down, Restart, Sleep, and Hibernate commandsand open it and select enabled.Thensee whether it is updated or not. If its not updated then open run and type asgpupdate /forceand now shutdown,restart removed from start me...
Basic MySQL Administration
September 15, 2014
Raaz
administration, backup, basics, database, MySQL, mysqldump, restore, table
No comments
Edit
1. How to create a user and along with his privileges automatically ?GRANT ALL PRIVILEGES ON database.* To 'username'@'hosr or IP ' IDENTIFIED BY 'password';flush privileges;2. How to give only specific privileges to users ?GRANT select,lock tables ON *.* To 'user'@'host or IP ' IDENTIFIED BY 'password';flush privileges;3. How to see permissions of a user ?show grants for 'username'@'hostanme';4....
Reset root password in CentOS 6
In CentOS base version , I mean v6 there is a bug and you cant reset the password in the usual way. I am going to mention both the ways.To reset root password of CentOS machine, Start your PC. You will get GRUB screen and there choose " e" to edit booting kernel. After that It will open in a new window with current configuration.If you observe there you can find a line with two last words like "...
CentOS 7 not detecting Windows
CentOS 7 Repositories
table.curvedEdges { border:10px solid RoyalBlue;-webkit-border-radius:13px;-moz-border-radius:13px;-ms-border-radius:13px;-o-border-radius:13px;border-radius:13px; } table.curvedEdges td, table.curvedEdges th { border-bottom:1px dotted black;padding:5px; } !-- Be sure to place the above styles (i.e. everything between the tags) into the document 'head' (i.e. between the tags. Everything below...
Explanation of /etc/fstab
September 03, 2014
Raaz
/etc/fstab, centos, explanation, fedora, fields, Linux, redhat, ubuntu
No comments
Edit
Install lshw in CentOS 6.X
While I am trying to use the command lshw in CentOS 6 , I just came to know that it is not installed and not available in main repo.To install lshw in your CentOS PC .1. Open Link : http://pkgs.repoforge.org/lshw/?C=M;O=D2. Copy download link of latest rpm package3. Install with yum rather than using rpm , if you use rpm then it will fail due to missing dependencies. so better to use yum.# wget...
Process Management
Hello , My new blogpost is about Process Management and I have gone all concepts of Process Management. I have written this document with help of .Doc and it consists of images. So its hard to maintain the format in blogger too. I am placing the download link , Please use that link to download. I hope it helps you. To Download my post Please click h...
TCP Wrappers

The Simple thing I can tell us all about TCP Wrappes is " TCP Wrappers are Host-Based Networking Access Control List (ACL) System & used to filter Network access to Internet.For all services in Linux TCP wrappers cant be applicable by default and its possible if source of the service got compiled...
SSH configuration: sshd_config file
In SSH Server , we do have two types of configuration files. They are sshd_config and ssh_config.Here sshd_config is all about server side configuration. The behavior of SSH server written at this file.In this article I am writing a simple article with few best practices over sshd_config.Note: For edit that you are doing to sshd_config , you must restart sshd service. Please review my last article...
Subscribe to:
Posts (Atom)