Apparently on of my colo customers sent the server without the OS or CD drive, and wants us to install CentOS 4.4 64 bit.
Any way to get "download" version of it, put it on a floppy, put it in the server and let the server download the rest from the internet (after we enter the IP info, so it can connect)?
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:
[root@localhost root]#
Now, how exactly do I get into CentOS graphical user interface, or is this it?
Ive gotten all of it to work.. but instead of using SSH (caus I really dont understand it) Am I able to install VNC? And just connect + use the desktop like that?
my question is pretty much can I install VNC on CentOS 4.5 using SSH?
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 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'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
# You may also want to install your favorite editor $rpm nano
# This provides /root with some defaults, like color highlighting on `ls` $rpm rootfiles
# Right now you have system which you can chroot to, so we can start setting up # the basics
# Mount directories for chroot operation $ mount --bind /dev /target/dev $ mount -t proc none /target/proc $ mount -t sysfs none /target/sysfs $ chroot /target
# This constructs /etc/shadow $ pwconv
# Configure fstab $ nano -w /etc/fstab
# Installing the kernel. Do this back outside the chroot in the host OS system $ exit $rpm kernel mkinitrd cpio device-mapper-multipath dmraid gzip kpartx lvm2 nash tar less device-mapper-event
# Install the bootloader, grub. $rpm grub diffutils redhat-logos
# Let's chroot again to configure our bootloader $ chroot /target
# We start by configuring the bootloader. Open /boot/grub/menu.lst, and put the # following there
# 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
/usr/share/doc/initscripts
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...
I found this tutorial on how to install yum. The only issue is, we have CentOS 5. Is there a more recent article with the latest files needed to install yum on CentOS5 / Plesk VPS?
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 know this isn't really hosting related, but WHT has always given the best answers to questions.
Right here goes...
I have a new 1U server, which I ordered with no CD drive, as I have a little USB external DVD/CD which I would normally load the OS on.
However I have LOST IT !!!!
So I have been crawling the net for ways to install Windows XP (im just using XP for a very short time for testing!) from either a USB stick or by taking the hard drive out of the server, and copying the CD content onto it from a working windows computer.
I recently build a server with Asus M2N-MX SE motherboard and SuperMicro 14" mini 1u. On the back of the Asus M2N-MX SE manual. it said for RAID driver, i need to create it from the included CD and use a floppy disk. my question is how can i do it without a floppy disk? i have an external DVD-burner that i hook up to usb to install the OS. Is it possible to use a cd to install the driver when i press f6 during Windows2003 installation?
Is it worth the effort to setup RAID 1? I have two Maxtor 500GB SATA disks and using RAID 1 seem to reduce one disk and leave me with 500GB worth of space and is the onboard Nvidia RAID trust worthy? because it said due to chipset limitation, the SATA ports supported by the Nvidia chipset doesn't support Serial Optical disk drives (Serial ODD).
I am trying to install Magento on my apache server. I am running into the dreaded mcrypt issue as Magento needs it to run. I have now been googling for the past few hours and have gotten nowhere.
Here are my details:
Linux Centos 5.5 PHP 5.3.3 x86_64 Plesk 12
I have tried installing all sorts of different repos and it just isn't working.
When I try to install using # yum install php-mcrypt I get the following:
Loaded plugins: fastestmirror Package php-mysql is obsoleted by php-mysqlnd, trying to install php-mysqlnd-5.5.13-3.el5.remi.x86_64 instead --> Processing Dependency: php53-gd for package: psa-php53-configurator --> Processing Dependency: php53-imap for package: psa-php53-configurator
just recently upgraded from a fully managed VPS to a Dedicated Server. Everything seemed to be going fine, until I tried installing RoR. I have RubyGems installed and all that, but whenever I try to install Rails, the following happens.
I've read through a number of threads regarding installing GD. So sorry for yet another, but I just want to make sure that I'm doing this correctly.
As seen in the attachment below I'm presented with a few options:
Previously Saved Config (** DEFAULT **) Basic (If your previous build has failed, please use this option) No PHP PHP Encryption / E-commerce PHP Encryption and Image Manipulation PHP Image Manipulation PHP Security
Should I start by selecting the option "Previously Saved Config (** DEFAULT **)" and then "Start Customizing Based On Profile"? I've walked through the steps doing the above and have a question about the last section. Viewing the Exhaustive Options List shows GD as already checked yet towards the bottom I see a checkbox with the following (second attachment below): Quote:
Save my profile with appropriate PHP 5 options set so that it is compatible with cpphp
This option will make the following changes to your profile prior to the build: Enables:
CurlSSL FTP GD Gettext Iconv Imap Mbregex Mbstring Mysql Mysql of the system PGsql Sockets Zlib
Should I check to save and then click "Save and Build" to get GD installed?
Some additional information: I have downloaded my default profile. (lol Let's hope I don't have to use it because I wouldn't know where to begin!)
My php.ini file shows that GD is not installed or at least not compiled (if that's the right word to use). To clarify, GD is not in the list.
I have tried yum install pgp-gd and get the following:
root@server [~]# yum install php-gd Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * base: styx.biochem.wfubmc.edu * updates: mirror.raystedman.net * addons: dist1.800hosting.com * extras: mirrors.easynews.com base 100% |=========================| 1.1 kB 00:00 updates 100% |=========================| 951 B 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Excluding Packages in global exclude list Finished Setting up Install Process Parsing package install arguments No package php-gd available. Nothing to do root@server [~]# No package php-gd available.
root@server [~]# rpm -q php-gd package php-gd is not installed
root@server [~]# php -m [PHP Modules] bcmath calendar ctype date dom eAccelerator filter ftp hash iconv imap json libxml memcache mysql pcre posix Reflection session SimpleXML sockets SPL SQLite standard tokenizer xml xmlreader xmlwriter zlib [Zend Modules] eAccelerator
root@server [~]# yum list | grep -i gd gd.i386 2.0.33-9.4.el5_1.1 installed gd-devel.i386 2.0.33-9.4.el5_1.1 installed gd-progs.i386 2.0.33-9.4.el5_1.1 installed gdb.i386 6.5-37.el5_2.2 installed gdbm.i386 1.8.0-26.2.1 installed gdbm-devel.i386 1.8.0-26.2.1 installed sysklogd.i386 1.4.1-44.el5 installed aspell-gd.i386 50:0.50-4.2.2 base gdk-pixbuf.i386 1:0.22.0-25.el5 base gdk-pixbuf-devel.i386 1:0.22.0-25.el5 base gdm.i386 1:2.16.0-46.el5.centos base libgdiplus.i386 1.2.5-1.el5.centos extras libgdiplus-devel.i386 1.2.5-1.el5.centos extras root@server [~]#
i want to installing PHP 5 so my server can run 2 version of PHP (4 and 5)
im following the step here [url]
installing was successful
[root@s1 /usr/local/apache/logs]# /usr/local/cpanel/cgi-sys/php5 -v PHP 5.2.1 (cgi) (built: Mar 30 2007 17:07:11) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
but when i try to running phpinfo for it, its show me an error
i grep the error from error.log and got this
[Fri Mar 30 17:42:47 2007] [error] [client 202.65.236.10] Premature end of script headers: /home/uletbulu/public_html/info.php [Fri Mar 30 17:42:47 2007] [error] [client 202.65.236.10] File does not exist: /home/uletbulu/public_html/500.shtml [Fri Mar 30 17:44:07 2007] [error] [client 202.65.236.10] Premature end of script headers: /usr/local/cpanel/cgi-sys/php5 [Fri Mar 30 17:44:07 2007] [error] [client 202.65.236.10] File does not exist: /home/uletbulu/public_html/500.shtml
but for php 4 there is no problem at all or the syntax for php 5 not using phpinfo(); anymore?
Ive just installed PHP on my virtual server and am getting this error message:
PHP Warning: PHP Startup: (null): Unable to initialize module Module compiled with module API=20041030, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: (null): Unable to initialize module Module compiled with module API=20041030, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/dom.so' - /usr/lib/php/modules/dom.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: ?Mq?gpp?: Unable to initialize module Module compiled with module API=20041030, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mbstring.so' - /usr/lib/php/modules/mbstring.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: undefined symbol: empty_string in Unknown on line 0 PHP Warning: PHP Startup: D1q?`?p?: Unable to initialize module Module compiled with module API=20041030, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0
Does anyone have any ideas what this could be/how it could be fixed? Full phpinfo can be found here: jlwalsh.net/phpinfo.php - if theres any other info I can send let me know.
I have Kevin Yank's book, and have followed the instructions (I thought) absolutely correctly.
most of it seems to be fine, but when I open up the very first page created (the "today.php" project!).. it says "module not found"..
take out the <%php bit... and rename it as an asp file (just to be sure my /localhost settings etc were ok) and it works fine. It's clearly a php install error.. Where do I start looking?
I did search on the forum but failed to find any related thread...