Tag Info

Hot answers tagged

77

Update: Microsoft has created the Windows 7 USB/DVD Download tool to make this very easy. I used this guide as a set of directions - http://kurtsh.spaces.live.com/blog/cns!DA410C7F7E038D!1665.entry The steps are really longer than necessary. You need to: 1. Get a fast 4GB or larger USB Thumbdrive. 2. Run cmd.exe and enter the following commands followed ...


26

You need to preseed the debconf database. debconf needs to be installed first before you try this. The version of mysql and ubuntu could change the line: echo mysql-server mysql-server/root_password select PASSWORD | debconf-set-selections echo mysql-server mysql-server/root_password_again select PASSWORD | debconf-set-selections For example you made ...


23

You can use: yum -y install packagename The "-y" implies "yes".


22

(Note: ~ translates as /home/user in this post) Personally, I put all of my custom-made system scripts in /usr/local/bin and all of my personal bash scripts in ~/bin. Very few programs I install place themselves in /usr/local/bin directory so it's not very cluttered and it was already in the $PATH variable on most of my machines. To add /usr/local/bin to ...


15

You should be able to use setup.exe w/o the GUI: setup.exe -q -n -N -d -R c:\cygwin -s http://yourFavoriteMirror \ -l c:\localPackageDir -P <comma-separated list of packages to install> This is from cygwin mailing list (and follow up post)


12

On Windows, run "systeminfo" at the command prompt. You're looking for "Original install date".


11

I found two problems with the accepted answer: It assumes the usb drive is disk 1 for DISKPART. This can be resolved by using the LIST DISK command prior to SELECT DISK # to determine the correct disk number. The usb drive did not appear as a bootable device to the target machine. This can be fixed by running the bootsect utility off the Windows ...


11

The default Administrator password is blank and you're required to change it on the first logon.


11

Sadly, No. Encrypted files look like random noise, and there's no way to compress random data.


11

This question was already asked here. Answer: wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg chmod +x apt-cyg mv apt-cyg /usr/local/bin/ apt-cyg install bc


11

aptitude considers packages that are installed due to dependencies to be "automatically" installed. With that knowledge, you can quickly construct an aptitude search pattern to list all installed packages that where not automatically installed: aptitude search "?and(?installed, ?not(?automatic))" Alternatively, using short form for the search terms: ...


10

to instal a DMG you can do this: cd ~/Desktop curl -O http://darwinports.opendarwin.org/downloads/DarwinPorts-1.2-10.4.dmg hdiutil attach DarwinPorts-1.2-10.4.dmg cd /Volumes/DarwinPorts-1.2/ sudo installer -pkg DarwinPorts-1.2.pkg -target "/" hdiutil detach /Volumes/DarwinPorts-1.2/ In a nutshell, this goes to your Desktop folder grabs ...


10

The best practice for remotely installing any OS is to buy server hardware with out of band management (HP ilo, Dell drac) that lets you remotely power cycle and see the console of a server. Don't even try otherwise.


10

You shouldn't be having these problems... I tried to search for nice, canned binaries of a current version of ImageMagick. I couldn't find any that didn't have odd prerequisites... So I spun up a CentOS 6.3 virtual machine and built the newest ImageMagick SRPM file. You may want to enable the RepoForge repository (formerly RPMForge) as well. The build went ...


9

I like Zoredache's list, so I would add these to that list: zsh nmap scapy vim For non-packages: vmware server 1.x


9

The way we do this is to use a kickstart/preseed file to install & configure Puppet on our servers during the OS install. Then as long as you've preconfigured your Puppet manifest to do all your initial tasks, it'll happen automatically.


9

Your /etc/apt/sources.list is referencing the cd. If you remove it, it will purely use the net to download any files.


9

Umm, the package is called "xorg-x11-server-Xvfb" on CentOS5. So you should be using the second option, "yum install xorg-x11-server-Xvfb". You can do "yum search xvfb" which gives you the proper name of the package, also.


9

libapache2-mod-fastcgi can be found in multiverse. If I remember correctly, a default installation of Ubuntu used not to enable multiverse (but should nowadays). Maybe its disabled on your system and you'll have to add it to the list of repositories (as easy as editing /etc/apt/sources.list and appending multiverse after main or using the graphical packet ...


8

There is a tool (YUMI) to achieve this. I think, it is fastest and painless way of preparing a (multi)bootable usb. You can put many systems (Windows, Linux, HBCD etc.) into one flash drive. And you can also use an external drive.


8

Putting a package on hold does not work (very well) to achieve this. It does not cover all tools in a satisfactory manner. For example aptitude on command-line completely ignores the previous invocation of aptitude hold somepackage, installing a package also installs the dependencies even if they are on hold. The best way in my opinion is to create a fake ...


8

I've been searching the web and one solution seems to be making a kickstart script that will intall only the necessary packages. But I find this difficult and have several doubts about how to maintain the system dependencies afterwards. Making a kickstart file is not so hard: look in /root of one of your installed servers for a file called ...


8

On every host I setup I install these. apt-get install openssh-server sudo screen iproute resolvconf \ build-essential tcpdump vlan mii-diag firehol \ apticron atsar ethtool denyhosts rdist bzip2 xclip \ etckeeper git-core less unzip mtr-tiny curl gdebi-core \ xbase-clients rsync psmisc iperf ...


7

kickstart with pxe. That's also the direction you'll get directed to in their training courses. For the install it's little more than a redhat install with some extras, so kickstart is the way to do it. This makes more sense when you're building a cluster and want identical installs.


7

KIckstart is fine. If you want to make sure certain packages are NOT installed you can list them in the list of packages/groups to install, preceeded by a minus ('-') sign. e.g. %packages @base core-utils -httpd to make sure apache does not get installed Then in the %post section you can run commands such as chkconfig to switch off services you don't ...


7

I agree with the sentiment of the other answers here: Although it may be possible to install Ubuntu remotely on RHEL 3.4, you are likely going to be treading on some very thin ice. I think the biggest problem you may have is the age of the kernel and libc on the existing system. Is that a 2.4.x-series kernel? If so, I'm not sure you'll be able to pull this ...


7

I've just had the same error and fixed it with the below. cpan o conf make '/usr/bin/make' #or path to your make o conf commit


6

On Windows NT-derived operating systems, you can find the installation date at: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\InstallDate The date is stored as a number of second elapsed since January 1, 1970. For Linux installs on ext2 or ext3, I suppose you could get the creation date of the filesystem using the tune2fs command: ...


6

Running PHP as a module is usually more efficient, but means all scripts run under the same user account (what-ever account Apache runs as) which can pose security concerns in a shared environment. CGI is much slower as it starts a new PHP processes for every request that needs one, but can be configured to run each script as the user that owns it which can ...


6

It's rather complicated. On ubuntu, I'd install as much as possible from apt, rather than compiling your own. If you do need to compile your own, the general Unix guidelines are here, and Ubuntu follows debian packaging guidelines, which can be found here.



Only top voted, non community-wiki answers of a minimum length are eligible