I decided to go with Cent OS after reading about it in the forums here, but I've had nothing but problems trying to install it. I first tried to do a net install but the installation took nearly an entire day because it would keep popping up messages about corrupt files when downloading the package files. Eventually it just gave up or rebooted because I came in in the morning to find it at a message saying "No OS installed". I then burned all 7 installation disks and tried that way, still got a few of the corrupt file messages (but far fewer than the previous time) and made it through the installation only to still have it say "no os installed" again after the reboot. I thought maybe it had something to do with the fact that I was not installing a boot loader (there is no other OS installed anyways) but when I tried to reinstall a third time, this time with the boot loader, it now says that the CD drive (USB) is already mounted on tty2 and I can't even start the installation? WTH!
The server is a Dell PowerEdge R300 with two Intel Core 2 Duo 64-bit processors. I'm using the x86_64 ISOs from the Centos.org mirrors.
I'm testing out the old version of CentOS which is CentOS 2.1 on Virtual PC and I'm running into some problems. After installation of CentOS, it asks me to reboot the system so then I reboot it. Then it prompts me for the login and password.
I type in "root" and my password. Then I'm stuck inside this command prompt that says:
Now, how exactly do I get into CentOS graphical user interface, or is this it?
I'm trying to install imagemagick on centos using yum... I did the yum update, then tried 'yum install ImageMagick', but that didn't work - "Nothing to do". I also tried the i386 RPM, which also did not work, I'm missing a bunch of dependencies, has anyone installed this on CentOS know of a specific rpm or another way to install? Ideally, without installing through source.
I followed a combination of this tutorial:[URL]and this tutorial [URL] (I had to use a combination since following each individually brought up errors along the way).
Anyhow, installing OpenVPN was a breeze but I think I am getting hung up on the configuration part. Basically after generating all of the certificate files and stuff, when i try to "service openvpn start" i just get the message "FAILED".
Where do I look to see what the reason for the failed start could be?
I've got a 'virgin' machine from Nocster running CentOS 5, including a SATA drive (shows up as "SCSI").
It looks like it'll be a straight-forward install [url], but I wondered if anyone has had this exact combination before and if there are any problems I should expect? Given that it's a dedicated machine I don't have physical access to, I'm slightly paranoid about screwing up.
how to install CentOS by not using the installer. This guide should be great when installing over networks, don't have a graphical console available (for installing over serial), when you're not content with the installer's job, installing CentOS from another distro, or plainly want to learn more about how CentOS works.
Requirements: * Have a host OS that has the "rpm" package manager available. Some distributions have it in their repositories (even if the package manager for the distro itself is not rpm), and knoppix (a linux live/rescue CD) has it aboard too. You can use the first CentOS ISO CD too (use linux rescue at boot), and it has all the necessairy packages aboard * Access to the CentOS base repository. It's on the first CentOS ISO CD * Use your BRAIN. This guide is ment to be interpreted, not copy/pasted
Code: # First, setup your disks to your liking. You can use whatever you want here, # RAID, LVM, etc... Remember your disk configuration because you'll need it # to configure grub, menu.lst and fstab. Using RAID, LVM, or others will require # more configuration than this guide covers. To keep it simple I'm using a # single disk. An example:
$ fdisk /dev/sda $ mount /dev/sda3 /target $ mkdir /target/boot $ mount /dev/sda1 /target/boot
# Depending on the host OS you're using, you may need to initialize the rpm db # on the host OS $ rpm --initdb
# Use the following command to install the packages. I'll be addressing this # command as $rpm.
$ rpm --root /target -i
# Use your shell's tab completion to complete the package filenames. I # deliberatly left out the versions so these instructions apply to a wide range # of versions
# Let's install some basics $rpm setup basesystem filesystem
# Install bash first, this is needed for post-install scripts $rpm bash glibc glibc-common termcap libgcc tzdata mktemp libtermcap
# Install some dependencies (this is mainly to keep the next command smaller) $rpm grep pcre libstdc++ info ncurses zlib gawk sed ethtool
# If this command gives an error, you can safely ignore this because it's not # of importance. What is important is that grub-install copied the right files # to /boot/grub that we need for booting. $ /sbin/grub-install /dev/sda
# Manually install grub if the previous step failed. - means type it in the grub # shell $ grub $- root (hd0,0) $- setup (hd0)
# Optional packages # You may want to install passwd so you can set passwords ;-) $rpm passwd libuser openldap cyrus-sasl-lib
# These are used to set the keyboard language (loadkeys) $rpm kbd usermode
# ** Right now you should have a bootable system! Here are some tips to help you # through your 1st boot ***
# Most of the system configuration happens in /etc/sysconfig. See
for full documentation.
Some quick post-install tips: * Configure your keyboard in /etc/sysconfig/keyboard using the KEYTABLE variable
* Configure networking Take a look at /etc/sysconfig/network-scripts. See ifcfg-lo for an example.
# This recreates the RPM database. If the host OS you used has a different # version of db, rpm will complain with # rpmdb: unable to lock mutex: Invalid argument $ rpmdb --rebuilddb
Code: [root@server ~]# sh ./hypervm-install-master.sh --virtualization-type=openvz Here is the output it's returning to me (From log file)
Code: Installing packages which lxlighttpd zip unzip lxphp lxzend curl mysql mysql-server mysqlclient10... Setting up Install Process Setting up repositories Reading repository metadata in from local files Excluding Packages in global exclude list Finished Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package lxphp.i386 0:5.2.1-90 set to be updated ---> Package lxzend.i386 0:3.3-lxa set to be updated ---> Package lxlighttpd.i386 0:1.4.13-1 set to be updated --> Running transaction check --> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14) for package: lxphp --> Processing Dependency: libmysqlclient.so.14 for package: lxphp --> Finished Dependency Resolution Up2date Gave Error... Trying Again...
Just to make things clear, i am not new at setting up VPS nodes, i have set up all of my servers with the HyperVM/OpenVZ setup and they work perfectly, but im having a problem with a new server.
Just received my new server, installed HyperVM-Slave, rebooted but the OpenVZ kernel was not installed for some reason, so i manually installed the OpenVZ Kernel using the RPM as yum seemed to install the wrong kernel.
I then installed the kernel using RPM and got this error at the end of installation:
grubby: unable to open /dev/hda: No such file or directory grubby: unable to open /boot/boot.b: No such file or directory grubby fatal error: unable to find a suitable template
I have never encountered this error with any of my other servers before...
Also after installation everything seems to be correct. /etc/grub.conf has the new OpenVZ kernel displayed, and default is set to 0, so upon startup it should be booting the correct kernel, but the thing is, when i reboot the machine the default kernel is loaded even though the grub.conf is configured to load the OpenVZ Kernel.
Im thinking that this may be due to the error i got when installing the kernel.
I designed my companies website but we've had a change in IT and php went down. The new guy (who is here to fix things) just sent me this and quite frankly I'm at a loss (i use a VPS, thus never having to deal with this stuff). But seeing how it's my own company I figured I'd try to help.
Here is the question:
You are running IIS (windows server). The PHP should be something straight forward, but as we see it is not... Previously, you had PHP ver PHP 5.2.6 dated may 2008. - it wasn't working correctly. I updated it with the latest version php-5.2.9-1 dated march 2009. - and now the PHP is not functioning.
My questions, if you know was to figure which option of PHP cgi are you using. IIS ISAPI module IIS FastCGI IIS CGI
Then, when installing the PHP, there are many extensions that are optional to install. Do you know or can you tell me, which extensions are needed by your app?
Honestly, the website just uses a few php includes to template it (and make my life easier). And that's what were trying to get working.
trying to install nameserver in cPanel and getting errors about missing dependacies.
when I try and do it manually by running: yum install bind it goes ok for a while then I get the following:
Error: Missing Dependency: e2fsprogs-libs = 1.39-10.el5 is needed by package e2f sprogs Error: Unable to satisfy dependencies Error: Package e2fsprogs needs libblkid.so.1, this is not available. Error: Package e2fsprogs needs e2fsprogs-libs = 1.39-10.el5, this is not availab le. Error: Package elinks needs libcom_err.so.2, this is not available. Error: Package cadaver needs libcom_err.so.2, this is not available. Error: Package util-linux needs libuuid.so.1, this is not available. Error: Package pkinit-nss needs libcom_err.so.2, this is not available. Error: Package openssl needs libcom_err.so.2, this is not available. Error: Package nss_ldap needs libcom_err.so.2, this is not available. Error: Package openssh-server needs libcom_err.so.2, this is not available. Error: Package fetchmail needs libcom_err.so.2, this is not available. Error: Package util-linux needs libblkid.so.1, this is not available. Error: Package cryptsetup-luks needs libuuid.so.1, this is not available. Error: Package pam_krb5 needs libcom_err.so.2, this is not available. Error: Package krb5-libs needs libcom_err.so.2, this is not available. Error: Package parted needs libuuid.so.1, this is not available. Error: Package openssh needs libcom_err.so.2, this is not available. Error: Package quota needs libcom_err.so.2, this is not available. Error: Package readahead needs libext2fs.so.2, this is not available. Error: Package krb5-workstation needs libcom_err.so.2, this is not available. Error: Package cyrus-sasl needs libcom_err.so.2, this is not available. Error: Package mutt needs libcom_err.so.2, this is not available. Error: Package e2fsprogs needs libe2p.so.2, this is not available. Error: Package e2fsprogs needs libext2fs.so.2, this is not available. Error: Package neon needs libcom_err.so.2, this is not available. Error: Package e2fsprogs needs libuuid.so.1, this is not available. Error: Package openssh-clients needs libcom_err.so.2, this is not available. Error: Package krb5-workstation needs libss.so.2, this is not available. Error: Package quota needs libext2fs.so.2, this is not available. Error: Package ipsec-tools needs libcom_err.so.2, this is not available. Error: Package e2fsprogs needs libss.so.2, this is not available. Error: Package gnupg needs libcom_err.so.2, this is not available. Error: Package curl needs libcom_err.so.2, this is not available. Error: Package readahead needs libuuid.so.1, this is not available. Error: Package e2fsprogs needs libcom_err.so.2, this is not available. Error: Package readahead needs libblkid.so.1, this is not available. Error: Package nfs-utils needs libcom_err.so.2, this is not available. Error: Package readahead needs libcom_err.so.2, this is not available.
installing svn on my Directadmin server. I'm trying to get it configured with apache, but I'm having some trouble.
When I run "yum install mod_dav_svn" it tells me there is nothing to do. I'm not sure why this is. I think it may have something to do with Apache 1 originally installed on the server. I upgraded to Apache 2.26 via the new custombuild script by DA.
I have to admit that I really don't even know what DAV (same as webdav?) is. This should be a straight forward install, but I think because of Directadmin it's much more complicated.
I know that I could pay someone to do this for me, but I don't learn anything that way. I'm a CS undergrad, so I really like learning.
I tried installing MRTG in my Linux Server by using help from -
What i have done till now is -
cd /usr/local/src gunzip -c mrtg-2.16.2.tar.gz | tar xvf - cd mrtg-2.16.2
make install After this i am unable to understand what to do, and how to start MRTG graphs.
* the next last step says,
The next step is to configure mrtg for monitoring a network device. This is done by creating an mrtg.cfg file which defines what you want to monitor. Luckily, you don't have to dive straight in and start writing your own configuration file all by yourself. Together with mrtg you also got a copy of cfgmaker. This is a script you can point at a router of your choice; it will create a mrtg configuration file for you. You can find the script in the bin subdirectory.
This example above will create an mrtg config file in /home/mrtg/cfg assuming this is a directory visible on your webserver. You can read all about cfgmaker in cfgmaker. One area you might want to look at is the possibility of using --ifref=ip to prevent interface renumbering troubles from catching you.
^^ this is what i am not able to understand.
When i ran the script, (below mention) it gave many errors, how to resolve them ?
[root@c bin]# ./cfgmaker --global 'WorkDir: /home/httpd/mrtg' --global 'Options[_]: bits,growright' output /home/mrtg/cfg/mrtg.cfg eth0 Error: can't resolve "output" to IP address at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 428 SNMPWALK Problem for public@output::::::v4only at ./cfgmaker line 950 WARNING: Skipping public@output: as no info could be retrieved
Error: can't resolve "/home/mrtg/cfg/mrtg.cfg" to IP address at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 428 SNMPWALK Problem for public@/home/mrtg/cfg/mrtg.cfg::::::v4only at ./cfgmaker line 950 WARNING: Skipping public@/home/mrtg/cfg/mrtg.cfg: as no info could be retrieved
Error: can't resolve "eth0" to IP address at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 428 SNMPWALK Problem for public@eth0::::::v4only at ./cfgmaker line 950 WARNING: Skipping public@eth0: as no info could be retrieved
# Created by # ./cfgmaker --global "WorkDir: /home/httpd/mrtg" --global "Options[_]: bits,growright" output /home/mrtg/cfg/mrtg.cfg eth0
### Global Config Options
# for UNIX # WorkDir: /home/http/mrtg
# or for NT # WorkDir: c:mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right # Options[_]: growright, bits
EnableIPv6: no WorkDir: /home/httpd/mrtg Options[_]: bits,growright
Wondered if anyone has managed to install SSL on fasthosts dedicated server?. I have bought an SSL certificate from goDaddy, but it just won't install. Fasthosts support is OK until you tell them that you're dedicated then they just say they can't help technical questions on that, but an engineer can help @ £60 per ½ hour. goDaddy tech support keep sending me the same instructions, and I've now tried 3 times & just not recognised
configure: error: Cannot find MySQL header files under /usr/local/webserver/mysql. Note that the MySQL client library is not bundled anymore!
Because mysql installed on another physical server. so how may I fix the problem? can I configure php without "---with-mysql" and "--with-mysqli" parameters? I need my php could access remote mysql server.
I'm using PhantomJS on windows and accessing the files through command line. Now I want to install it on the server I'm working on local host so I want it to be installed on Apache, so that I may integrate Phantom with my html and PHP to be used within a web page. I'm using Windows 8.1 and Apache Server for localhost.
Can I actually do that? How to use it in web services now? How i will use it if I have to make my web online? should I have t ask my hosting provider to place this thing on server for me?
I'm using phantomJS to develop a web service which takes a url as input and returns an image file of the screen shot of the website.
I have had my websites hosted with 1and1.fr for nearly 3 years now and have never had the slightest issue with them. I used to host a static average traffic website plus a punBB forum and some low traffic joomla based websites (nothing that needs much power as you can see).
A week ago, I bought a website (wordpress blog) and the guy included two proxies in the sale. I installed the two proxies and had a lot of trouble installing the wordpress blog so I moved it to another host where it now works all right. However, I am still getting 500 Internal Server Errors on my initial host (I thought it was caused by the wordpress blog) on all my websites hosted at 1and1 and it happens almost every other page!
I have many questions:
- are the proxies the cause?
- how can I know my websites have been moved to another server?
- do you think a VPS can solve the problem, or do I need a dedicated server?
- what is the best solution for hosting proxies?
I have sent a ticket to them yesterday and I am still waiting!
The company I work for unfortunately runs their site on a IIS server. I want to install some forum software, vBulletin or phpBB onto the server and run it on the same site. PHP of course needs to be installed to do this.
Boss is worried that putting PHP on same server as ASP might take down the site if something goes wrong. What are the odds of this happening if I follow directions and what steps should I take to install?
Just wondering if there is a list / guide on what files should be set to either chattr +i or chattr +a?
You could go a little 'crazy' and chattr +i all your major binaries......however my only issue with this is that yum updates will fail until you manually chattr -i and update. what not to chattr +i or chattr +a?