centos 5.5 how to set scheduled time for start and stop httpd and mysql
location: linuxexchange.com - date: April 15, 2015
Server: centos 5
idia is to set auto job on server to keep service of httpd start from 1:00am to 3:00 pm and the rest time the service should be down.
is it possible to have script on server that could run this job automatically with out having it manaually:
sudo service httpd start
sudo service httpd stop
means the mention job should be on script
so far i have used:
have added bellow line on crontab
00 03 * * * bush /scripts/stop.sh
this is the code for script of stop.sh in /script/stop.sh
sudo service httpd stop
but still i am getting no result mean the httpd service is start status.
How to replace centos?
location: ubuntuforums.com - date: June 14, 2013
I have a dual boot machine WinXP/Centos5. I choose the operating system with grub at boot. I want to replace Centos with Ubuntu. What is the best way to do this?
thanks in advance
How can I set the default desktop to KDE in CentOS 6.4?
location: linuxquestions.com - date: March 20, 2013
I always run KDE, and under CentOS 6.3 I could set the default desktop to KDE by setting /etc/sysconfig/desktop to
This does not seem to work under CentOS 6.4. I tried changing DISPLAYMANAGER to KDM but that didn't work. I've tried other variations as well, but I always get gnome. What has changed in 6.4 that's preventing me from getting KDE?
How to disable selinux at centos 6.2 aftermounting in ubuntu inrecovery mode:Vps
- date: June 21, 2012
I have been running our server in centos 6.2 ,Since selinux had enabled in my centos 6.2 made my server to unreachable.I just made the server to mount in recovery mode in ubuntu .My server harddrive is /dev/sda1 .pls help us how can i disable selinux after mounting .I had hosted the server in vps
:~# fdisk -l
Disk /dev/sda: 500.0 GB, 499999834112 bytes
255 heads, 63 sectors/track, 60788 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ab69f
Device Boot Start End Blocks Id System
/dev/sda1 * 1 65 522081 83 Linux
/dev/sda2 66 60657 486705240 83 Linux
/dev/sda3 60658 60788 1052257+ 82 Linux swap / Solaris
Last login: Thu Jun 21 16:58:04 2012 from 126.96.36.199
:~# mount /dev/sda1 /mnt
:~# cd /mnt/
How to turn off Firewall in ubuntu at system start up
location: linuxquestions.com - date: June 12, 2012
Im new to ubuntu distro .I could find two set of firewall iptables as well as ufw running. whenever system get reboot and making my system unreachable.How can i disable ufw as well iptables in boot level.
Resolved: VMWare how to change screen resolution CentOS or Fedora guest
location: linuxquestions.com - date: November 9, 2008
I just built a CentOS 5.2 VM using VMWare Workstation running on Ubuntu 7.10. I installed VMWare tools from the Workstation menu. However, I was stuck with 640x480 or 800x600 screen resolutions. I then built a Fedora 9 VM. It shows me higher resolutions however, it will not run at more than 800x600.
This has not been an issue with Ubuntu, Kubuntu or various Windows VMs I have built. After some researching I came across a post on the VMWare community. It asked 2 questions:
Did you install VMWare Tools? (yes I did)
Did you CONFIGURE VMWare Tools? (well, no I did not)
I ran the configuration script as root using the following command
How to start KDE automaticlly without typing "startx" then "startkde"
location: linuxquestions.com - date: October 29, 2004
How to start kde automaticlly without typing "startkde"? First I have to type "startx" first then type "startkde" to get KDE to start. I want to be able to start KDE automaticly when I type "startx". I googled about it and went to x.org and KDE websites I did not get a clear answer. I did a base install of slackware linux (when I say base install I did not install KDE or Gnome) then I downloaded and installed KDE 3.3.1 and all of it's dependencies with "installpkg" command (they were packages in .tgz format).
When I did some reading on it called for a .xinitrc file and I DONT EVEN HAVE ONE! I looked in the home directory as suggested I had un-hide my hidden files I even searched the X11 directory and entire hard drive and nothing! I don't even know how to create one! I took a look at the xorg.conf file for some kind of an answer to no avail. When I do get into KDE it has a annoying login terminal window open and when I close it KDE an
How do I learn to start Game Programming In Java (Or any language)
location: linuxquestions.com - date: June 3, 2008
I have a reasonable level of programming experience, mainly in Java through a 200 level University course. But we have only ever designed things like sorting algorithms and data structures.
I would love to start to learn game programming, just to make some basic 2D and maybe somedy 3D games remeniscent of my childhood Amiga games. I really don't know how to move from programming concepts to moving graphics and accepting key inputs. Can anyone please tell me what I need to start researching/reading up about? Point me in the direction of some tutorials? I would be using Eclipse on Linux.
I have been reading around 'http://wiki.gamedev.net' but it doesn't say how to get from "Hello World" type things to actual games.
I would happily learn another language if it is going to be more beneficial.
How do I start a default game in ubuntu10.11 ?
location: ubuntuforums.com - date: March 27, 2012
I am new with linux and I didn't find how to start the default installed games. I want to introduce my kids to the linux world and I must show them games. As an example: how do I start FreeCell Solitaire; in Ubuntu Software Center under installed software I got this one.
Centos 5.5 Paravirtualization how to?
location: linuxquestions.com - date: March 28, 2011
I am trying to setup a Paravirtualization debian ubuntu guest image using centos 5.5 the thing that I don't understand is the media url
How would I setup a media url ? or is there a public one I could use
Page: 1 2 3 4 5 6 7 8 9 10