fedora

(原创)FEDORA 17安装KVM虚拟机

老子叫甜甜 提交于 2020-01-05 08:43:09
1 软件安装 1.1测试环境和网络拓朴 大部分朋友估计也没有一个真实环境来完全整个的测试,所以我也是使用了在一台PC机上使用Vmware Workstation的方式来进行实验。总体结构是在PC机上安装vmware,vmware上安装fedora_17 64bit,然后在fedora上安装kvm以及openvswitch.在KVM里面安装了centos6.4,并且是最小化安装。我的拓朴图是在完全环境下,其实可以每个fedora17上只起一台或者两台KVM虚拟机,并不需要这么多。 网络交换机,是在单独一台VMWARE虚拟机上安装web-iou的cisco模拟器,因为web-iou支持带lacp的链路聚合,可以和openvswitch进行带lacp的bonding的实验。 这是实验环境,在实际操作中,我还会给每台vmware虚拟机多加一块eth虚拟网卡,并且每个网卡都桥接到真实网络环境,这样子就可以远程securtcrt和vnc进行实验操作了。我这个拓朴是完整的,包括bond也算在内,只是一般测试的话只需要安装一个eth的web-iou和一个eth的fedora 17就可以完全测试。 系统为fedora-17 64位,版本为3.3.4-5.fc17.x86_64 网络拓朴如下: 完整测试环境: 单台测试环境: 1.2需要安装的软件包 软件包版本要求: Gcc : 4.1 or 4.2

How can i format the output of stat expression in Linux Gnome Terminal?

不羁的心 提交于 2020-01-04 17:29:07
问题 I am really newbie in Linux(Fedora-20) and I am trying to learn basics I have the following command echo "`stat -c "The file "%n" was modified on ""%y" *Des*`" This command returns me this output The file Desktop was modified on 2014-11-01 18:23:29.410148517 +0000 I want to format it as this: The file Desktop was modified on 2014-11-01 at 18:23 How can I do this? 回答1: You can't really do that with stat (unless you have a smart version of stat I'm not aware of). With date Very likely, your

Building Openssl source for compiling boost

余生长醉 提交于 2020-01-04 16:56:12
问题 note. I have seen and read Boost::asio::ssl OpenSSL not compiling source file I am having some issues build the boost example ssl server on linux fedora 64 I think its version 15 or 16. It is a university machine so we do not have root access and since is the weekend I am accessing a machine via SSH. We do not have root and openssl is not installed. I built the boost library no program and the example server builds fine. I then tried to build the latest openssl library from source. I

Linux set permission to a folder and all it's sub files or folders [closed]

社会主义新天地 提交于 2020-01-03 18:55:48
问题 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 6 years ago . i am using fedora and a folder i want to set permission public every one read write chmod -R 755 /directory chmod owner group world FileName and other's but can't work how i can give public permission to every one one of my folder and every thing under it to other users thanks 回答1: Following two commands will

“Permission denied” when trying to send verification email

左心房为你撑大大i 提交于 2020-01-03 10:44:39
问题 I'm running a django website on a fedora server (Fedora release 15 (Lovelock)) using Apache and mod_wsgi. recently I tried to add a registration system using the django-registration app (version 0.7), but unfortunately I get a "[Errno 13] Permission denied" when the app is trying to send verification email to a newly registered user. I've configured the setting file of my project to send emails using a gmail account this way: EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL

package installtion issue , rpm spec file , which include yum to install dependence

▼魔方 西西 提交于 2020-01-03 02:25:12
问题 im having this part of spec file , %post %{__mv} %{_sysconfdir}/sysconfig/data.py /opt/data.py %{__mv} %{_sysconfdir}/sysconfig/get-pip.py /opt/get-pip.py yum -y install python-psycopg2 python /opt/get-pip.py pip install setuptools --no-use-wheel --upgrade pip install requests echo -e "*/5 * * * * /usr/bin/python /opt/data.py" >> /var/spool/cron/root %files %{_sysconfdir}/sysconfig/data.py %{_sysconfdir}/sysconfig/get-pip.py %changelog the rpmbuild without error , but when i try to install

Installing xdebug on php 5.6 Amazon Linux AMI

自作多情 提交于 2020-01-02 08:46:31
问题 I created an Elastic Beanstalk Environment ID_LIKE="rhel fedora" VERSION_ID="2016.03" PRETTY_NAME="Amazon Linux AMI 2016.03" ANSI_COLOR="0;33" CPE_NAME="cpe:/o:amazon:linux:2016.03:ga" HOME_URL="http://aws.amazon.com/amazon-linux-ami/" I'm trying to install xdebug using sudo yum install php-pecl-xdebug But I keep get the following error Loaded plugins: priorities, update-motd, upgrade-helper Resolving Dependencies --> Running transaction check ---> Package php-pecl-xdebug.x86_64 0:2.2.3-1.5

How to prompt user for sudo password?

亡梦爱人 提交于 2019-12-31 05:49:06
问题 My question is how do I implement asking for the sudo password once a selection has been made when running this bash script. Example being if the user selects to search in the / directory the script returns with permission denied. I would like to figure out how to have the script prompt for the password and then continue running. #!/bin/bash function press_enter { echo "" echo -n "Press Enter to continue" read clear } selection= where_selection= what_selection= until [ "$selection" = "3" ];

Fedora bash program not working properly

。_饼干妹妹 提交于 2019-12-31 05:35:52
问题 I am trying to just run a simple bash command but i'm not sure what i'm misssing #!/bin/bash $person = Craig Baiey echo $person echo '$person' echo "$person" everytime I run it i get an error line 2: =: command not found $person 回答1: Space is the problem around = . It should be: person="Craig Baiey" You don't assign into variable with $ in name. And quotes are also required there. btw this line won't print the variable's value: echo '$person' As shell won't expand it due to presence of single

Fedora 22 - compile - __atomic_is_lock_free

一曲冷凌霜 提交于 2019-12-31 01:08:27
问题 I am try to compile a software (SuperCollider) on Fedora 22 but I run into a problem: libsupernova.a(server.cpp.o): In function `std::atomic<boost::lockfree::detail::tagged_index>::is_lock_free() const': /usr/include/c++/5.1.1/atomic:212: undefined reference to `__atomic_is_lock_free' collect2: error: ld returned 1 exit status server/supernova/CMakeFiles/supernova.dir/build.make:96: recipe for target 'server/supernova/supernova' failed make[2]: *** [server/supernova/supernova] Error 1