顯示具有 Fedora 標籤的文章。 顯示所有文章
顯示具有 Fedora 標籤的文章。 顯示所有文章

2017年9月22日 星期五

2016年3月15日 星期二

[Fedora 23] Install miniupnp

Install package
yum install -y gcc
yum install -y bison
yum install -y flex
yum install -y libnftnl-devel
yum install -y ncurses-devel
yum install -y iptables-devel
yum install -y openssl-devel

Download Code
Download miniupnpd-1.9.20160222.tar.gz from internet
cd miniupnpd-1.9.20160222

Compile the code
make -f Makefile.linux

Start miniupnpd
miniupnpd -f miniupnpd.conf

Debug mode
miniupnpd -f miniupnpd.conf -d

If still can't compile, please add PKG_CONFIG_PATH as below.
export PKG_CONFIG_PATH=/path/xx.pc

Reference:

makefile debug

 make -nd

-n, --just-print, --dry-run, --recon  
Print the commands that would be executed, but do not execute them.  

-d  Print debugging information in addition to normal processing.  
The debugging information says  
which files are being considered for remaking,  
which file-times are being compared and with what results,  
which files actually need  to  be  remade,  
which implicit  rules are considered and which are applied---  
everything interesting about how make decides what to do.  

--debug[=FLAGS] Print debugging information in addition to normal processing.  
If the FLAGS are omitted, then the behaviour is the same as if -d was specified.  
FLAGS may be:  
'a' for all debugging output same as using -d,  
'b' for basic debugging,  
'v' for more verbose basic debugging,  
'i' for showing implicit rules,  
'j' for details on invocation of commands, and  
'm' for debugging while remaking makefiles.  

2015年12月2日 星期三

[Yocto][Fedora 20] Build issue about sdl-config


Q:
[happy@localhost build]$ bitbake core-image-minimal
WARNING: Host distribution "Fedora-20" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    libsdl-native is set to be ASSUME_PROVIDED but sdl-config can't be found in PATH. Please either install it, or configure qemu not to require sdl.
A:
Search package sdl-config
yum provides sdl-config

[happy@localhost /]$ yum provides sdl-config

Loaded plugins: langpacks, refresh-packagekit
SDL-devel-1.2.15-11.fc20.i686 : Files needed to develop Simple DirectMedia Layer applications
Repo        : fedora
Matched from:
Filename    : /usr/bin/sdl-config

SDL-devel-1.2.15-13.fc20.i686 : Files needed to develop Simple DirectMedia Layer applications
Repo        : updates
Matched from:
Filename    : /usr/bin/sdl-config

SDL-devel-1.2.15-13.fc20.i686 : Files needed to develop Simple DirectMedia Layer applications
Repo        : @updates
Matched from:
Filename    : /usr/bin/sdl-config

Install package
yum install SDL-devel-1.2.15-13.fc20.i686
Solve the problem.

2015年2月24日 星期二

[Reinstall][Fedora] Computer reinstall && quick install the tool script at Fedora

  • yum install python-pip # For Pip is a tool for installing and managing Python packages.
  • yum install astyle # For

  • yum install vim # For
  • yum install openssh-server # For

  • yum install libnfnetlink-devel # For
  • yum install iptables-devel # For
  • Compile Tools
    • yum install gcc # For
    • yum install bison # For
    • yum install flex # For
    • yum install libnftnl-devel # For
    • yum install ncurses-devel # For
  • Vim Tools
    • yum install cscope # For
    • yum install ctags # For
  • Network monitor Tools
    • yum install wireshark # For

2014年7月16日 星期三

[Compile Linux Kernel] Compile Linux kernel 3.15.5 on Fedora 20


 




  1. Install compile package

    sudo yum install gcc perl ncurses-devel


  2. Download Linux kernel source code

    linux-3.15.5.tar.xz


  3. tar linux source code into specific folder

    sudo tar -xvf linux-3.15.5.tar.xz -C /usr/src/


  4. Copy configuration file from /boot to “linux kernel folder”

    cp /boot/config-3.11.6-201.fc19.x86_64 /usr/src/linux-3.15.5


  5. Start to configuration

    sudo make menuconfig


  6. Start to make

    sudo make

    sudo make modules

    sudo make modules_install install



Reference:




  1. Compiling Fedora 16/17/18/19 Kernel


  2. The Linux Kernel Archives


2014年3月31日 星期一

[VSFTP] Install vsftp on Fedora 12


1. Install vsftp rpm package RPM resource vsftpd
rpm -ivh xxxx.rpm

2. edit  chroot_list
vim /etc/vsftpd/chroot_list

put one system user into it.


3. vim /etc/vsftpd/vsftpd.conf
make sure following item is right
userlist_deny=NO


4. Restart vsftpd
service vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]


Reference:

2013年11月13日 星期三

2013年9月26日 星期四

[docsis-0.9.6][fedora 17] Install docsis-0.9.6 on the Fedora 17

1. yum install perl-ExtUtils-MakeMaker

2. Download net-snmp-5.7.2.tar.gz

cd net-snmp-5.7.2

./configure

make

make install

3. Download docsis-0.9.6.tar.bz2

cd docsis-0.9.6/

./configure

vim docsis-0.9.6/src/docsis_lex.c +1723

add
int yywrap(void){return 1;}

Reference :

2013年4月2日 星期二

2012年6月16日 星期六

[Fedora 12][Download] Download point


Download Page





























































[   ]

Fedora-12-i386-CHECKSUM

12-Nov-2009 07:23

1.5K

 

[   ]

Fedora-12-i386-DVD.iso

09-Nov-2009 01:02

3.0G

 

[   ]

Fedora-12-i386-disc1.iso

09-Nov-2009 01:12

691M

 

[   ]

Fedora-12-i386-disc2.iso

09-Nov-2009 01:12

694M

 

[   ]

Fedora-12-i386-disc3.iso

09-Nov-2009 01:13

693M

 

[   ]

Fedora-12-i386-disc4.iso

09-Nov-2009 01:14

689M

 

[   ]

Fedora-12-i386-disc5.iso

09-Nov-2009 01:14

289M

 

[   ]

Fedora-12-i386-netinst.iso

09-Nov-2009 00:58

202M