Centos /usr readonly [closed] - centos

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have some rpm to install on my centos 4.8, but when I try to install the rpm as root (rpm -i), the output said /usr and all subdirectory are read-only.
I tried to create a file : touch /usr/testFile as root and the /usr is read-only.
What should I do to install my package?
Edit: mount -l
/dev/sda6 on /usr type ext3 (ro,nodev) [/usr]
Thanks you.

here's the solution:
edit /etc/fstab
find line contains /usr
change ro to rw
restart computer

Related

Unable to mount usb hard disk in rhel 7.1 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
while am installing ntfs-3g rpm it shows
[root#localhost 64bit]# rpm -Uvh ntfs-3g-2011.4.12-5.el6.x86_64.rpm
warning: ntfs-3g-2011.4.12-5.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ################################# [100%]
file /usr/bin/ntfs-3g conflicts between attempted installs of ntfs-3g-2:2011.4.12-5.el6.x86_64 and ntfs-3g-2:2011.4.12-5.el6.x86_64
file /usr/bin/ntfsmount conflicts between attempted installs of
ntfs-3g-2:2011.4.12-5.el6.x86_64 and ntfs-3g-2:2011.4.12-5.el6.x86_64
while am double clicking on my hard disk it shows
Unable to access “Expansion Drive” Error mounting /dev/sdb1 at /run/media/root/Expansion Drive: Command-line `mount -t "ntfs"-o"uhelper=udisks2,nodev,nosuid,uid=0,gid=0,dmask=0077,fmask=0177" "/dev/sdb1" "/run/media/root/Expansion Drive"' exited with non-zero exit status 32: mount: unknown filesystem type 'ntfs'
Install epel repository from fedora
Download it from http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
# rpm -ivh epel-release-7-5.noarch.rpm
# yum install ntfs-3g ntfsprogs ntfsprogs-gnomevfs
Done

Properly Uninstall MongoDB via Command Line [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I've installed MongoDB version i686-2.2.3 from source, in a Ubuntu 12.10 box. Now I want to remove it.
How can I do it properly?
Best wishes,
If you installed from source you would not have compiled it but instead just extracted the tar it came in and ran it.
The very first thing you need to do is figure out what additional stuff you put on, i.e.: a init.d script.
Once you remove all the additional threads you have created you can remove the directory that houses the mongo binary, normally a folder called mongo on most systems and then you need to delete your data directory, normally /data/db/ under the source version.
Of course, this assumes you installed from source and not a package, if you installed from a package you can do:
apt-get remove --purge mongodb
Edit
Alternatively if you are using autoremove:
apt-get autoremove --purge mongodb

Mongodb not running on Ubuntu, no idea why [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Problem is pretty self-explanatory - can't get MongoDB to start, and nothing is logging anything anywhere so I can figure out what's going on:
[10:10:23][root#my-server:~]$ start mongodb
mongodb stop/waiting
[10:10:28][root#my-server:~]$ ls /var/log/mongodb
[10:10:34][root#my-server:~]$ ls /var/lib/mongodb
[10:10:39][root#my-server:~]$
As you can see, mongodb immediately goes to stop/waiting, and doesn't log anything to /var/log/mongodb. There's nothing in /var/lib/mongodb either. There's nothing useful in /var/log/upstart either. Where can I look for information on what the heck upstart is doing, and why it can't seem to start MongoDB?
Answering my own question with another question: Mongo does not run when installed via mongodb-10gen package on Ubuntu 12.04. In this case, the mongodb-10gen package doesn't seem to be installing the right executables for upstart to use, and upstart helpfully doesn't log anything when the executable it expects to be present isn't there. So I've asked a followup question about what the deal with the 10gen package is.

Locate xcodeproj in terminal [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can i locate my project in terminal which i created in xcode?
How can i add or install Submodules of Sharekit to my project?
I am trying to locate my project created in Xcode.
When i type in locate abc.xcodeproj
it gives this warning
WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.
Thanks for help.
locate is somewhat obsolete. Use Spotlight instead:
$ mdfind abc.xcodeproj

Upgrading Perl in Ubuntu [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Since May 14th the current version of Perl is 5.14. In Ubuntu repository the current version of Perl is 5.10 which is no longer supported. So Im trying to manually upgrading Perl.
What is the recommended way to upgrade perl 5.10 to perl 5.14 in Ubuntu?
I found the perlbrew tool, but it seems to install just in the users home.
Perlbrew docs says that you can change your $HOME dir to something else:
The directory ~/perl5/perlbrew will contain all install perl
executables, libraries, documentations, lib, site_libs. If you need to
install perlbrew, and the perls it brews, into somewhere else because,
say, your HOME has limited quota, you can do that by setting a
PERLBREW_ROOT environment variable before running the installer:
export PERLBREW_ROOT=/opt/perlbrew curl -L
http://xrl.us/perlbrewinstall | bash
download, configure, compile ....