I'm very used to working on a linux machine, programing in Unix terminals all through college. That said, I have never needed to work with linux distributions or doing more than some apt-get software installation.
I need to make a CD. I need a machine to be able to boot from this CD. I would like there to be a unix terminal that runs a script automatically. This script must be able to mount an NFS drive, do simple networking (TCP/IP), and update the software on the machine running it through deleting/adding files.
I guess I need an .iso for a linux distro that has files and a script already on it that can be used to update a bunch of these specific machines?
Should I go through the LFS project in order to learn how to do this?
I'm pretty lost and need some help. Thanks!
Hello,
My job is having me get back into Linux. It has been awhile since I messed with it. My company releases Software that runs on Linux. As such, when we release a new version of the software, we have it packaged with the entire Linux OS. As such, when it is sent to our clients, they install, and then have to reconfigure, the Host Name, IP Address, Netmask, and Gateway. Our test environment consists of over ten different Linux boxes and configurations. To make life easier for me, I have written a shell script allowing me a menu to change all of these and to also enable or disable the gateway and how to set/change the localadm password.
I want the script available to users to be able to run it anytime they need to. It works great. I would like to add one more thing to this. I want to be able to run the script automatically on the very first boot after the installation. The script is set up where you have to log in as root to run it. So here is the process I want to happen:
Install Disk
System starts up for very first time after install
Automatically logs in as root and runs script
Exits as root.
I realize Linux will only do what I tell it to. How do I tell it to do this?
Hi
First post, hope this is in the right forum.
When I plug a USB key into my PC it appears in dolphin but isn't mounted until I click on it.
Running df at the command line doesn't show the USB key until I've clicked it in dolphin then I can access it via the command line.
I'm trying to find a way to automatically mount the key when I boot up.
I found a script that scans /dev/disk/by-label and mounts any disks it finds in to the correct location. This works great from the command line.
I tried adding it to /etc/init.d/boot.local but on a reboot it failed as the USB disk hadn't been detected when boot.local ran.
So where do I need to put this script so it will run when the machine has booted and the USB key has been detected by the OS?
The PC is unattended so I need to be sure that if its remotely rebooted the script is run so the key is mounted.
Thanks
Hi,
Could anyone please explain as understandable as possible how could I on my Windows 8 open either single file or install (and use) entire software which is supposted to work on Linux and/or Ubuntu? I have absolutelly NO experience with Linux and have never used it. Honestly, I don't know if there is any difference between Linux and Ubuntu. I want to be inside my Windows 8 while using Linux files/sofware. The only solution I could think of are actually two but neither of them is useful for me:
1. Vmware (i don't know how to use it)
2. Rent remote computer (vps/rdp) with linux OS installed (this would let me be in Windows 8 while being able to use Linux file/software [on remote computer] but sooner or later I would want to have Windows installed there too)
Tried program Linux Reader but didn't work on my Windows 8. Although I would need solution for installation/usage of software (that can be used only on linux/ubuntu), regardless of details***, the current problem is basically related to single files only: I have two files, both in IMG extension. Don't know how to open them because Deamon Tools doesn't handle IMG. The problem is that filesystem in one of them is "Linux" and filesystem in another is "142". The error I am getting when I try to open them is:
"File with harddrive/disc snapshot is corrupted."
But this is most likely because they are supposted to be used in linux environment, hence such question.
*** when i said "details" I was referring to basically anything: type of software, size, purpose, whether or not it needs network connection, whether or not it contains logging in (username password, etc) requirement, etc.
The following solution for current situation (quoted error above) works only partially:
http://www.sysprobs.com/simple-tip-h...thout-software
I am able to open/run/mount IMG if I do what is described on this link (im basically opening iso in this case - see the website) but when opening the virtual drive, the following error message proves that the file can be used in linux/ubuntu only:
"Windows cannot access that drive. Drive could be corrupted. Make sure the drive is in condition that can be recognized by Windows. If drive isn't formatted then format it before usage."
Would need detailed instructions, for total beginner, who has never used linux/ubuntu, what to do in such case: how to use in win8 files/software that are supposted to be used in linux/ubuntu. Also answer on how to open IMG would be highly appreciated.
Kindest regards and thank you a million in advance.
Hi. Sorry to be so stupid, but I just managed to load and install this Linux (which I really like a lot) on my previously windows <--(bad) system.
But now I need to upgrade some software (like Adobe flash), and I have no clue how to do this. I understand I should go to my original linux distrubutor, and select software thru them (my "Linux distro").
But actually, it's been awhile since I did the install, and I dont exactly remember where I even got this distribution. (I know, I'm dumb--sorry).
Is there a way I can look at my linux system files and see who my distribution is thru, and where is their website. Or would it be easier if I just went thru the whole download and install of linux again <--(not really looking forward to that).
Or even, am I wrong about going thru the distro to do installs/upgrades?
Anything you can tell me will be greatly appreciated.
Long Live Linux !! David K
Recently I installed Ubuntu 14.04.2 LTS Shortly after the 'Software Centre' became corrupted. I made the mistake of deleting it in hopes of being able to restore it. It has been 15 years since I used Red Hat Linux 5, so my Linux for Dummies book doesn't help much. I can study and download .pdf files from the Internet but I want the original back. What command sequence or method can I use to completely restore the 'Software Centre'??
Hello all.
I have been using Linux OS's of and on since 1996. I completely gave up on MS in 2006. I change out a hard drive in my PC and MS thought I should purchase a new site license, I did not agree with that train of thought.
I found that popping in a disk and getting Linux up and running was easy to the belief that "Nothing could be this easy". It really was. The learning curve was encountered when trying to make Linux Fly. I recommend that everyone new to Linux or anyone with a desire to do a bit more than e-mail, catalog some photos or music get your hands on a Linux command reference guide and learn the terminal. There is so much to understand and do With Free Open Source Software and there are so many ways to access, install and configure the available software. There are so many resources for help and trouble shooting all things Linux however, here's the caveat; I really had to learn how to ask the question to get an answer that worked for me. General question will get you general answers and rarely ever was the answer I sought found the hodgepodge of generalities found in forums or Google searches and the like. I learn to be very specific in my question and the answers were discerned with less difficulty. There are really answers or fixes for the questions I have had concerning Linux.
Want to format a 1 TB Western Digital drive in an old dell 32 bit machine. Machine has Lubuntu installed and a Virtual machine on which which is loaded Windows 7 (32 bit).
Machine does not "see" the new 1 TB (SATA) drive after I physically install it in the machine.
I have other windows and Linux machines. I have some drive cradles in which I can connect to (windows) USB ports.
Is it possible to use the old Dell machine to format the new drive?
(It appears that this question has been answered before. So I will check those materials as well.)
Thanks for any assistance.
Geoffrey Wolfe
Hello. I am an absolute beginner with Linux and would appreciate a bit of hand holding. I am building a small computer for use with Ham radio applications and have never used Linux before.
I have downloaded a Ubuntu build onto a wintel machine and created a cd. The drive in the PC is a CCD an I have only ever used one on a windows machine and then I didn't install it.
Can someone guide me as to :
1) how I should format or in some other way prepare the SSd for the installation of Linux
2) tell me anything I should be aware of in installing Linux to the SSD
3) anything I should watch out for in using the SSd with Linux.
That last one may seem silly but I have been warned never to defrag on the Wintel machine as it will damage the SSD.
I look forward to any help / advice that you may have.
Best regards
Nick (GW6EWX)
hello Experts!
need some help here with python FTP. so what i'm trying to do is, from a linux machine, ill be sending over a python script to a windows machine via python ftp. that works fine with no problem. now, i want to execute that python script i sent remotely. im having trouble with that. here's my code to just execute the script:
p.s : please dont suggest other options such as python paramiko due to many network security reasons
Code:
ftp = ftplib.FTP("windows machine name")
ftp.login("username", "password")
ftp.cwd("where\\python\\script\\is kept\\")
ftp.sendcmd("python myscript.py")
but looks like it doesn't recognize that command. how do i accomplish this please?
There are so many Linux distros, and they all look good, but which one is right for me?
That is a question that almost all new Linux users ask. Really, it just depends on you. What do you want to use it for? I’ll go through a brief rundown of some mainstream Linux distros, and maybe from there you can make up your mind. I’ll sort by the most popular ones.
Ubuntu
I don’t particularly care for Ubuntu for a few reasons: It is ad supported because they lack support from users, It comes with spyware pre-installed, and they try to act like they’re the best despite all that. A lot of people who have been using Ubuntu for a while don’t care for the new UI that they’ve installed, which is the defacto option for Ubuntu. Not only that, but they, unlike any other distro, have a very distinct security hole: a guest session that can be accessed without a password. NOT the best for use...in really any environment.
But, to their credit, they’ve got the largest software repository second only to Debian, even though there’s a lot of applications that do the same exact thing. Their UI is very polished considering that they released it just in 2011. And their forums have a ton of helpful Ubuntu users.
Linux Mint
LM is pretty much just like Ubuntu, only instead of everything being either purple or orange, it’s green or white. Much like Ubuntu, they have their own UI, and their own Software Center.. But, because they are rooted in Ubuntu (http://distrowatch.com/table.php?distribution=mint) they may inherit some of Ubuntu’s problems. You guess which ones.
Fedora
Of them all, Fedora is probably the most user friendly, except for the fact that they use cutting edge packages that may/may not be 100% stable, and Fedora is making a change as of 21 to focus more on stability. (Personally, I’ve had very few issues with stability, and the issues I come accross seem to apply to most distors) Other than that, it’s a great distro, asthetically pleasing, Fedora comes standard with GNOME Boxes (lets you run another OS within Fedora, like Windows), an app store like thingy, and many nice GNOME applications.. Fedora is suitable for most any machine, including tablets and hybrids like the Lenovo Yoga, thanks to GNOME.
Debian
Debian is really in a world of their own. In an effort to focus on stability, they sacrifice reasonably up-to-date software. If you have old hardware that was supported, but is not now, Debian is for you.
Debian also has a lot of software, but I’ve had trouble with broken packages, dependencies completely missing, and whatnot.
openSUSE
Like Linux Mint, everything in openSUSE is green. Unlike Linux Mint, openSUSE is rock stable, mature, and has great avenues for customizing it to your specific needs, using the GUI. Most everything configurable is made much easier with YAST, rather than using the command line. openSUSE features something no other distro has: a one-click install for applications. Ubuntu is trying to copy it...good luck with that. And, like Debian, they've got most every package under the sun...which can be good and bad at the same time. The packages in openSUSE are complete, no missing dependencies from what I can see. The only problem I can see with it is that WiFi drivers and nonfree codecs can be a pain.
Now the reason you're reading this is to get an idea of what's out there as far as Linux goes. But maybe you haven't thought about Unix as a viable option.
Solaris
If you have an i386 arch processor, you can forget trying to boot up with Solaris 11. But once you get it running on an x86_64 machine, it's pretty decent, considering that it is an enterprise OS. It's stable. It's fast. And it has some proprietary Oracle tools to help administrate it, much like YAST on openSUSE. Solaris is targeted at being a workstation OS, so you won’t find things like games in abundance in it. Considering what it is, Solaris rocks.