Ubuntu Servers :: Differentiate Between A 32 Bit And 64 Bit Distro From The Command Line?
Sep 1, 2011Is there a way to differentiate between a 32 bit and 64 bit distro from the command line?
I also need to know this for a CentOS 5 box.
Is there a way to differentiate between a 32 bit and 64 bit distro from the command line?
I also need to know this for a CentOS 5 box.
I'm excited to try Linux/Ubuntu, but I hate command line - I've tried to use it before with disastrous results, so I'd like to try something that requires the least amount of command line use -- or none at all, if possible. I'm not looking for a Windows-clone per se, just something light that will work well on my netbook, and which is entirely GUI for everything/most things that it needs to do.
View 9 Replies View RelatedI'm looking for a fast Linux distro to put on a USB key. The goal is to be able to boot in as few seconds as possible, with just enough to mount a hard drive and do some basic operations in there (bash would be enough).
I do need:
x86 and x86_64 support
EXT2/3 and NTFS mounting capabilities (read & write)
Networking support (/etc/network/ config is fine, no need for detection) Bash (another shell would also work, but I would have to modify some of my scripts I would prefer if I didn't to have to build these programs for the selected distro, but that's always an option. I do not need:
X, or any form of GUI
more languages (english is enough)
anything not mentioned
I don't care about the size on the USB key, but the bigger it is, the longer it will take to load. My research pointed me towards these distros, but I not sure which one to choose:
ttylinux
Tiny Core Linux
tomsrtbt (doesn't look maintained anymore)
I also found these tools I could use to build my own distro (as a last resort)
We are having a lot of trouble with this.
We need a command line version of Linux like ttylinux. Any command line will do with the latest kernel. It should be around 50 megs.
But the problem is, all these small Linux versions are LiveCD or have a compressed file system.
We need a SMALL linux distro, that we can install UNCOMPRESSED (no squashfs etc) on a hard disk.
This is so simple I'm sure I'm missing something..
I have a question about connections with an ubuntu server. Is there a way to know if the terminal computer (which is connected to my linux server) is using WinSCP to connect (on a Windows platform) or a linux system? It seems they are using the same port (22) and I think the exact same protocol (SSH / SFTP), is there a way to differentiate between the two though? And going farther there, is it possible to limit the connections only to linux terminal computers and reject requests coming from Windows computers?
View 2 Replies View RelatedI'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)
View 3 Replies View RelatedI 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:
Code:
gpg --cert-digest-algo=SHA256 --default-preference-list="h10 h8 h9 h11 s9 s8 s7 s3 z2 z3 z1 z0" --gen-key
1
[return]
[code]....
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?
View 9 Replies View RelatedI 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?
View 1 Replies View RelatedSome time ago I installed LAMP in my server, but now I need to execute .php files from the command-line (in order to execute some manteinance scripts for mediawiki). Seems that the PHP files running in the server are run thru some kind of "module" in apache2. Can I tell apache2 to run a .php file in command-line mode using that php module? Or should I install a fresh copy of php-5? Won't that interfere with apache or mangle the system?
View 4 Replies View RelatedI put command sudo dpkg - unpack file.deb
server say need an action option
I have a php file that I need to execute via a cronjob. This file should be run by the www-data user as its a file in my /var/www/project folder. When I run this file under root (php -f cron.php) everything works perfectly, but I want it to run under the www-data to be safe. Before I run it vai crontab I tried it via command line as the www-data user and I receive errors:
Fatal Error: Allowed memory size of 8388608 bytes expired (tried to allocate 232 bytes).
But when I run it as the root user I get no errors and everything works correctly. The file cron.php is used to process automated tasks in my CRM. So I don't really want to have the root user running a crontab every few minutes for this.
Must the www-data user be given more permissions? I am using Ubuntu 6.06LTS
PHP - 5.1.2
Apache - 2.0.55
MySQL - 5.0.22
I'm installing a 10.04 server remotely - it's basically an RSYNC host for backups. I've got one minor issue - it's really more of an annoyance, but I would like to have it solved.When sending e-mails, the messages come in addressed to three destinations - when it's only supposed to be sent to one. What's worse is that the two additional addresses are based on the hostname of the machine.Let me explain: I use this command:Code:mail -s Testing email@somedomain.comI then compose the e-mail and send it. The mail arrive a few seconds later but addresed to the following:Code:from@hostname.domain.com;email@somedomain.com;hostname@hostname.domain.comThe "from@hostname.domain.com" has the actual word "from" in the address. I've installed many, many servers like this in the past and this is the first time that anything wonky with email has happened that I couldn't fix or explain. The machine is running postfix and I installed the bsd-mailx package to get the command line "mail" command (I used to install "mailx", but this seems to work just like the old package).
View 1 Replies View RelatedI have a headless server set up with no GUI on board.I know there is some way to display the installed hardware , I just can't remember how.What I'm looking for in particular is determine the type and speed of the PCI-e slots.
View 2 Replies View RelatedIs 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.
View 2 Replies View RelatedI'm looking for a good bittorrent client that can be run via a remote ui or doesn't require x-server and a gui to function.
View 2 Replies View Relatedsetup a number of shared drives for accessing music, movies, photos and general files (documents, pdf files etc). now while a gui would be great, how to use the command line to setup these shared drives and also how to make the available in both windows and linux.
View 6 Replies View RelatedOn 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.
View 4 Replies View RelatedHow to sending email from command line? Im just try send email look at below:
Code:
[root@fedora sniper]# echo "test" | mail -v -s test tazmanic76@hotmail.com
tazmanic76@hotmail.com... Connecting to [127.0.0.1] via relay...
220 localhost.localdomain ESMTP Sendmail 8.14.3/8.14.3; Sat, 14 Mar 2009 15:50:43 +0800
>>> EHLO localhost.localdomain
250-localhost.localdomain Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
[Code]....
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 want to copy file from the Server cd drive and USB drive to the server root directory, but I haven't find any command of listing the cd drive or usb drive.
View 4 Replies View RelatedIs there a way to send an email from a batch script. I want to send the output from a script to an email address, possibly a couple of email addresses depending on the output.
View 3 Replies View RelatedHow would I find out what servers are running on my local system from the command line? I cannot find out how to accomplish this anywhere?
View 3 Replies View Relatedi'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?
View 5 Replies View Relatedi'm trying to setup my server box.. it's being setup as a web server, file server, and setup for me to be able to access it remotely (aka i do pc repair for windows users and it'd be nice to just know where ALL of my software tools are and get to them from there)anyways.. these things are almost all setup right now.. but the one thing i'm having issues with.. is the fact that this box does have 2 hard drives in it and i want to use both of them.. now i'm running straight command line and i can't find the info i need to reformat the second HDD (which is currently NTFS formated) and use it in this system... i'm running 9.04 as a server.. NO GUI INSTALLED! i need this with straight command line...What do i need to look for to figure this out? i'm having trouble figuring this out and it's really getting annoying..
View 5 Replies View RelatedIs there any way to install a Ubuntu server and access the server remotely via a Ubuntu desktop environment instead of a SSH command line?
I will be installing a Ubuntu server in an office where the office manager will need to be able to do simple things like add/remove users, access filesystems, etc. She can handle these tasks in Ubuntu desktop/GUI, but it is impractical for her to have to learn how to use the CLI terminal to do this stuff.
Will I have to install desktop Ubuntu on the server to do this, or can I install Ubuntu server version and setup another computer Ubuntu desktop to remotely login graphically?
I am going to build a Linux VPN server(PPTP) for my friend but here is the problem: He don't know Linux and command line to manage users, monitor server, etc
View 1 Replies View RelatedI installed ubuntu 10.10 server from an usb stick. I do not have access to a wired connection and do not have a CD drive, so now I need to configure the wireless connection.for that I need to have wireless-tools which if i am not wrong are not installed by default so the question is: how can I install the wireless-tools package from an usb using only command line? note: I got internet access from another ubuntu-desktop PC so i can download any package needed, etc.
View 3 Replies View RelatedCan anyone tell me what the pros and cons are between heirloom-mailx vs mailutils? This is for ubuntu 10.04 LTS. AT this point my only purpose is to use the mail command line program to occasionally send log output to email aliases.
View 2 Replies View RelatedBash 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
[Code]...