I'm from a Solaris (printer.conf) background and having trouble setting up a printer on the network. My CentOS box does not have a GUI interface available. I have been playing with lpadmin trying to add a printer - which it did, but everything is disabled, and the "enable" command is not found on my machine.
How do I make a simple printer on my network talk to my centOS box?
Here's the printer.conf from a Solaris machine that works:
raphael: :bsdaddr=igppps1,raphael,Solaris: And the printers.conf from the CentOS box: lumina# more printers.conf # Printer configuration file for CUPS v1.2.4
I have printer in CUPS that due driver problems (hp 1010) form time to time goes into pause. I would like to write a shell script that will be once per hour resuming printer in cups.But I have no idea after googling for couple of minutes how to resume printer from shell command line.
I work at The University of Alabama as a sysadmin on various HPC resources and also provide support for faculty using Unix systems. I've run into one problem that is affecting two different desktop systems running CentOS 5.3.oth of these systems have the latest updates. These machines have standard network-attached printers. One is an HP LaserJet 3250 and the other is a model that is pretty close to that one.Previously these users were able to print from graphical applications such as Firefox, but now when the print dialog is opened on ANY graphical application, it causes a hard freeze on that particular app.Printing from the commandline via `lpr` gives no issues and test pages from the Printer Admin interface also succeed.This problem has me stumped, so I'm looking for any insight as to what could have changed. I do not know what changed between the time when the printers worked graphically and when they stopped, but the users assure that they have changed no settings. The only thing I can suspect is a rogue update since this is affecting separate users on separate machines with separate printers.
I'm using a webhosting server running CentOS, and I'm trying to install GCC to compile Java on the server. Since I'm new to Linux and don't have root privileges, I'm having trouble installing this. I need to install this using command-line. I don't know if I should compile from source (which I downloaded off the "gcc.gnu.org" website) or if I need to install a binary or something. Can I even install anything without root privileges?
I was having so much trouble with ubuntu 8.04 that I deleted off my computer and did a fresh install of 9.10. I downloaded the 64 bit iso from the internet, burned it to a disc and installed it. When it asked if it should be the server version I thought I said no. Now when I boot it only boots to the server version and all I get is command line. Can I get out of this and get my regular ubuntu screen back or did I install the wrong version?
Whilst I have used GUI-based Linux distros for the last few years, I am now struggling somewhat when it comes to setting up a server from the command line. All the howto's I've read so far tell you how to set up certain things, but I don't know what I actually need to set up.Rather than asking the same questions all over again on a forum like this, and generally being a bit of a noob, I wonder if there's a resource somewhere that someone could direct me to in order to know what I need to do to set up a fileserver.
The hardware is all done, and I will probably set up a router distro like IpCop to manage the network, but I'm rather lost as to what packages I need, and how to know what the server is/isn't doing.I've used plenty of command lines in the past (ms dos, amiga dos, BASIC programming etc), just not a linux command line. All I've ever done is mount a few drives, use nmap and started x
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
I was using Red Hat 7.3 forever and decided it was time for a change. I went to Fedora 10 but it was really buggy. CentOS 5.2 is VERY stable.Here is my problem.The server is command line only -- I tend to hate GUI"S.I setup Samba no problem disabling the ports needed through the firewall and that was straightforward.CUPS is a nightmare for me since CentOS locks down the cupsd.conf and then the firewall does its thing. I allowed port 631 through the firewall but then got lost on the cupsd.conf. It's been too long and the old redhat one won't work with CentOS (not surprising since it's a VERY old system) straight-forward CUPS tutorial for a command line interface. I just need it to be:
I just got done installing Ubuntu Server 10.04 on a home server. Now what should I do? I was hoping to have 3 computers connected to it so that we can all share files wirelessly if that's possible.Does Ubuntu Server have a GUI or command line only?
Whenever I try and use php from the command line, I get this message:PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/imagick.so' - /usr/lib64/php/modules/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0The problem isn't the missing module, it is the warming message itself -- it is breaking scripts that rely on the output.I tried shutting off errors, changed my error reporting to:
I've just spent the longest afternoon trying to get Natty command line install to work. Okay lets list the problems first:Alsa not working so no soundUser privileges messed upWireless doesn't work Realtek rtl8192cu previously worked under 10.04 and 10.10Initial boot left me with a blank screen. I had to boot to grub and use the root console to install xdm which I normally don't use. I also had to install Openbox and some basic utilities from root console just to get a desktop.I've been doing command line install since 8.04 and have never had so many problems.
On Ubuntu Desktop editions, there is a GUI application which allows easily changing to a different server. It can even find out how one is the fastest update server.Is there a corresponding command line tool available to do this? Because I'm using the Server edition without GUI. I hate to manually edit /etc/apt/source.list.
Running: Red Hat Enterprise Linux Server 5.2 (Tikanga) I need to be able to automate transferring a few files over from one server to another using scp or the sftp protocol. I have received a text file which looks like a key file along with username and passphrase information for the target server in question.
Instructions were given to me to import the provided text file in puttyGen then save the imported key as a private key to be used by scp or sftp. My assumption is this is for windows utilities, which I am not using. My frustration comes in trying to automate logging into this server via sftp or scp to automate some file transfers. I am asked for a password every time because the public and private key methods failed to find my keys. How can I call scp or the sftp utilities and use the provided key file (the one I generated using puttyGen or the original one provided to me) to login to this server? I've tried taking the generated ppk file from puttygen and adding it with the ssh-add command but that still did not work.
I am accessing a linux server remotely from my putty. I started the server and now I want to close the command line. when I do cntr+c or cntr+z it kills my server aswell. how will I close my terminal without closing my server? I tried cntr +d but it is not doing anything
I install software called Sunflow v0.07.2 in my Ubuntu. When I try to run it,it says "API error : JVM available memory is below 800 MB (found 728 MB only). Please make sure you launched the program with the -Xmx command line options". What is that xmx command line.What should i do to run Sunflow.
below is what happens when i try to run a install from the command line in virt-install. keep in mind that this is a fresh fedora12 install selinux is disabled logged in as root. i have never had so many problems with something and it is maddening for there to be a thousand freaking how-to's on the subject all acting like it is so freaking simple.
Is it possible to complete a drupal installation and change the configuration from the comman line or a script. Id like to be able to automate the process of installing and configuring drupal. I should say that this is quite a bit beyond me. Ive not long started learning scripting.
Just installed Lucid from CD ROM. I have 2 HDDs. When the install screen came to ask about partitions, it didn't seem to want me to install it onto the same HDD as my XP/Ubuntu 9.10 partitions, so I installed it onto my other HDD. After it finished, I restarted and it appeared on GRUB. It takes me to a command line where it asks me for my desktop login and then my password.
It allows me to type in my login, but the password isn't so easy. It won't let me type it in. It's as if the keyboard stops working apart from the return key. I have no understanding of command line. As soon as I'd entered my password, it went on to tell me that there were no packages to install, and then stayed on command line as if I'd just opened a terminal. How would I get it to take me to my desktop?
I did a clean install of Lucid from the alternate installer, onto a generic Intel/Celeron PC box. I used a command line only install, and used the entire hard disk; there's no other OS and no other partitions on the disk. Install goes along and finishes fine, reboots, and I can log in. But if I call sudo reboot, or shut down the machine then restart it, the boot process hangs. I see the POST screen, then a flashing cursor on a black screen for a few seconds, then the monitor goes into standby. I see no messages or any kind of output to the screen. I get the same problem using the Lucid Server installer and also when installing on a different box (Dell Intel/Celeron). I also tried running all the updates after install but before any kind of reboot...same thing.
This only seems to be happening using a command line only version of Lucid. Lucid GNOME/XUBUNTU install and work OK on both boxes. I can boot from a CD or USB key, but not sure where to look or what to check.
I got given an old (non brand name) laptop and have installed XP and kubuntu 10.04 on it. The graphics card is Radeon Mobility X1600. Kubuntu gets a very strange problem which does not happen in XP:
Although the installation graphics are OK (sort of, there are some strange font irregularities), when it tries to reboot and fire up the graphics all hell breaks loose, the display is broken in two parts and shifted up with the overflowing region coming up from below. I 'm guessing something in the X server is trying to start and failing because when I try to drop to a text terminal (Ctrl-Alt-F<something or other>) I get pages filling up with error messages.
Unfortunately I can't remember what the messages say and I don't want to try to recreate it in a hurry because after this happens, subsequent reboots start the computer in this split screen mode (weirdly omitting the BIOS POST message) and I 'm not sure how to get it fixed, so far removing the battery, reseting the BIOS to default and letting it cool down seem to work, eventually.
Anyway, I figured since XP seems to be fine, it must be a software problem, although I 'm mystified how it persists and jumps between reboots (the split screen persists even all the way to the BIOS menu). I tried getting the driver from the ATI site code...
Removing temporary directory: fglrx-install.i3fXeb So, if I can't run the ATI driver, my other option is to run whatever it is that the "Hardware Drivers" KDE menu item runs to get it to sniff out the driver I need. But I can't start an X server so I need to either run whatever it is that runs behind it or get the package I need through apt-get?
I decided to dual boot install Ubuntu with my Windows 7. After a lot of hair pulling, i finally managed to boot the live cd environment with "nomodeset". From there i installed ubuntu. When it finished installing, i booted to the new ubuntu install only to be presented with a command line login. If i change the boot line from "quiet splash" to "nomodeset", i can coax ubuntu to boot in low graphics mode. However this is not a permanent fix, and doing so causes a 2 inch offest of the screen on the right hand side. Only the have the missing 2 inches appear on the left side. If from the "Ubuntu is running in low graphics mode" message, i select "console login", and type "startx" i just comes out with "X Server Fatal error- No Screens found". I also tried:
But it still didn't help. I'm running out if ideas here, can anyone point me in the right direction?
This is a cd that i got free from Canonical themselves. It's Ubuntu 10.04 LTS, and I have Intel Integrated Graphics.
I am playing around with the idea of being able to use a cloud or instance based service to install Ubuntu 9.10 Server. This will enable me to have remote access via SSH command line.So far, I've installed Ubuntu 9.10 Server + Ubuntu Desktop to a virtual machine. I can access this via SSH and locally via the desktop. However, in the real environment the only access I am going to have initially is via SSH.
I would like to be able to connect using Windows Remote Desktop or VNC (whichever is easier and most importantly - most secure) to the machine.. even though the desktop is on there, I need to somehow configure the remote access all from the command line.I've had a read of various forums and have been trawling support forums for days but can't find a working solution for 9.10 Server or that fits my situation above where I will not have any physical access to the desktop or machine to configure remote desktop. It all has to be done via SSH/command line.
I've been having issues setting up the wireless interface on my Ubuntu server (command-line only, no GUI) and I can't seem to get it working. It seems as though the card is recognized, the drivers are installed and the interface is up, but it fails to connect. I have no idea where I'm going wrong. I have WPA and a MAC filtering setup on my wireless router. An exception has been made for this PC's MAC address and I've manually entered the connection details into /etc/network/interfaces.