Ubuntu Servers :: Change Update Server From Command Line?
Sep 12, 2010
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.
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?
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 noticed in phpmyadmin that we can export a database in type update. Indeed we have update... in place of insert.... is there anyone know if it possible by a command line or by a simple PHP code ?
Bash acts weird in 10.04 server. Whenever I try to run .sh scripts, every empty line in the script results in "command not found". Then on even simple scripts I get syntax errors, but the same exact scripts work on my 9.10 desktop installation. There's also another problem, I'm not really sure if it's bash-related. After setting the proxy using
I just searching a way to modify a hotkey like in system->preference->keyboard shortcuts but in command line, because I want to make a configuration file and I need to delete a hotkey.
I understand the basics, where certain files are located, how to change basic things, and very basic stuff with the command line (I use it to organize my files mainly). If at all possible could you supply me with a guide - be a website or a book to:
1) Just the general layout of the system (whats in the depth of the /etc folder and what naught)
2) How to more efficiently use the command line. As in where I am not giving in and using the GUI all the time.
3) What programming language(s) should I learn. I am thinking C and Python to start.
I decided to install Chromium OS to my dad's netbook, and it works perfectly. The only problem is that i can't change the time. Luckily, I can access a command line by pressing CTRL+ALT+T. So maybe I can change it from the command line.
I upgraded to Ubuntu 10.4 and for various reasons I found myself selecting a KDE session without KDE being installed. This has locked me into a situation where I can't boot up/log in properly. I can get to a command line and start the x environment as root. How can I re-set any user's preferences to default (via the CL)? Ie, I'd like to re-set a user (myself) so that I can again choose the log in to a gnome session.
I built Ubuntu desktop up from a server install. I'm using Gnome. I want to change the system's language, and I have no menu option to enter System>Preferences>Language Support. I need to either:1.) Install whatever will place that option in the menu.2.) Affect the change via the command line (preferable).I just can't figure out what to install and Google only produces GUI tutorials. =/
is there a way to change the gdm login screen (either the background image or the text in the login window) from the command line?i'd like to check several things at boot and report that on the gdm login screnn.
I installed the latest version off the download site yesterday, when first booting an error message came up that my hardware does not support the most recent desktop environment so I should switch to classic. After a bit of googling I found out how to do this.
The problem is that my hardware really doesn't support the current desktop environmet, I can't get the windows to appear, I just get black rectangles in the middle of the screen instead, so the GUI is inaccessable.
I am looking for instructions on changing the desktop environment from a command line (which I can boot to).
I had chosen automatic logon. Then updated to 10.04. During logout to change Desktop Environment/Session, I noticed that GDM login screen had an option for KDE session although I had not installed KDE. I got curious. So I tried it. System hangs. Restart does not help because somehow gdm proceeds to the KDE session although I did not choose it to be default session. So I had only CLI left.
I got over it by stopping gdm (/etc/init.d/gdm stop) and removing gdm and installing xdm. Anyway, what is the proper way? How to order desktop environment from CLI and/or where is the default desktop environment option written in a file?
Is there a complete mirror list you can choose from the command line. There is good way doing it from Administration > Software Sources. However.. if you don't have X.. is there an easy way to choose between different sources(mirrors) without editing the sources.lst manually, but choosing for example main mirror or some other faster one let's say in your region?
I'm looking for a way to automatically convert XLS and XLSX files to PDF when uploaded through a Web interface by users. I will probably use phplivedocx for DOC and DOCX files, but I haven't found any library for Excel files.I may use PHP to call a some printing command to make the conversion, but I've never tried that on a server (which obviously) doesn't have Open Office installed (meaning no PDF printer driver I guess)
I made a live USB memory stick / pendrive with Ubuntu netbook remix 10.04 using my desktop computer. I want to install / update my netbook that has no network function yet. I booted the desktop with the pendrive & ran update manager. I want to update the kernel so I will have the driver that will operate my netbook ethernet.Acer AOD260 has Ethernet Controller: AR8151 v1.1 Fast Ethernet, Atheros Communications & Network Controller: Broadcom 4727 (rev 01)and will not work from the current release of 10.04 (too new) but there are supposed to be drivers in the newer kernels.
Running Update Manager I get a box labeled "Debconf on ubuntu" & says "Configuring grub-pc". There is an entry box that says "linux command line:" & is empty. When I press the help button I get the message "The following Linux command line was extracted from /etc/default/grub of the 'kopt' parameter in GRUB Legacy's menu.lst. Please verify that is correct, and modify it if necessary.The installer is hanging, Preconfiguring packages ..., probably waiting for a response, but I have no idea what to do.
I recently updated, and now when I boot it only goes as far as grub command line. There is no grub menu. The computer is a Dell Inspiron 8600 laptop with only Ubuntu installed -- no dual boot, no weird partition schemes. Originally installed Ubuntu 09.04 on this computer, upgraded a couple times and it currently has (had) 10.04.1 LTS running. The update should have upgraded from kernel 2.6.32-23 to 2.6.32-24. I can boot with a live CD and mount the hard drive. The drive seems fine, so it appears to be simply a grub config issue. I have to boot with live cd to get online to check for potential solutions. So I'm taking some notes on how to use grub.
I'm sure it's possible, but I haven't found an elegant way to do it. I can't just use the GUI since I want to integrate this line of code into a greater shell script for this project.
My preferred terminal is terminator, but it doesn't really matter at this point.
I want to change the default command line editor from vim to nano, so for example when I type "visudo", I want it to user nano. In Ubuntu this can be easily done by using "update-alternatives --config editor", but openUSE doesn't have an editor-option
I am using debian 5.04(base) + lxde. I am using gdm to login. I want to change the gdm to commandline login only, which similar to (ctrl +alt + f2) but whenever computer restart, it boot into gdm. what is the file to change the boot level?
I was just having some trouble getting an OpenPHP Key on Ubuntu Server. The link from Launchpad said, "go to applications..." but I'm not using a desktop environment, so I had to go to [URL] to learn how. Basically it boiled down to this:
I had some trouble before getting to install Webmin on my nas from the command line in Ubuntu Server So I wanted to temporary install a gui and used kde. Downloaded it via the browser.Now I got webmin running and tried to remove KDE again. Some things were removed but the inlog screen is still there, and now it looks more like a gnome interface when I logged on.How can I remove the GUI completely again?
how do you download an update or an upgrade (or whatever it's called) on a command line. for chromium internet browser. opened the computer and couldn't watch videos. i tried all the downloads available on adobe's website and all of them are on my "downloads" folder and when i click on any i just get stuff i don't understand and i simply find it easier to download through terminal.
I upgraded from Meerkat to Narwhal. After all the files have been downloaded and installed it rebooted. Once it rebooted it went straight to the GRUB command line. After couple of hours of research, I ended up at [URL]
My root was at (hd0,1). So therefore I put this in at the GRUB prompt.
set root=(hd0,1) linux /vmlinuz root=/dev/sda1 ro initrd /initrd.img boot
I did what it said and it got me into Ubuntu. Nice! It asked me to: After successfully booting into the system the user should run sudo update-grub I did. Next it asked me to review (/boot/grub/grub.cfg). That's where it is hairy, my file has multiple root settings and with msdos settings. That doesn't seem normal.